Sdílet prostřednictvím


MachineLearningWorkspaceResource.GetMachineLearningModelContainer Method

Definition

Get container.

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

Parameters

name
String

Container name. This is case-sensitive.

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