MachineLearningRegistryEnvironmentContainerCollection.GetIfExists メソッド

定義

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}
  • 操作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)

パラメーター

environmentName
String

コンテナー名。 これは大文字小文字を区別します。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

environmentName は空の文字列であり、空でないと想定されていました。

environmentName が null です。

適用対象