RateCard class

Class representing a RateCard.

Constructors

RateCard(UsageManagementClientContext)

Create a RateCard.

Methods

get(string, RequestOptionsBase)

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.

get(string, RequestOptionsBase, ServiceCallback<ResourceRateCardInfo>)
get(string, ServiceCallback<ResourceRateCardInfo>)

Constructor Details

RateCard(UsageManagementClientContext)

Create a RateCard.

new RateCard(client: UsageManagementClientContext)

Parameters

client
UsageManagementClientContext

Reference to the service client.

Method Details

get(string, RequestOptionsBase)

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.

function get(filter: string, options?: RequestOptionsBase): Promise<RateCardGetResponse>

Parameters

filter

string

The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale', 'Region' are required to be a part of the $filter.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.RateCardGetResponse>

get(string, RequestOptionsBase, ServiceCallback<ResourceRateCardInfo>)

function get(filter: string, options: RequestOptionsBase, callback: ServiceCallback<ResourceRateCardInfo>)

Parameters

filter

string

The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale', 'Region' are required to be a part of the $filter.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ResourceRateCardInfo>

The callback

get(string, ServiceCallback<ResourceRateCardInfo>)

function get(filter: string, callback: ServiceCallback<ResourceRateCardInfo>)

Parameters

filter

string

The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale', 'Region' are required to be a part of the $filter.

callback

ServiceCallback<ResourceRateCardInfo>

The callback