Share via


CommitmentPlansClient Interface

public interface CommitmentPlansClient

An instance of this class provides access to all the operations defined in CommitmentPlansClient.

Method Summary

Modifier and Type Method and Description
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.

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.

abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginCreateOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan)

Create Cognitive Services commitment plan.

abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginCreateOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan, Context context)

Create Cognitive Services commitment plan.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String commitmentPlanName)

Deletes the specified commitmentPlan associated with the Cognitive Services account.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String commitmentPlanName, Context context)

Deletes the specified commitmentPlan associated with the Cognitive Services account.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName)

Deletes the association of the Cognitive Services commitment plan.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, Context context)

Deletes the association of the Cognitive Services commitment plan.

abstract SyncPoller<PollResult<Void>,Void> beginDeletePlan(String resourceGroupName, String commitmentPlanName)

Deletes a Cognitive Services commitment plan from the resource group.

abstract SyncPoller<PollResult<Void>,Void> beginDeletePlan(String resourceGroupName, String commitmentPlanName, Context context)

Deletes a Cognitive Services commitment plan from the resource group.

abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginUpdatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan)

Create Cognitive Services commitment plan.

abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginUpdatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan, Context context)

Create Cognitive Services commitment plan.

abstract CommitmentPlanInner createOrUpdate(String resourceGroupName, String accountName, String commitmentPlanName, CommitmentPlanInner commitmentPlan)

Update the state of specified commitmentPlans associated with the Cognitive Services account.

abstract CommitmentPlanAccountAssociationInner createOrUpdateAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, CommitmentPlanAccountAssociationInner association)

Create or update the association of the Cognitive Services commitment plan.

abstract CommitmentPlanAccountAssociationInner createOrUpdateAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, CommitmentPlanAccountAssociationInner association, Context context)

Create or update the association of the Cognitive Services commitment plan.

abstract CommitmentPlanInner createOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan)

Create Cognitive Services commitment plan.

abstract CommitmentPlanInner createOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan, Context context)

Create Cognitive Services commitment plan.

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.

abstract void delete(String resourceGroupName, String accountName, String commitmentPlanName)

Deletes the specified commitmentPlan associated with the Cognitive Services account.

abstract void delete(String resourceGroupName, String accountName, String commitmentPlanName, Context context)

Deletes the specified commitmentPlan associated with the Cognitive Services account.

abstract void deleteAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName)

Deletes the association of the Cognitive Services commitment plan.

abstract void deleteAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, Context context)

Deletes the association of the Cognitive Services commitment plan.

abstract void deletePlan(String resourceGroupName, String commitmentPlanName)

Deletes a Cognitive Services commitment plan from the resource group.

abstract void deletePlan(String resourceGroupName, String commitmentPlanName, Context context)

Deletes a Cognitive Services commitment plan from the resource group.

abstract CommitmentPlanInner get(String resourceGroupName, String accountName, String commitmentPlanName)

Gets the specified commitmentPlans associated with the Cognitive Services account.

abstract CommitmentPlanAccountAssociationInner getAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName)

Gets the association of the Cognitive Services commitment plan.

abstract Response<CommitmentPlanAccountAssociationInner> getAssociationWithResponse(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, Context context)

Gets the association of the Cognitive Services commitment plan.

abstract CommitmentPlanInner getByResourceGroup(String resourceGroupName, String commitmentPlanName)

Returns a Cognitive Services commitment plan specified by the parameters.

abstract Response<CommitmentPlanInner> getByResourceGroupWithResponse(String resourceGroupName, String commitmentPlanName, Context context)

Returns a Cognitive Services commitment plan specified by the parameters.

abstract Response<CommitmentPlanInner> getWithResponse(String resourceGroupName, String accountName, String commitmentPlanName, Context context)

Gets the specified commitmentPlans associated with the Cognitive Services account.

abstract PagedIterable<CommitmentPlanInner> list(String resourceGroupName, String accountName)

Gets the commitmentPlans associated with the Cognitive Services account.

abstract PagedIterable<CommitmentPlanInner> list(String resourceGroupName, String accountName, Context context)

