CommitmentPlans class
Class representing a CommitmentPlans.
Constructors
Commitment |
Create a CommitmentPlans. |
Methods
Constructor Details
CommitmentPlans(AzureMLCommitmentPlansManagementClientContext)
Create a CommitmentPlans.
new CommitmentPlans(client: AzureMLCommitmentPlansManagementClientContext)
Parameters
Reference to the service client.
Method Details
createOrUpdate(CommitmentPlan, string, string, RequestOptionsBase)
Create a new Azure ML commitment plan resource or updates an existing one.
function createOrUpdate(createOrUpdatePayload: CommitmentPlan, resourceGroupName: string, commitmentPlanName: string, options?: RequestOptionsBase): Promise<CommitmentPlansCreateOrUpdateResponse>
Parameters
- createOrUpdatePayload
- CommitmentPlan
The payload to create or update the Azure ML commitment plan.
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.CommitmentPlansCreateOrUpdateResponse>
createOrUpdate(CommitmentPlan, string, string, RequestOptionsBase, ServiceCallback<CommitmentPlan>)
function createOrUpdate(createOrUpdatePayload: CommitmentPlan, resourceGroupName: string, commitmentPlanName: string, options: RequestOptionsBase, callback: ServiceCallback<CommitmentPlan>)
Parameters
- createOrUpdatePayload
- CommitmentPlan
The payload to create or update the Azure ML commitment plan.
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
createOrUpdate(CommitmentPlan, string, string, ServiceCallback<CommitmentPlan>)
function createOrUpdate(createOrUpdatePayload: CommitmentPlan, resourceGroupName: string, commitmentPlanName: string, callback: ServiceCallback<CommitmentPlan>)
Parameters
- createOrUpdatePayload
- CommitmentPlan
The payload to create or update the Azure ML commitment plan.
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- callback
The callback
get(string, string, RequestOptionsBase)
Retrieve an Azure ML commitment plan by its subscription, resource group and name.
function get(resourceGroupName: string, commitmentPlanName: string, options?: RequestOptionsBase): Promise<CommitmentPlansGetResponse>
Parameters
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<CommitmentPlansGetResponse>
Promise<Models.CommitmentPlansGetResponse>
get(string, string, RequestOptionsBase, ServiceCallback<CommitmentPlan>)
function get(resourceGroupName: string, commitmentPlanName: string, options: RequestOptionsBase, callback: ServiceCallback<CommitmentPlan>)
Parameters
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, string, ServiceCallback<CommitmentPlan>)
function get(resourceGroupName: string, commitmentPlanName: string, callback: ServiceCallback<CommitmentPlan>)
Parameters
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- callback
The callback
list(CommitmentPlansListOptionalParams)
Retrieve all Azure ML commitment plans in a subscription.
function list(options?: CommitmentPlansListOptionalParams): Promise<CommitmentPlansListResponse>
Parameters
The optional parameters
Returns
Promise<CommitmentPlansListResponse>
Promise<Models.CommitmentPlansListResponse>
list(CommitmentPlansListOptionalParams, ServiceCallback<CommitmentPlanListResult>)
function list(options: CommitmentPlansListOptionalParams, callback: ServiceCallback<CommitmentPlanListResult>)
Parameters
The optional parameters
- callback
The callback
list(ServiceCallback<CommitmentPlanListResult>)
function list(callback: ServiceCallback<CommitmentPlanListResult>)
Parameters
- callback
The callback
listInResourceGroup(string, CommitmentPlansListInResourceGroupOptionalParams)
Retrieve all Azure ML commitment plans in a resource group.
function listInResourceGroup(resourceGroupName: string, options?: CommitmentPlansListInResourceGroupOptionalParams): Promise<CommitmentPlansListInResourceGroupResponse>
Parameters
- resourceGroupName
-
string
The resource group name.
The optional parameters
Returns
Promise<Models.CommitmentPlansListInResourceGroupResponse>
listInResourceGroup(string, CommitmentPlansListInResourceGroupOptionalParams, ServiceCallback<CommitmentPlanListResult>)
function listInResourceGroup(resourceGroupName: string, options: CommitmentPlansListInResourceGroupOptionalParams, callback: ServiceCallback<CommitmentPlanListResult>)
Parameters
- resourceGroupName
-
string
The resource group name.
The optional parameters
- callback
The callback
listInResourceGroup(string, ServiceCallback<CommitmentPlanListResult>)
function listInResourceGroup(resourceGroupName: string, callback: ServiceCallback<CommitmentPlanListResult>)
Parameters
- resourceGroupName
-
string
The resource group name.
- callback
The callback
listInResourceGroupNext(string, RequestOptionsBase)
Retrieve all Azure ML commitment plans in a resource group.
function listInResourceGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<CommitmentPlansListInResourceGroupNextResponse>
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.CommitmentPlansListInResourceGroupNextResponse>
listInResourceGroupNext(string, RequestOptionsBase, ServiceCallback<CommitmentPlanListResult>)
function listInResourceGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<CommitmentPlanListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listInResourceGroupNext(string, ServiceCallback<CommitmentPlanListResult>)
function listInResourceGroupNext(nextPageLink: string, callback: ServiceCallback<CommitmentPlanListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback
listNext(string, RequestOptionsBase)
Retrieve all Azure ML commitment plans in a subscription.
function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<CommitmentPlansListNextResponse>
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<CommitmentPlansListNextResponse>
Promise<Models.CommitmentPlansListNextResponse>
listNext(string, RequestOptionsBase, ServiceCallback<CommitmentPlanListResult>)
function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<CommitmentPlanListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listNext(string, ServiceCallback<CommitmentPlanListResult>)
function listNext(nextPageLink: string, callback: ServiceCallback<CommitmentPlanListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback
patch(CommitmentPlanPatchPayload, string, string, RequestOptionsBase)
Patch an existing Azure ML commitment plan resource.
function patch(patchPayload: CommitmentPlanPatchPayload, resourceGroupName: string, commitmentPlanName: string, options?: RequestOptionsBase): Promise<CommitmentPlansPatchResponse>
Parameters
- patchPayload
- CommitmentPlanPatchPayload
The payload to use to patch the Azure ML commitment plan. Only tags and SKU may be modified on an existing commitment plan.
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<CommitmentPlansPatchResponse>
Promise<Models.CommitmentPlansPatchResponse>
patch(CommitmentPlanPatchPayload, string, string, RequestOptionsBase, ServiceCallback<CommitmentPlan>)
function patch(patchPayload: CommitmentPlanPatchPayload, resourceGroupName: string, commitmentPlanName: string, options: RequestOptionsBase, callback: ServiceCallback<CommitmentPlan>)
Parameters
- patchPayload
- CommitmentPlanPatchPayload
The payload to use to patch the Azure ML commitment plan. Only tags and SKU may be modified on an existing commitment plan.
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
patch(CommitmentPlanPatchPayload, string, string, ServiceCallback<CommitmentPlan>)
function patch(patchPayload: CommitmentPlanPatchPayload, resourceGroupName: string, commitmentPlanName: string, callback: ServiceCallback<CommitmentPlan>)
Parameters
- patchPayload
- CommitmentPlanPatchPayload
The payload to use to patch the Azure ML commitment plan. Only tags and SKU may be modified on an existing commitment plan.
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- callback
The callback
remove(string, string, RequestOptionsBase)
Remove an existing Azure ML commitment plan.
function remove(resourceGroupName: string, commitmentPlanName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
remove(string, string, RequestOptionsBase, ServiceCallback<void>)
function remove(resourceGroupName: string, commitmentPlanName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
remove(string, string, ServiceCallback<void>)
function remove(resourceGroupName: string, commitmentPlanName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
The resource group name.
- commitmentPlanName
-
string
The Azure ML commitment plan name.
- callback
-
ServiceCallback<void>
The callback