ReservationQuotaCollection クラス

定義

のコレクション ReservationQuotaResource とその操作を表すクラス。 コレクション内の各 ReservationQuotaResource は、 の同じインスタンス SubscriptionResourceに属します。 インスタンスを ReservationQuotaCollection 取得するには、 のインスタンス SubscriptionResourceから GetReservationQuotas メソッドを呼び出します。

public class ReservationQuotaCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Reservations.ReservationQuotaResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.ReservationQuotaResource>
type ReservationQuotaCollection = class
    inherit ArmCollection
    interface seq<ReservationQuotaResource>
    interface IEnumerable
    interface IAsyncEnumerable<ReservationQuotaResource>
Public Class ReservationQuotaCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ReservationQuotaResource), IEnumerable(Of ReservationQuotaResource)
継承
ReservationQuotaCollection
実装

コンストラクター

ReservationQuotaCollection()

モック作成のために クラスの ReservationQuotaCollection 新しいインスタンスを初期化します。

プロパティ

Client

このリソース クライアントの ArmClient 作成元を取得します。

(継承元 ArmCollection)
Diagnostics

このリソース クライアントの診断オプションを取得します。

(継承元 ArmCollection)
Endpoint

このリソース クライアントのベース URI を取得します。

(継承元 ArmCollection)
Id

リソース識別子を取得します。

(継承元 ArmCollection)
Pipeline

このリソース クライアントのパイプラインを取得します。

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, ReservationQuotaData, CancellationToken)

リソースのクォータ (サービス制限) を作成または更新して、要求された値に更新します。 手順:

  1. Get 要求を実行して、特定のリソースのクォータ情報を取得します。
  2. クォータを増やすには、応答の limit フィールドを Get request から新しい値に更新します。
  3. クォータを更新するには、クォータ要求 API に JSON を送信します。 クォータの作成要求は、次のように作成できます。 PUT 操作を使用して、クォータを更新できます。
  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}
  • 操作IdQuota_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, ReservationQuotaData, CancellationToken)

リソースのクォータ (サービス制限) を作成または更新して、要求された値に更新します。 手順:

  1. Get 要求を実行して、特定のリソースのクォータ情報を取得します。
  2. クォータを増やすには、応答の limit フィールドを Get request から新しい値に更新します。
  3. クォータを更新するには、クォータ要求 API に JSON を送信します。 クォータの作成要求は、次のように作成できます。 PUT 操作を使用して、クォータを更新できます。
  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}
  • 操作IdQuota_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}
  • 操作IdQuota_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}
  • 操作IdQuota_Get
Get(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}
  • 操作IdQuota_Get
GetAll(CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits
  • 操作IdQuota_List
GetAllAsync(CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits
  • 操作IdQuota_List
GetAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimits/{resourceName}
  • 操作IdQuota_Get
TryGetApiVersion(ResourceType, String)

現在のクライアント オプションに対して設定されている場合は、API バージョンのオーバーライドを取得します。

(継承元 ArmCollection)

明示的なインターフェイスの実装

IAsyncEnumerable<ReservationQuotaResource>.GetAsyncEnumerator(CancellationToken)

コレクションを非同期に反復処理する列挙子を返します。

IEnumerable.GetEnumerator()

コレクションを反復処理する列挙子を返します。

IEnumerable<ReservationQuotaResource>.GetEnumerator()

コレクションを反復処理する列挙子を返します。

適用対象