Usages class
Class representing a Usages.
Constructors
Usages(Batch |
Create a Usages. |
Methods
list(string, Request |
Gets the current usage information as well as limits for Batch AI resources for given subscription. |
list(string, Request |
|
list(string, Service |
|
list |
Gets the current usage information as well as limits for Batch AI resources for given subscription. |
list |
|
list |
Constructor Details
Usages(BatchAIManagementClientContext)
Create a Usages.
new Usages(client: BatchAIManagementClientContext)
Parameters
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<UsagesListResponse>
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
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
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<UsagesListNextResponse>
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
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
The callback