次の方法で共有


MachineLearninRegistryComponentVersionCollection.Exists メソッド

定義

リソースが Azure に存在するかどうかを確認します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}
  • 操作IdRegistryComponentVersions_Get
public virtual Azure.Response<bool> Exists (string version, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (version As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

パラメーター

version
String

バージョン識別子。

cancellationToken
CancellationToken

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

戻り値

例外

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

version が null です。

適用対象