| Description | : Lists the usage details for a scope by current billing period. Usage details are available via this API only for May 1, 2014 or later. |
| Reference | : Link ¶ |
⚼ Request
GET:
/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/usageDetails
{
subscriptionId:
string
,
$expand:
string
,
$filter:
string
,
$skiptoken:
string
,
$top:
integer
,
$apply:
string
,
api-version:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
properties:
}
{
,
billingPeriodId:
string
,
invoiceId:
string
,
usageStart:
string
,
usageEnd:
string
,
instanceName:
string
,
instanceId:
string
,
instanceLocation:
string
,
currency:
string
,
usageQuantity:
number
,
billableQuantity:
number
,
pretaxCost:
number
,
isEstimated:
boolean
,
meterId:
string
,
meterDetails:
{
,
meterName:
string
,
meterCategory:
string
,
meterSubCategory:
string
,
unit:
string
,
meterLocation:
string
,
totalIncludedQuantity:
number
,
pretaxStandardRate:
number
,
serviceName:
string
,
serviceTier:
string
,
}
subscriptionGuid:
string
,
subscriptionName:
string
,
accountName:
string
,
departmentName:
string
,
product:
string
,
consumedService:
string
,
costCenter:
string
,
partNumber:
string
,
resourceGuid:
string
,
offerId:
string
,
chargesBilledSeparately:
boolean
,
location:
string
,
additionalProperties:
string
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
}