Compartilhar via


MachineLearningBatchDeploymentCollection.GetAsync Método

Definição

Obtém uma implantação de inferência em lote por id.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}
  • Operação IdBatchDeployments_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningBatchDeploymentResource>> GetAsync (string deploymentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningBatchDeploymentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningBatchDeploymentResource>>
Public Overridable Function GetAsync (deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningBatchDeploymentResource))

Parâmetros

deploymentName
String

O identificador para as implantações do Lote.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

deploymentName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

deploymentName é nulo.

Aplica-se a