Udostępnij za pośrednictwem


MachineLearningRegistryResource.GetMachineLearningRegistryEnvironmentContainerAsync Method

Definition

Get container.

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

Parameters

environmentName
String

Container name. This is case-sensitive.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

environmentName is null.

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

Applies to