Description | : Query aggregated Azure subscription consumption data for a date range. |
Reference | : Link ¶ |
⚼ Request
GET:
/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/UsageAggregates
{
reportedStartTime:
string
,
reportedEndTime:
string
,
showDetails:
boolean
,
aggregationGranularity:
string
,
continuationToken:
string
,
api-version:
string
,
subscriptionId:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
id:
string
,
name:
string
,
type:
string
,
properties:
}
{
,
subscriptionId:
string
,
meterId:
string
,
usageStartTime:
string
,
usageEndTime:
string
,
quantity:
number
,
unit:
string
,
meterName:
string
,
meterCategory:
string
,
meterSubCategory:
string
,
meterRegion:
string
,
infoFields:
string
,
instanceData:
string
,
}
nextLink:
string
,
}
⚐ Response (202)
{
error:
}
{
,
code:
string
,
message:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
}