Microsoft.Consumption (preview:2017-04-24)

2025/10/30 • 2 new, 2 deleted methods

UsageDetails_List (new)
Description Lists the usage details for a scope in reverse chronological order by billing period. Usage details are available via this API only for January 1, 2017 or later.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Consumption/usageDetails
{
scope: string ,
$expand: string ,
$filter: string ,
$skiptoken: string ,
$top: integer ,
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 ,
}
,
additionalProperties: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Operations_List (new)
Description Lists all of the available consumption REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Consumption/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
UsageDetails_List (removed)
Description Lists the usage details for a scope in reverse chronological order by billing period. Usage details are available via this API only for January 1, 2017 or later.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Consumption/usageDetails
{
scope: string ,
$expand: string ,
$filter: string ,
$skiptoken: string ,
$top: integer ,
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 ,
}
,
additionalProperties: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Operations_List (removed)
Description Lists all of the available consumption REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Consumption/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}