Skip to main content

benefit_utilization_summaries

Creates, updates, deletes, gets or lists a benefit_utilization_summaries resource.

Overview

Namebenefit_utilization_summaries
TypeResource
Idazure.cost_management.benefit_utilization_summaries

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
kindstringSupported values: 'SavingsPlan'.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_billing_profile_idselectbillingAccountId, billingProfileIdgrainParameter, filterLists savings plan utilization summaries for billing profile. Supported at grain values: 'Daily' and 'Monthly'.
list_by_savings_plan_idselectsavingsPlanOrderId, savingsPlanId$filter, grainParameterLists the savings plan utilization summaries for daily or monthly grain.
list_by_billing_account_idselectbillingAccountIdgrainParameter, filterLists savings plan utilization summaries for the enterprise agreement scope. Supported at grain values: 'Daily' and 'Monthly'.
list_by_savings_plan_orderselectsavingsPlanOrderId$filter, grainParameterLists the savings plan utilization summaries for daily or monthly grain.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
billingAccountIdstringBillingAccount ID
billingProfileIdstringBilling profile ID.
savingsPlanIdstringSavings plan ID.
savingsPlanOrderIdstringSavings plan order ID.
$filterstringSupports filtering by properties/usageDate.
filterstringSupports filtering by properties/benefitId, properties/benefitOrderId and properties/usageDate.
grainParameterstringGrain.

SELECT examples

Lists savings plan utilization summaries for billing profile. Supported at grain values: 'Daily' and 'Monthly'.

SELECT
id,
name,
kind,
systemData,
type
FROM azure.cost_management.benefit_utilization_summaries
WHERE billingAccountId = '{{ billingAccountId }}' -- required
AND billingProfileId = '{{ billingProfileId }}' -- required
AND grainParameter = '{{ grainParameter }}'
AND filter = '{{ filter }}'
;