CommitmentAssociations class
Class representing a CommitmentAssociations.
Constructors
Commitment |
Create a CommitmentAssociations. |
Methods
Constructor Details
CommitmentAssociations(AzureMLCommitmentPlansManagementClientContext)
Create a CommitmentAssociations.
new CommitmentAssociations(client: AzureMLCommitmentPlansManagementClientContext)
Parameters
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<CommitmentAssociationsGetResponse>
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
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
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.
The optional parameters
Returns
Promise<CommitmentAssociationsListResponse>
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.
The optional parameters
The callback
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.
The callback
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
The callback
listNext(string, ServiceCallback<CommitmentAssociationListResult>)
function listNext(nextPageLink: string, callback: ServiceCallback<CommitmentAssociationListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
The callback
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<CommitmentAssociationsMoveResponse>
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
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
The callback