SubscriptionUsageCollection クラス

定義

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

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

コンストラクター

SubscriptionUsageCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/usages/{usageName}
  • 操作IdSubscriptionUsages_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/usages/{usageName}
  • 操作IdSubscriptionUsages_Get
Get(String, CancellationToken)

サブスクリプションの使用状況メトリックを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/usages/{usageName}
  • 操作IdSubscriptionUsages_Get
GetAll(CancellationToken)

特定の場所にあるすべてのサブスクリプション使用状況メトリックを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/usages
  • 操作IdSubscriptionUsages_ListByLocation
GetAllAsync(CancellationToken)

特定の場所にあるすべてのサブスクリプション使用状況メトリックを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/usages
  • 操作IdSubscriptionUsages_ListByLocation
GetAsync(String, CancellationToken)

サブスクリプションの使用状況メトリックを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/usages/{usageName}
  • 操作IdSubscriptionUsages_Get
GetIfExists(String, CancellationToken)

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/usages/{usageName}
  • 操作IdSubscriptionUsages_Get
GetIfExistsAsync(String, CancellationToken)

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/usages/{usageName}
  • 操作IdSubscriptionUsages_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<SubscriptionUsageResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<SubscriptionUsageResource>.GetEnumerator()

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

適用対象