UsageHistory class

Class representing a UsageHistory.

Constructors

UsageHistory(AzureMLCommitmentPlansManagementClientContext)

Create a UsageHistory.

Methods

list(string, string, ServiceCallback<PlanUsageHistoryListResult>)
list(string, string, UsageHistoryListOptionalParams)

Retrieve the usage history for an Azure ML commitment plan.

list(string, string, UsageHistoryListOptionalParams, ServiceCallback<PlanUsageHistoryListResult>)
listNext(string, RequestOptionsBase)

Retrieve the usage history for an Azure ML commitment plan.

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

Constructor Details

UsageHistory(AzureMLCommitmentPlansManagementClientContext)

Create a UsageHistory.

new UsageHistory(client: AzureMLCommitmentPlansManagementClientContext)

Parameters

client
AzureMLCommitmentPlansManagementClientContext

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.

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<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

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<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

listNext(string, ServiceCallback<PlanUsageHistoryListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.