共用方式為


MachineLearningWorkspaceResource.GetMachineLearningDataContainer 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 Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningDataContainerResource> GetMachineLearningDataContainer (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMachineLearningDataContainer : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningDataContainerResource>
override this.GetMachineLearningDataContainer : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningDataContainerResource>
Public Overridable Function GetMachineLearningDataContainer (name As String, Optional cancellationToken As CancellationToken = Nothing) As 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