Partilhar via


MachineLearningRegistryEnvironmentContainerCollection.GetAsync 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>> GetAsync (string environmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningRegistryEnvironmentContainerResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningRegistryEnvironmentContainerResource>>
Public Overridable Function GetAsync (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 an empty string, and was expected to be non-empty.

environmentName is null.

Applies to