UsageHistory class
Class representing a UsageHistory.
Constructors
Usage |
Create a UsageHistory. |
Methods
list(string, string, Service |
|
list(string, string, Usage |
Retrieve the usage history for an Azure ML commitment plan. |
list(string, string, Usage |
|
list |
Retrieve the usage history for an Azure ML commitment plan. |
list |
|
list |
Constructor Details
UsageHistory(AzureMLCommitmentPlansManagementClientContext)
Create a UsageHistory.
new UsageHistory(client: AzureMLCommitmentPlansManagementClientContext)
Parameters
Reference to the service client.
Method Details
list(string, string, ServiceCallback<PlanUsageHistoryListResult>)
function list(resourceGroupName: string, commitmentPlanName: string, callback: ServiceCallback<PlanUsageHistoryListResult>)
Parameters
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- callback
The callback
list(string, string, UsageHistoryListOptionalParams)
Retrieve the usage history for an Azure ML commitment plan.
function list(resourceGroupName: string, commitmentPlanName: string, options?: UsageHistoryListOptionalParams): Promise<UsageHistoryListResponse>
Parameters
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- options
- UsageHistoryListOptionalParams
The optional parameters
Returns
Promise<UsageHistoryListResponse>
Promise<Models.UsageHistoryListResponse>
list(string, string, UsageHistoryListOptionalParams, ServiceCallback<PlanUsageHistoryListResult>)
function list(resourceGroupName: string, commitmentPlanName: string, options: UsageHistoryListOptionalParams, callback: ServiceCallback<PlanUsageHistoryListResult>)
Parameters
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- options
- UsageHistoryListOptionalParams
The optional parameters
- callback
The callback
listNext(string, RequestOptionsBase)
Retrieve the usage history for an Azure ML commitment plan.
function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<UsageHistoryListNextResponse>
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<UsageHistoryListNextResponse>
Promise<Models.UsageHistoryListNextResponse>
listNext(string, RequestOptionsBase, ServiceCallback<PlanUsageHistoryListResult>)
function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<PlanUsageHistoryListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listNext(string, ServiceCallback<PlanUsageHistoryListResult>)
function listNext(nextPageLink: string, callback: ServiceCallback<PlanUsageHistoryListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback