Share via


CognitiveServicesAccountDeploymentCollection Class

Definition

A class representing a collection of CognitiveServicesAccountDeploymentResource and their operations. Each CognitiveServicesAccountDeploymentResource in the collection will belong to the same instance of CognitiveServicesAccountResource. To get a CognitiveServicesAccountDeploymentCollection instance call the GetCognitiveServicesAccountDeployments method from an instance of CognitiveServicesAccountResource.

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

Constructors

CognitiveServicesAccountDeploymentCollection()

Initializes a new instance of the CognitiveServicesAccountDeploymentCollection 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, CognitiveServicesAccountDeploymentData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}
  • Operation Id: Deployments_CreateOrUpdate
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountDeploymentResource
CreateOrUpdateAsync(WaitUntil, String, CognitiveServicesAccountDeploymentData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}
  • Operation Id: Deployments_CreateOrUpdate
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountDeploymentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountDeploymentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountDeploymentResource
Get(String, CancellationToken)

Gets the specified deployments associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountDeploymentResource
GetAll(CancellationToken)

Gets the deployments associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments
  • Operation Id: Deployments_List
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountDeploymentResource
GetAllAsync(CancellationToken)

Gets the deployments associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments
  • Operation Id: Deployments_List
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountDeploymentResource
GetAsync(String, CancellationToken)

Gets the specified deployments associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountDeploymentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountDeploymentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountDeploymentResource
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<CognitiveServicesAccountDeploymentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CognitiveServicesAccountDeploymentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to