MachineLearningRegistryCodeContainerCollection.GetIfExistsAsync メソッド

定義

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

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}
  • 操作IdRegistryCodeContainers_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningRegistryCodeContainerResource>> GetIfExistsAsync (string codeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningRegistryCodeContainerResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningRegistryCodeContainerResource>>
Public Overridable Function GetIfExistsAsync (codeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of MachineLearningRegistryCodeContainerResource))

パラメーター

codeName
String

コンテナー名。

cancellationToken
CancellationToken

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

戻り値

例外

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

codeName が null です。

適用対象