ReservationQuotaCollection.Exists(String, CancellationToken) メソッド

定義

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}
  • 操作IdQuota_Get
public virtual Azure.Response<bool> Exists (string resourceName, 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 (resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

パラメーター

resourceName
String

Microsoft.MachineLearningServices の場合は、リソース プロバイダーのリソース名 (Microsoft.Compute の SKU 名、Sku、TotalLowPriorityCores など)。

cancellationToken
CancellationToken

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

戻り値

例外

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

resourceName が null です。

適用対象