Skip to main content

aggregated_costs

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

Overview

Nameaggregated_costs
TypeResource
Idazure.consumption.aggregated_costs

Fields

NameDatatypeDescription
idtextThe full qualified ARM ID of an event.
nametextThe ID that uniquely identifies an event.
azure_chargestextfield from the properties object
billing_period_idtextfield from the properties object
charges_billed_separatelytextfield from the properties object
childrentextfield from the properties object
currencytextfield from the properties object
etagtextThe etag for the resource.
excluded_subscriptionstextfield from the properties object
included_subscriptionstextfield from the properties object
managementGroupIdtextfield from the properties object
marketplace_chargestextfield from the properties object
tagstextResource tags.
typetextResource type.
usage_endtextfield from the properties object
usage_starttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
get_by_management_groupSELECTmanagementGroupIdProvides the aggregate cost of a management group and all child management groups by current billing period.

SELECT examples

Provides the aggregate cost of a management group and all child management groups by current billing period.

SELECT
id,
name,
azure_charges,
billing_period_id,
charges_billed_separately,
children,
currency,
etag,
excluded_subscriptions,
included_subscriptions,
managementGroupId,
marketplace_charges,
tags,
type,
usage_end,
usage_start
FROM azure.consumption.vw_aggregated_costs
WHERE managementGroupId = '{{ managementGroupId }}';