SubscriptionUsages interface

Interface representing a SubscriptionUsages.

Methods

get(string, string, SubscriptionUsagesGetOptionalParams)

Gets a subscription usage metric.

listByLocation(string, SubscriptionUsagesListByLocationOptionalParams)

Gets all subscription usage metrics in a given location.

Method Details

get(string, string, SubscriptionUsagesGetOptionalParams)

Gets a subscription usage metric.

function get(locationName: string, usageName: string, options?: SubscriptionUsagesGetOptionalParams): Promise<SubscriptionUsage>

Parameters

locationName

string

The name of the region where the resource is located.

usageName

string

Name of usage metric to return.

options
SubscriptionUsagesGetOptionalParams

The options parameters.

Returns

listByLocation(string, SubscriptionUsagesListByLocationOptionalParams)

Gets all subscription usage metrics in a given location.

function listByLocation(locationName: string, options?: SubscriptionUsagesListByLocationOptionalParams): PagedAsyncIterableIterator<SubscriptionUsage, SubscriptionUsage[], PageSettings>

Parameters

locationName

string

The name of the region where the resource is located.

options
SubscriptionUsagesListByLocationOptionalParams

The options parameters.

Returns