Skip to main content

rate_cards

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

Overview

Namerate_cards
TypeResource
Idazure_extras.commerce.rate_cards

Fields

NameDatatypeDescription
CurrencystringThe currency in which the rates are provided.
IsTaxIncludedbooleanAll rates are pretax, so this will always be returned as 'false'.
LocalestringThe culture in which the resource information is localized.
MetersarrayA list of meters.
OfferTermsarrayA list of offer terms.

Methods

NameAccessible byRequired ParamsDescription
getSELECT$filter, subscriptionIdEnables you to query for the resource/meter metadata and related prices used in a given subscription by Offer ID, Currency, Locale and Region. The metadata associated with the billing meters, including but not limited to service names, types, resources, units of measure, and regions, is subject to change at any time and without notice. If you intend to use this billing data in an automated fashion, please use the billing meter GUID to uniquely identify each billable item. If the billing meter GUID is scheduled to change due to a new billing model, you will be notified in advance of the change.

SELECT examples

Enables you to query for the resource/meter metadata and related prices used in a given subscription by Offer ID, Currency, Locale and Region. The metadata associated with the billing meters, including but not limited to service names, types, resources, units of measure, and regions, is subject to change at any time and without notice. If you intend to use this billing data in an automated fashion, please use the billing meter GUID to uniquely identify each billable item. If the billing meter GUID is scheduled to change due to a new billing model, you will be notified in advance of the change.

SELECT
Currency,
IsTaxIncluded,
Locale,
Meters,
OfferTerms
FROM azure_extras.commerce.rate_cards
WHERE $filter = '{{ $filter }}'
AND subscriptionId = '{{ subscriptionId }}';