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

定義

リソースの現在のクォータ (サービスの制限) と使用状況を取得します。 GET 操作からの応答を使用して、クォータ更新要求を送信できます。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}
  • 操作IdQuota_Get
public virtual Azure.Response<Azure.ResourceManager.Reservations.ReservationQuotaResource> Get (string resourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Reservations.ReservationQuotaResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Reservations.ReservationQuotaResource>
Public Overridable Function Get (resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ReservationQuotaResource)

パラメーター

resourceName
String

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

cancellationToken
CancellationToken

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

戻り値

例外

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

resourceName が null です。

適用対象