Language

ArcDeploymentCollection.GetAsync(String, CancellationToken) Method

Definition

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.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.ArcDeploymentResource>> GetAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.ArcDeploymentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.ArcDeploymentResource>>
Public Overridable Function GetAsync (deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArcDeploymentResource))

Parameters

deploymentName
String

The name of the Arc deployment associated with the Cognitive Services Account. The name must be unique within the account across deployments, managedComputeDeployments, and arcDeployments.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

deploymentName is null.

deploymentName is an empty string, and was expected to be non-empty.

Applies to