CommitmentPlansOperations interface
Interface representing a CommitmentPlans operations.
Properties
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| create |
Update the state of specified commitmentPlans associated with the Cognitive Services account. |
| create |
Create or update the association of the Cognitive Services commitment plan. |
| create |
Create Cognitive Services commitment plan. |
| delete | Deletes the specified commitmentPlan associated with the Cognitive Services account. |
| delete |
Deletes the association of the Cognitive Services commitment plan. |
| delete |
Deletes a Cognitive Services commitment plan from the resource group. |
| get | Gets the specified commitmentPlans associated with the Cognitive Services account. |
| get |
Gets the association of the Cognitive Services commitment plan. |
| get |
Returns a Cognitive Services commitment plan specified by the parameters. |
| list | Gets the commitmentPlans associated with the Cognitive Services account. |
| list |
Gets the associations of the Cognitive Services commitment plan. |
| list |
Returns all the resources of a particular type belonging to a resource group |
| list |
Returns all the resources of a particular type belonging to a subscription. |
| update |
Create Cognitive Services commitment plan. |
Property Details
beginCreateOrUpdateAssociation
Warning
This API is now deprecated.
use createOrUpdateAssociation instead
beginCreateOrUpdateAssociation: (resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, association: CommitmentPlanAccountAssociation, options?: CommitmentPlansCreateOrUpdateAssociationOptionalParams) => Promise<SimplePollerLike<OperationState<CommitmentPlanAccountAssociation>, CommitmentPlanAccountAssociation>>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, association: CommitmentPlanAccountAssociation, options?: CommitmentPlansCreateOrUpdateAssociationOptionalParams) => Promise<SimplePollerLike<OperationState<CommitmentPlanAccountAssociation>, CommitmentPlanAccountAssociation>>
beginCreateOrUpdateAssociationAndWait
Warning
This API is now deprecated.
use createOrUpdateAssociation instead
beginCreateOrUpdateAssociationAndWait: (resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, association: CommitmentPlanAccountAssociation, options?: CommitmentPlansCreateOrUpdateAssociationOptionalParams) => Promise<CommitmentPlanAccountAssociation>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, association: CommitmentPlanAccountAssociation, options?: CommitmentPlansCreateOrUpdateAssociationOptionalParams) => Promise<CommitmentPlanAccountAssociation>
beginCreateOrUpdatePlan
Warning
This API is now deprecated.
use createOrUpdatePlan instead
beginCreateOrUpdatePlan: (resourceGroupName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdatePlanOptionalParams) => Promise<SimplePollerLike<OperationState<CommitmentPlan>, CommitmentPlan>>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdatePlanOptionalParams) => Promise<SimplePollerLike<OperationState<CommitmentPlan>, CommitmentPlan>>
beginCreateOrUpdatePlanAndWait
Warning
This API is now deprecated.
use createOrUpdatePlan instead
beginCreateOrUpdatePlanAndWait: (resourceGroupName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdatePlanOptionalParams) => Promise<CommitmentPlan>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdatePlanOptionalParams) => Promise<CommitmentPlan>
beginDelete
Warning
This API is now deprecated.
use delete instead
beginDelete: (resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
Property Value
(resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait
Warning
This API is now deprecated.
use delete instead
beginDeleteAndWait: (resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansDeleteOptionalParams) => Promise<void>
beginDeleteAssociation
Warning
This API is now deprecated.
use deleteAssociation instead
beginDeleteAssociation: (resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansDeleteAssociationOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansDeleteAssociationOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAssociationAndWait
Warning
This API is now deprecated.
use deleteAssociation instead
beginDeleteAssociationAndWait: (resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansDeleteAssociationOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansDeleteAssociationOptionalParams) => Promise<void>
beginDeletePlan
Warning
This API is now deprecated.
use deletePlan instead
beginDeletePlan: (resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansDeletePlanOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
Property Value
(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansDeletePlanOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeletePlanAndWait
Warning
This API is now deprecated.
use deletePlan instead
beginDeletePlanAndWait: (resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansDeletePlanOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansDeletePlanOptionalParams) => Promise<void>
beginUpdatePlan
Warning
This API is now deprecated.
use updatePlan instead
beginUpdatePlan: (resourceGroupName: string, commitmentPlanName: string, commitmentPlan: PatchResourceTagsAndSku, options?: CommitmentPlansUpdatePlanOptionalParams) => Promise<SimplePollerLike<OperationState<CommitmentPlan>, CommitmentPlan>>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: PatchResourceTagsAndSku, options?: CommitmentPlansUpdatePlanOptionalParams) => Promise<SimplePollerLike<OperationState<CommitmentPlan>, CommitmentPlan>>
beginUpdatePlanAndWait
Warning
This API is now deprecated.
use updatePlan instead
beginUpdatePlanAndWait: (resourceGroupName: string, commitmentPlanName: string, commitmentPlan: PatchResourceTagsAndSku, options?: CommitmentPlansUpdatePlanOptionalParams) => Promise<CommitmentPlan>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: PatchResourceTagsAndSku, options?: CommitmentPlansUpdatePlanOptionalParams) => Promise<CommitmentPlan>
createOrUpdate
Update the state of specified commitmentPlans associated with the Cognitive Services account.
createOrUpdate: (resourceGroupName: string, accountName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdateOptionalParams) => Promise<CommitmentPlan>
Property Value
(resourceGroupName: string, accountName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdateOptionalParams) => Promise<CommitmentPlan>
createOrUpdateAssociation
Create or update the association of the Cognitive Services commitment plan.
createOrUpdateAssociation: (resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, association: CommitmentPlanAccountAssociation, options?: CommitmentPlansCreateOrUpdateAssociationOptionalParams) => PollerLike<OperationState<CommitmentPlanAccountAssociation>, CommitmentPlanAccountAssociation>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, association: CommitmentPlanAccountAssociation, options?: CommitmentPlansCreateOrUpdateAssociationOptionalParams) => PollerLike<OperationState<CommitmentPlanAccountAssociation>, CommitmentPlanAccountAssociation>
createOrUpdatePlan
Create Cognitive Services commitment plan.
createOrUpdatePlan: (resourceGroupName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdatePlanOptionalParams) => PollerLike<OperationState<CommitmentPlan>, CommitmentPlan>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdatePlanOptionalParams) => PollerLike<OperationState<CommitmentPlan>, CommitmentPlan>
delete
Deletes the specified commitmentPlan associated with the Cognitive Services account.
delete: (resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansDeleteOptionalParams) => PollerLike<OperationState<void>, void>
deleteAssociation
Deletes the association of the Cognitive Services commitment plan.
deleteAssociation: (resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansDeleteAssociationOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansDeleteAssociationOptionalParams) => PollerLike<OperationState<void>, void>
deletePlan
Deletes a Cognitive Services commitment plan from the resource group.
deletePlan: (resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansDeletePlanOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansDeletePlanOptionalParams) => PollerLike<OperationState<void>, void>
get
Gets the specified commitmentPlans associated with the Cognitive Services account.
get: (resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansGetOptionalParams) => Promise<CommitmentPlan>
Property Value
(resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansGetOptionalParams) => Promise<CommitmentPlan>
getAssociation
Gets the association of the Cognitive Services commitment plan.
getAssociation: (resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansGetAssociationOptionalParams) => Promise<CommitmentPlanAccountAssociation>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansGetAssociationOptionalParams) => Promise<CommitmentPlanAccountAssociation>
getPlan
Returns a Cognitive Services commitment plan specified by the parameters.
getPlan: (resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansGetPlanOptionalParams) => Promise<CommitmentPlan>
Property Value
(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansGetPlanOptionalParams) => Promise<CommitmentPlan>
list
Gets the commitmentPlans associated with the Cognitive Services account.
list: (resourceGroupName: string, accountName: string, options?: CommitmentPlansListOptionalParams) => PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>
Property Value
(resourceGroupName: string, accountName: string, options?: CommitmentPlansListOptionalParams) => PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>
listAssociations
Gets the associations of the Cognitive Services commitment plan.
listAssociations: (resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansListAssociationsOptionalParams) => PagedAsyncIterableIterator<CommitmentPlanAccountAssociation, CommitmentPlanAccountAssociation[], PageSettings>
Property Value
(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansListAssociationsOptionalParams) => PagedAsyncIterableIterator<CommitmentPlanAccountAssociation, CommitmentPlanAccountAssociation[], PageSettings>
listPlansByResourceGroup
Returns all the resources of a particular type belonging to a resource group
listPlansByResourceGroup: (resourceGroupName: string, options?: CommitmentPlansListPlansByResourceGroupOptionalParams) => PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>
Property Value
(resourceGroupName: string, options?: CommitmentPlansListPlansByResourceGroupOptionalParams) => PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>
listPlansBySubscription
Returns all the resources of a particular type belonging to a subscription.
listPlansBySubscription: (options?: CommitmentPlansListPlansBySubscriptionOptionalParams) => PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>
Property Value
(options?: CommitmentPlansListPlansBySubscriptionOptionalParams) => PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>
updatePlan
Create Cognitive Services commitment plan.
updatePlan: (resourceGroupName: string, commitmentPlanName: string, commitmentPlan: PatchResourceTagsAndSku, options?: CommitmentPlansUpdatePlanOptionalParams) => PollerLike<OperationState<CommitmentPlan>, CommitmentPlan>
Property Value
(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: PatchResourceTagsAndSku, options?: CommitmentPlansUpdatePlanOptionalParams) => PollerLike<OperationState<CommitmentPlan>, CommitmentPlan>