Compartilhar via


MachineLearningWorkspaceResource.GetMachineLearningModelContainerAsync Método

Definição

Obter contêiner.

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

Parâmetros

name
String

Nome do contêiner. Diferencia maiúsculas de minúsculas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

name é nulo.

Aplica-se a