BillingSubscriptionCollection クラス

定義

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

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

コンストラクター

BillingSubscriptionCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

Exists(String, CancellationToken)

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

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • 操作IdBillingSubscriptions_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • 操作IdBillingSubscriptions_Get
Get(String, CancellationToken)

ID でサブスクリプションを取得します。 この操作は現在、契約の種類が Microsoft 顧客契約、Microsoft Partner Agreement、Microsoft Online Services Program の課金アカウントでサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • 操作IdBillingSubscriptions_Get
GetAll(CancellationToken)

課金アカウントのサブスクリプションを一覧表示します。 この操作は現在、契約の種類が Microsoft 顧客契約、Microsoft Partner Agreement、Microsoft Online Services Program の課金アカウントでサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions
  • 操作IdBillingSubscriptions_ListByBillingAccount
GetAllAsync(CancellationToken)

課金アカウントのサブスクリプションを一覧表示します。 この操作は現在、契約の種類が Microsoft 顧客契約、Microsoft Partner Agreement、Microsoft Online Services Program の課金アカウントでサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions
  • 操作IdBillingSubscriptions_ListByBillingAccount
GetAsync(String, CancellationToken)

ID でサブスクリプションを取得します。 この操作は現在、契約の種類が Microsoft 顧客契約、Microsoft Partner Agreement、Microsoft Online Services Program の課金アカウントでサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • 操作IdBillingSubscriptions_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<BillingSubscriptionResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<BillingSubscriptionResource>.GetEnumerator()

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

適用対象