Partilhar via


CognitiveServicesAccountDeploymentCollection.GetAsync Método

Definição

Obtém as implantações especificadas associadas à conta dos Serviços Cognitivos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}
  • IdDeployments_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountDeploymentResource>> GetAsync (string deploymentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountDeploymentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountDeploymentResource>>
Public Overridable Function GetAsync (deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CognitiveServicesAccountDeploymentResource))

Parâmetros

deploymentName
String

O nome da implantação associada à Conta dos Serviços Cognitivos.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

deploymentName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

deploymentName é nulo.

Aplica-se a