Compartilhar via


MachineLearningDataContainerCollection.GetAsync Método

Definição

Obter contêiner.

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

Parâmetros

name
String

Nome do contêiner.

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