Partilhar via


MachineLearningWorkspaceResource.GetMachineLearningCodeContainerAsync Método

Definição

Obter contêiner.

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

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 era esperado que não estivesse vazio.

name é nulo.

Aplica-se a