CommitmentPlansClient Interface
public interface CommitmentPlansClient
An instance of this class provides access to all the operations defined in CommitmentPlansClient.
Method Summary
Method Details
beginCreateOrUpdateAssociation
public abstract SyncPoller<PollResult<CommitmentPlanAccountAssociationInner>,CommitmentPlanAccountAssociationInner> beginCreateOrUpdateAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, CommitmentPlanAccountAssociationInner association)
Create or update the association of the Cognitive Services commitment plan.
Parameters:
Returns:
beginCreateOrUpdateAssociation
public abstract SyncPoller<PollResult<CommitmentPlanAccountAssociationInner>,CommitmentPlanAccountAssociationInner> beginCreateOrUpdateAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, CommitmentPlanAccountAssociationInner association, Context context)
Create or update the association of the Cognitive Services commitment plan.
Parameters:
Returns:
beginCreateOrUpdatePlan
public abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginCreateOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan)
Create Cognitive Services commitment plan.
Parameters:
Returns:
beginCreateOrUpdatePlan
public abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginCreateOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan, Context context)
Create Cognitive Services commitment plan.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String commitmentPlanName)
Deletes the specified commitmentPlan associated with the Cognitive Services account.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String commitmentPlanName, Context context)
Deletes the specified commitmentPlan associated with the Cognitive Services account.
Parameters:
Returns:
beginDeleteAssociation
public abstract SyncPoller<PollResult<Void>,Void> beginDeleteAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName)
Deletes the association of the Cognitive Services commitment plan.
Parameters:
Returns:
beginDeleteAssociation
public abstract SyncPoller<PollResult<Void>,Void> beginDeleteAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, Context context)
Deletes the association of the Cognitive Services commitment plan.
Parameters:
Returns:
beginDeletePlan
public abstract SyncPoller<PollResult<Void>,Void> beginDeletePlan(String resourceGroupName, String commitmentPlanName)
Deletes a Cognitive Services commitment plan from the resource group.
Parameters:
Returns:
beginDeletePlan
public abstract SyncPoller<PollResult<Void>,Void> beginDeletePlan(String resourceGroupName, String commitmentPlanName, Context context)
Deletes a Cognitive Services commitment plan from the resource group.
Parameters:
Returns:
beginUpdatePlan
public abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginUpdatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan)
Create Cognitive Services commitment plan.
Parameters:
Returns:
beginUpdatePlan
public abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginUpdatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan, Context context)
Create Cognitive Services commitment plan.
Parameters:
Returns:
createOrUpdate
public abstract CommitmentPlanInner createOrUpdate(String resourceGroupName, String accountName, String commitmentPlanName, CommitmentPlanInner commitmentPlan)
Update the state of specified commitmentPlans associated with the Cognitive Services account.
Parameters:
Returns:
createOrUpdateAssociation
public abstract CommitmentPlanAccountAssociationInner createOrUpdateAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, CommitmentPlanAccountAssociationInner association)
Create or update the association of the Cognitive Services commitment plan.
Parameters:
Returns:
createOrUpdateAssociation
public abstract CommitmentPlanAccountAssociationInner createOrUpdateAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, CommitmentPlanAccountAssociationInner association, Context context)
Create or update the association of the Cognitive Services commitment plan.
Parameters:
Returns:
createOrUpdatePlan
public abstract CommitmentPlanInner createOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan)
Create Cognitive Services commitment plan.
Parameters:
Returns:
createOrUpdatePlan
public abstract CommitmentPlanInner createOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan, Context context)
Create Cognitive Services commitment plan.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<CommitmentPlanInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String commitmentPlanName, CommitmentPlanInner commitmentPlan, Context context)
Update the state of specified commitmentPlans associated with the Cognitive Services account.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String accountName, String commitmentPlanName)
Deletes the specified commitmentPlan associated with the Cognitive Services account.
Parameters:
delete
public abstract void delete(String resourceGroupName, String accountName, String commitmentPlanName, Context context)
Deletes the specified commitmentPlan associated with the Cognitive Services account.
Parameters:
deleteAssociation
public abstract void deleteAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName)
Deletes the association of the Cognitive Services commitment plan.
Parameters:
deleteAssociation
public abstract void deleteAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, Context context)
Deletes the association of the Cognitive Services commitment plan.
Parameters:
deletePlan
public abstract void deletePlan(String resourceGroupName, String commitmentPlanName)
Deletes a Cognitive Services commitment plan from the resource group.
Parameters:
deletePlan
public abstract void deletePlan(String resourceGroupName, String commitmentPlanName, Context context)
Deletes a Cognitive Services commitment plan from the resource group.
Parameters:
get
public abstract CommitmentPlanInner get(String resourceGroupName, String accountName, String commitmentPlanName)
Gets the specified commitmentPlans associated with the Cognitive Services account.
Parameters:
Returns:
getAssociation
public abstract CommitmentPlanAccountAssociationInner getAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName)
Gets the association of the Cognitive Services commitment plan.
Parameters:
Returns:
getAssociationWithResponse
public abstract Response<CommitmentPlanAccountAssociationInner> getAssociationWithResponse(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, Context context)
Gets the association of the Cognitive Services commitment plan.
Parameters:
Returns:
getByResourceGroup
public abstract CommitmentPlanInner getByResourceGroup(String resourceGroupName, String commitmentPlanName)
Returns a Cognitive Services commitment plan specified by the parameters.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<CommitmentPlanInner> getByResourceGroupWithResponse(String resourceGroupName, String commitmentPlanName, Context context)
Returns a Cognitive Services commitment plan specified by the parameters.
Parameters:
Returns:
getWithResponse
public abstract Response<CommitmentPlanInner> getWithResponse(String resourceGroupName, String accountName, String commitmentPlanName, Context context)
Gets the specified commitmentPlans associated with the Cognitive Services account.
Parameters:
Returns:
list
public abstract PagedIterable<CommitmentPlanInner> list(String resourceGroupName, String accountName)
Gets the commitmentPlans associated with the Cognitive Services account.
Parameters:
Returns:
list
public abstract PagedIterable<CommitmentPlanInner> list(String resourceGroupName, String accountName, Context context)
Gets the commitmentPlans associated with the Cognitive Services account.
Parameters:
Returns:
listAssociations
public abstract PagedIterable<CommitmentPlanAccountAssociationInner> listAssociations(String resourceGroupName, String commitmentPlanName)
Gets the associations of the Cognitive Services commitment plan.
Parameters:
Returns:
listAssociations
public abstract PagedIterable<CommitmentPlanAccountAssociationInner> listAssociations(String resourceGroupName, String commitmentPlanName, Context context)
Gets the associations of the Cognitive Services commitment plan.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<CommitmentPlanInner> listByResourceGroup(String resourceGroupName)
Returns all the resources of a particular type belonging to a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<CommitmentPlanInner> listByResourceGroup(String resourceGroupName, Context context)
Returns all the resources of a particular type belonging to a resource group.
Parameters:
Returns:
listPlansBySubscription
public abstract PagedIterable<CommitmentPlanInner> listPlansBySubscription()
Returns all the resources of a particular type belonging to a subscription.
Returns:
listPlansBySubscription
public abstract PagedIterable<CommitmentPlanInner> listPlansBySubscription(Context context)
Returns all the resources of a particular type belonging to a subscription.
Parameters:
Returns:
updatePlan
public abstract CommitmentPlanInner updatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan)
Create Cognitive Services commitment plan.
Parameters:
Returns:
updatePlan
public abstract CommitmentPlanInner updatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan, Context context)
Create Cognitive Services commitment plan.
Parameters:
Returns: