| Description | : Lists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later. |
| Reference | : Link ¶ |
⚼ Request
GET:
/{scope}/providers/Microsoft.Consumption/usageDetails
{
scope:
string
,
$expand:
string
,
$filter:
string
,
$skiptoken:
string
,
$top:
integer
,
api-version:
string
,
metric:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
properties:
}
{
,
billingAccountId:
string
,
billingAccountName:
string
,
billingPeriodStartDate:
string
,
billingPeriodEndDate:
string
,
billingProfileId:
string
,
billingProfileName:
string
,
accountOwnerId:
string
,
accountName:
string
,
subscriptionId:
string
,
subscriptionName:
string
,
date:
string
,
product:
string
,
partNumber:
string
,
meterId:
string
,
meterDetails:
{
,
meterName:
string
,
meterCategory:
string
,
meterSubCategory:
string
,
unitOfMeasure:
string
,
serviceFamily:
string
,
}
quantity:
number
,
effectivePrice:
number
,
cost:
number
,
unitPrice:
number
,
billingCurrency:
string
,
resourceLocation:
string
,
consumedService:
string
,
resourceId:
string
,
resourceName:
string
,
serviceInfo1:
string
,
serviceInfo2:
string
,
additionalInfo:
string
,
invoiceSection:
string
,
costCenter:
string
,
resourceGroup:
string
,
reservationId:
string
,
reservationName:
string
,
productOrderId:
string
,
productOrderName:
string
,
offerId:
string
,
isAzureCreditEligible:
boolean
,
term:
string
,
publisherName:
string
,
publisherType:
string
,
planName:
string
,
chargeType:
string
,
frequency:
string
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
}