Share via


CommitmentPlanAccountAssociationCollection Class

Definition

A class representing a collection of CommitmentPlanAccountAssociationResource and their operations. Each CommitmentPlanAccountAssociationResource in the collection will belong to the same instance of CognitiveServicesCommitmentPlanResource. To get a CommitmentPlanAccountAssociationCollection instance call the GetCommitmentPlanAccountAssociations method from an instance of CognitiveServicesCommitmentPlanResource.

public class CommitmentPlanAccountAssociationCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.CognitiveServices.CommitmentPlanAccountAssociationResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.CommitmentPlanAccountAssociationResource>
type CommitmentPlanAccountAssociationCollection = class
    inherit ArmCollection
    interface seq<CommitmentPlanAccountAssociationResource>
    interface IEnumerable
    interface IAsyncEnumerable<CommitmentPlanAccountAssociationResource>
Public Class CommitmentPlanAccountAssociationCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of CommitmentPlanAccountAssociationResource), IEnumerable(Of CommitmentPlanAccountAssociationResource)
Inheritance
CommitmentPlanAccountAssociationCollection
Implements

Constructors

CommitmentPlanAccountAssociationCollection()

Initializes a new instance of the CommitmentPlanAccountAssociationCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, CommitmentPlanAccountAssociationData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}
  • Operation Id: CommitmentPlans_CreateOrUpdateAssociation
  • Default Api Version: 2023-05-01
  • Resource: CommitmentPlanAccountAssociationResource
CreateOrUpdateAsync(WaitUntil, String, CommitmentPlanAccountAssociationData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}
  • Operation Id: CommitmentPlans_CreateOrUpdateAssociation
  • Default Api Version: 2023-05-01
  • Resource: CommitmentPlanAccountAssociationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}
  • Operation Id: CommitmentPlans_GetAssociation
  • Default Api Version: 2023-05-01
  • Resource: CommitmentPlanAccountAssociationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}
  • Operation Id: CommitmentPlans_GetAssociation
  • Default Api Version: 2023-05-01
  • Resource: CommitmentPlanAccountAssociationResource
Get(String, CancellationToken)

Gets the association of the Cognitive Services commitment plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}
  • Operation Id: CommitmentPlans_GetAssociation
  • Default Api Version: 2023-05-01
  • Resource: CommitmentPlanAccountAssociationResource
GetAll(CancellationToken)

Gets the associations of the Cognitive Services commitment plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations
  • Operation Id: CommitmentPlans_ListAssociations
  • Default Api Version: 2023-05-01
  • Resource: CommitmentPlanAccountAssociationResource
GetAllAsync(CancellationToken)

Gets the associations of the Cognitive Services commitment plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations
  • Operation Id: CommitmentPlans_ListAssociations
  • Default Api Version: 2023-05-01
  • Resource: CommitmentPlanAccountAssociationResource
GetAsync(String, CancellationToken)

Gets the association of the Cognitive Services commitment plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}
  • Operation Id: CommitmentPlans_GetAssociation
  • Default Api Version: 2023-05-01
  • Resource: CommitmentPlanAccountAssociationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}
  • Operation Id: CommitmentPlans_GetAssociation
  • Default Api Version: 2023-05-01
  • Resource: CommitmentPlanAccountAssociationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}
  • Operation Id: CommitmentPlans_GetAssociation
  • Default Api Version: 2023-05-01
  • Resource: CommitmentPlanAccountAssociationResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<CommitmentPlanAccountAssociationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CommitmentPlanAccountAssociationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to