CommitmentAssociations class

Class representing a CommitmentAssociations.

Constructors

CommitmentAssociations(AzureMLCommitmentPlansManagementClientContext)

Create a CommitmentAssociations.

Methods

get(string, string, string, RequestOptionsBase)

Get a commitment association.

get(string, string, string, RequestOptionsBase, ServiceCallback<CommitmentAssociation>)
get(string, string, string, ServiceCallback<CommitmentAssociation>)
list(string, string, CommitmentAssociationsListOptionalParams)

Get all commitment associations for a parent commitment plan.

list(string, string, CommitmentAssociationsListOptionalParams, ServiceCallback<CommitmentAssociationListResult>)
list(string, string, ServiceCallback<CommitmentAssociationListResult>)
listNext(string, RequestOptionsBase)

Get all commitment associations for a parent commitment plan.

listNext(string, RequestOptionsBase, ServiceCallback<CommitmentAssociationListResult>)
listNext(string, ServiceCallback<CommitmentAssociationListResult>)
move(string, string, string, MoveCommitmentAssociationRequest, RequestOptionsBase)

Re-parent a commitment association from one commitment plan to another.

move(string, string, string, MoveCommitmentAssociationRequest, RequestOptionsBase, ServiceCallback<CommitmentAssociation>)
move(string, string, string, MoveCommitmentAssociationRequest, ServiceCallback<CommitmentAssociation>)

Constructor Details

CommitmentAssociations(AzureMLCommitmentPlansManagementClientContext)

Create a CommitmentAssociations.

new CommitmentAssociations(client: AzureMLCommitmentPlansManagementClientContext)

Parameters

client
AzureMLCommitmentPlansManagementClientContext

Reference to the service client.

Method Details

get(string, string, string, RequestOptionsBase)

Get a commitment association.

function get(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, options?: RequestOptionsBase): Promise<CommitmentAssociationsGetResponse>

Parameters

resourceGroupName

string

The resource group name.

commitmentPlanName

string

The Azure ML commitment plan name.

commitmentAssociationName

string

The commitment association name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CommitmentAssociationsGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<CommitmentAssociation>)

function get(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, options: RequestOptionsBase, callback: ServiceCallback<CommitmentAssociation>)

Parameters

resourceGroupName

string

The resource group name.

commitmentPlanName

string

The Azure ML commitment plan name.

commitmentAssociationName

string

The commitment association name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<CommitmentAssociation>

The callback

get(string, string, string, ServiceCallback<CommitmentAssociation>)

function get(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, callback: ServiceCallback<CommitmentAssociation>)

Parameters

resourceGroupName

string

The resource group name.

commitmentPlanName

string

The Azure ML commitment plan name.

commitmentAssociationName

string

The commitment association name.

callback

ServiceCallback<CommitmentAssociation>

The callback

list(string, string, CommitmentAssociationsListOptionalParams)

Get all commitment associations for a parent commitment plan.

function list(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentAssociationsListOptionalParams): Promise<CommitmentAssociationsListResponse>

Parameters

resourceGroupName

string

The resource group name.

commitmentPlanName

string

The Azure ML commitment plan name.

options
CommitmentAssociationsListOptionalParams

The optional parameters

Returns

Promise<Models.CommitmentAssociationsListResponse>

list(string, string, CommitmentAssociationsListOptionalParams, ServiceCallback<CommitmentAssociationListResult>)

function list(resourceGroupName: string, commitmentPlanName: string, options: CommitmentAssociationsListOptionalParams, callback: ServiceCallback<CommitmentAssociationListResult>)

Parameters

resourceGroupName

string

The resource group name.

commitmentPlanName

string

The Azure ML commitment plan name.

options
CommitmentAssociationsListOptionalParams

The optional parameters

list(string, string, ServiceCallback<CommitmentAssociationListResult>)

function list(resourceGroupName: string, commitmentPlanName: string, callback: ServiceCallback<CommitmentAssociationListResult>)

Parameters

resourceGroupName

string

The resource group name.

commitmentPlanName

string

The Azure ML commitment plan name.

listNext(string, RequestOptionsBase)

Get all commitment associations for a parent commitment plan.

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CommitmentAssociationsListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<CommitmentAssociationListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listNext(string, ServiceCallback<CommitmentAssociationListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

move(string, string, string, MoveCommitmentAssociationRequest, RequestOptionsBase)

Re-parent a commitment association from one commitment plan to another.

function move(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, movePayload: MoveCommitmentAssociationRequest, options?: RequestOptionsBase): Promise<CommitmentAssociationsMoveResponse>

Parameters

resourceGroupName

string

The resource group name.

commitmentPlanName

string

The Azure ML commitment plan name.

commitmentAssociationName

string

The commitment association name.

movePayload
MoveCommitmentAssociationRequest

The move request payload.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CommitmentAssociationsMoveResponse>

move(string, string, string, MoveCommitmentAssociationRequest, RequestOptionsBase, ServiceCallback<CommitmentAssociation>)

function move(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, movePayload: MoveCommitmentAssociationRequest, options: RequestOptionsBase, callback: ServiceCallback<CommitmentAssociation>)

Parameters

resourceGroupName

string

The resource group name.

commitmentPlanName

string

The Azure ML commitment plan name.

commitmentAssociationName

string

The commitment association name.

movePayload
MoveCommitmentAssociationRequest

The move request payload.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<CommitmentAssociation>

The callback

move(string, string, string, MoveCommitmentAssociationRequest, ServiceCallback<CommitmentAssociation>)

function move(resourceGroupName: string, commitmentPlanName: string, commitmentAssociationName: string, movePayload: MoveCommitmentAssociationRequest, callback: ServiceCallback<CommitmentAssociation>)

Parameters

resourceGroupName

string

The resource group name.

commitmentPlanName

string

The Azure ML commitment plan name.

commitmentAssociationName

string

The commitment association name.

movePayload
MoveCommitmentAssociationRequest

The move request payload.

callback

ServiceCallback<CommitmentAssociation>

The callback