Usages class

Class representing a Usages.

Constructors

Usages(BatchAIManagementClientContext)

Create a Usages.

Methods

list(string, RequestOptionsBase)

Gets the current usage information as well as limits for Batch AI resources for given subscription.

list(string, RequestOptionsBase, ServiceCallback<ListUsagesResult>)
list(string, ServiceCallback<ListUsagesResult>)
listNext(string, RequestOptionsBase)

Gets the current usage information as well as limits for Batch AI resources for given subscription.

listNext(string, RequestOptionsBase, ServiceCallback<ListUsagesResult>)
listNext(string, ServiceCallback<ListUsagesResult>)

Constructor Details

Usages(BatchAIManagementClientContext)

Create a Usages.

new Usages(client: BatchAIManagementClientContext)

Parameters

client
BatchAIManagementClientContext

Reference to the service client.

Method Details

list(string, RequestOptionsBase)

Gets the current usage information as well as limits for Batch AI resources for given subscription.

function list(location: string, options?: RequestOptionsBase): Promise<UsagesListResponse>

Parameters

location

string

The location for which resource usage is queried.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.UsagesListResponse>

list(string, RequestOptionsBase, ServiceCallback<ListUsagesResult>)

function list(location: string, options: RequestOptionsBase, callback: ServiceCallback<ListUsagesResult>)

Parameters

location

string

The location for which resource usage is queried.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ListUsagesResult>

The callback

list(string, ServiceCallback<ListUsagesResult>)

function list(location: string, callback: ServiceCallback<ListUsagesResult>)

Parameters

location

string

The location for which resource usage is queried.

callback

ServiceCallback<ListUsagesResult>

The callback

listNext(string, RequestOptionsBase)

Gets the current usage information as well as limits for Batch AI resources for given subscription.

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<UsagesListNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.UsagesListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<ListUsagesResult>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ListUsagesResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ListUsagesResult>

The callback

listNext(string, ServiceCallback<ListUsagesResult>)

function listNext(nextPageLink: string, callback: ServiceCallback<ListUsagesResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<ListUsagesResult>

The callback