Language

ArcDeploymentCollection Class

Definition

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

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

Constructors

Name Description
ArcDeploymentCollection()

Initializes a new instance of ArcDeploymentCollection for mocking.

Properties

Name Description
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

Name Description
CreateOrUpdate(WaitUntil, String, ArcDeploymentData, CancellationToken)

Creates or updates an Arc deployment associated with the Cognitive Services account.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/arcDeployments/{deploymentName}.
  • Operation Id. : ArcDeployments_CreateOrUpdate.
  • Default Api Version. : 2026-11-15-preview.
CreateOrUpdateAsync(WaitUntil, String, ArcDeploymentData, CancellationToken)

Creates or updates an Arc deployment associated with the Cognitive Services account.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/arcDeployments/{deploymentName}.
  • Operation Id. : ArcDeployments_CreateOrUpdate.
  • Default Api Version. : 2026-11-15-preview.
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/arcDeployments/{deploymentName}.
  • Operation Id. : ArcDeployments_Get.
  • Default Api Version. : 2026-11-15-preview.
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/arcDeployments/{deploymentName}.
  • Operation Id. : ArcDeployments_Get.
  • Default Api Version. : 2026-11-15-preview.
Get(String, CancellationToken)

Gets the specified Arc deployment associated with the Cognitive Services account.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/arcDeployments/{deploymentName}.
  • Operation Id. : ArcDeployments_Get.
  • Default Api Version. : 2026-11-15-preview.
GetAll(CancellationToken)

Gets the Arc deployments associated with the Cognitive Services account.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/arcDeployments.
  • Operation Id. : ArcDeployments_List.
  • Default Api Version. : 2026-11-15-preview.
GetAllAsync(CancellationToken)

Gets the Arc deployments associated with the Cognitive Services account.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/arcDeployments.
  • Operation Id. : ArcDeployments_List.
  • Default Api Version. : 2026-11-15-preview.
GetAsync(String, CancellationToken)

Gets the specified Arc deployment associated with the Cognitive Services account.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/arcDeployments/{deploymentName}.
  • Operation Id. : ArcDeployments_Get.
  • Default Api Version. : 2026-11-15-preview.
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/arcDeployments/{deploymentName}.
  • Operation Id. : ArcDeployments_Get.
  • Default Api Version. : 2026-11-15-preview.
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/arcDeployments/{deploymentName}.
  • Operation Id. : ArcDeployments_Get.
  • Default Api Version. : 2026-11-15-preview.
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
IAsyncEnumerable<ArcDeploymentResource>.GetAsyncEnumerator(CancellationToken)
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ArcDeploymentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to