Gets the commitmentPlans associated with the Cognitive Services account.

abstract PagedIterable<CommitmentPlanAccountAssociationInner> listAssociations(String resourceGroupName, String commitmentPlanName)

Gets the associations of the Cognitive Services commitment plan.

abstract PagedIterable<CommitmentPlanAccountAssociationInner> listAssociations(String resourceGroupName, String commitmentPlanName, Context context)

Gets the associations of the Cognitive Services commitment plan.

abstract PagedIterable<CommitmentPlanInner> listByResourceGroup(String resourceGroupName)

Returns all the resources of a particular type belonging to a resource group.

abstract PagedIterable<CommitmentPlanInner> listByResourceGroup(String resourceGroupName, Context context)

Returns all the resources of a particular type belonging to a resource group.

abstract PagedIterable<CommitmentPlanInner> listPlansBySubscription()

Returns all the resources of a particular type belonging to a subscription.

abstract PagedIterable<CommitmentPlanInner> listPlansBySubscription(Context context)

Returns all the resources of a particular type belonging to a subscription.

abstract CommitmentPlanInner updatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan)

Create Cognitive Services commitment plan.

abstract CommitmentPlanInner updatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan, Context context)

Create Cognitive Services commitment plan.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account.
association - The commitmentPlan properties.

Returns:

the SyncPoller<T,U> for polling of the commitment plan association.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account.
association - The commitmentPlan properties.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the commitment plan association.

beginCreateOrUpdatePlan

public abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginCreateOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan)

Create Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlan - The parameters to provide for the created commitment plan.

Returns:

the SyncPoller<T,U> for polling of cognitive Services account commitment plan.

beginCreateOrUpdatePlan

public abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginCreateOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan, Context context)

Create Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlan - The parameters to provide for the created commitment plan.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of cognitive Services account commitment plan.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAssociation

public abstract SyncPoller<PollResult<Void>,Void> beginDeleteAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName)

Deletes the association of the Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeletePlan

public abstract SyncPoller<PollResult<Void>,Void> beginDeletePlan(String resourceGroupName, String commitmentPlanName)

Deletes a Cognitive Services commitment plan from the resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdatePlan

public abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginUpdatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan)

Create Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlan - The parameters to provide for the created commitment plan.

Returns:

the SyncPoller<T,U> for polling of cognitive Services account commitment plan.

beginUpdatePlan

public abstract SyncPoller<PollResult<CommitmentPlanInner>,CommitmentPlanInner> beginUpdatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan, Context context)

Create Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlan - The parameters to provide for the created commitment plan.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of cognitive Services account commitment plan.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlan - The commitmentPlan properties.

Returns:

cognitive Services account commitment plan.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account.
association - The commitmentPlan properties.

Returns:

the commitment plan association.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account.
association - The commitmentPlan properties.
context - The context to associate with this operation.

Returns:

the commitment plan association.

createOrUpdatePlan

public abstract CommitmentPlanInner createOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan)

Create Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlan - The parameters to provide for the created commitment plan.

Returns:

cognitive Services account commitment plan.

createOrUpdatePlan

public abstract CommitmentPlanInner createOrUpdatePlan(String resourceGroupName, String commitmentPlanName, CommitmentPlanInner commitmentPlan, Context context)

Create Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlan - The parameters to provide for the created commitment plan.
context - The context to associate with this operation.

Returns:

cognitive Services account commitment plan.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlan - The commitmentPlan properties.
context - The context to associate with this operation.

Returns:

cognitive Services account commitment plan along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String accountName, String commitmentPlanName)

Deletes the specified commitmentPlan associated with the Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.

delete

public abstract void delete(String resourceGroupName, String accountName, String commitmentPlanName, Context context)

Deletes the specified commitmentPlan associated with the Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
context - The context to associate with this operation.

deleteAssociation

public abstract void deleteAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName)

Deletes the association of the Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account.

deleteAssociation

public abstract void deleteAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, Context context)

Deletes the association of the Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account.
context - The context to associate with this operation.

deletePlan

public abstract void deletePlan(String resourceGroupName, String commitmentPlanName)

Deletes a Cognitive Services commitment plan from the resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.

