CognitiveServicesAccountResource.GetCognitiveServicesManagedComputeDeployment Method

Definition

Gets the specified managed compute deployment associated with the Cognitive Services account.

public virtual Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesManagedComputeDeploymentResource> GetCognitiveServicesManagedComputeDeployment(string deploymentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCognitiveServicesManagedComputeDeployment : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesManagedComputeDeploymentResource>
override this.GetCognitiveServicesManagedComputeDeployment : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesManagedComputeDeploymentResource>
Public Overridable Function GetCognitiveServicesManagedComputeDeployment (deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CognitiveServicesManagedComputeDeploymentResource)

Parameters

deploymentName
String

The name of the managed compute deployment associated with the Cognitive Services Account.

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