Compartilhar via


MachineLearningRegistryEnvironmentContainerCollection.GetIfExists Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}
  • Operação IdRegistryEnvironmentContainers_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningRegistryEnvironmentContainerResource> GetIfExists (string environmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningRegistryEnvironmentContainerResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningRegistryEnvironmentContainerResource>
Public Overridable Function GetIfExists (environmentName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of MachineLearningRegistryEnvironmentContainerResource)

Parâmetros

environmentName
String

Nome do contêiner. Diferencia maiúsculas de minúsculas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

environmentName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

environmentName é nulo.

Aplica-se a