Delen via


MachineLearningWorkspaceResource.GetMachineLearningDataContainerAsync Method

Definition

Get container.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}
  • Operation Id: DataContainers_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningDataContainerResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningDataContainerResource>> GetMachineLearningDataContainerAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMachineLearningDataContainerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningDataContainerResource>>
override this.GetMachineLearningDataContainerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningDataContainerResource>>
Public Overridable Function GetMachineLearningDataContainerAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningDataContainerResource))

Parameters

name
String

Container name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

name is null.

name is an empty string, and was expected to be non-empty.

Applies to