deletePlan

public abstract void deletePlan(String resourceGroupName, String commitmentPlanName, Context context)

Deletes a Cognitive Services commitment plan from the resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
context - The context to associate with this operation.

get

public abstract CommitmentPlanInner get(String resourceGroupName, String accountName, String commitmentPlanName)

Gets the specified commitmentPlans associated with the Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.

Returns:

the specified commitmentPlans associated with the Cognitive Services account.

getAssociation

public abstract CommitmentPlanAccountAssociationInner getAssociation(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName)

Gets the association of the Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account.

Returns:

the association of the Cognitive Services commitment plan.

getAssociationWithResponse

public abstract Response<CommitmentPlanAccountAssociationInner> getAssociationWithResponse(String resourceGroupName, String commitmentPlanName, String commitmentPlanAssociationName, Context context)

Gets the association of the Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account.
context - The context to associate with this operation.

Returns:

the association of the Cognitive Services commitment plan along with Response<T>.

getByResourceGroup

public abstract CommitmentPlanInner getByResourceGroup(String resourceGroupName, String commitmentPlanName)

Returns a Cognitive Services commitment plan specified by the parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.

Returns:

cognitive Services account commitment plan.

getByResourceGroupWithResponse

public abstract Response<CommitmentPlanInner> getByResourceGroupWithResponse(String resourceGroupName, String commitmentPlanName, Context context)

Returns a Cognitive Services commitment plan specified by the parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
context - The context to associate with this operation.

Returns:

cognitive Services account commitment plan along with Response<T>.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
context - The context to associate with this operation.

Returns:

the specified commitmentPlans associated with the Cognitive Services account along with Response<T>.

list

public abstract PagedIterable<CommitmentPlanInner> list(String resourceGroupName, String accountName)

Gets the commitmentPlans associated with the Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.

Returns:

the commitmentPlans associated with the Cognitive Services account as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<CommitmentPlanInner> list(String resourceGroupName, String accountName, Context context)

Gets the commitmentPlans associated with the Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
context - The context to associate with this operation.

Returns:

the commitmentPlans associated with the Cognitive Services account as paginated response with PagedIterable<T>.

listAssociations

public abstract PagedIterable<CommitmentPlanAccountAssociationInner> listAssociations(String resourceGroupName, String commitmentPlanName)

Gets the associations of the Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.

Returns:

the associations of the Cognitive Services commitment plan as paginated response with PagedIterable<T>.

listAssociations

public abstract PagedIterable<CommitmentPlanAccountAssociationInner> listAssociations(String resourceGroupName, String commitmentPlanName, Context context)

Gets the associations of the Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
context - The context to associate with this operation.

Returns:

the associations of the Cognitive Services commitment plan as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<CommitmentPlanInner> listByResourceGroup(String resourceGroupName)

Returns all the resources of a particular type belonging to a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the list of cognitive services accounts operation response as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<CommitmentPlanInner> listByResourceGroup(String resourceGroupName, Context context)

Returns all the resources of a particular type belonging to a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

the list of cognitive services accounts operation response as paginated response with PagedIterable<T>.

listPlansBySubscription

public abstract PagedIterable<CommitmentPlanInner> listPlansBySubscription()

Returns all the resources of a particular type belonging to a subscription.

Returns:

the list of cognitive services accounts operation response as paginated response with PagedIterable<T>.

listPlansBySubscription

public abstract PagedIterable<CommitmentPlanInner> listPlansBySubscription(Context context)

Returns all the resources of a particular type belonging to a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

the list of cognitive services accounts operation response as paginated response with PagedIterable<T>.

updatePlan

public abstract CommitmentPlanInner updatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan)

Create Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlan - The parameters to provide for the created commitment plan.

Returns:

cognitive Services account commitment plan.

updatePlan

public abstract CommitmentPlanInner updatePlan(String resourceGroupName, String commitmentPlanName, PatchResourceTagsAndSku commitmentPlan, Context context)

Create Cognitive Services commitment plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account.
commitmentPlan - The parameters to provide for the created commitment plan.
context - The context to associate with this operation.

Returns:

cognitive Services account commitment plan.

Applies to