SubscriptionUsages interface
Interface representing a SubscriptionUsages.
Methods
get(string, string, Subscription |
Gets a subscription usage metric. |
list |
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.
The options parameters.
Returns
Promise<SubscriptionUsage>
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.
The options parameters.