次の方法で共有


DomainEventSubscriptionCollection クラス

定義

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

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

コンストラクター

DomainEventSubscriptionCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, EventGridSubscriptionData, CancellationToken)

新しいイベント サブスクリプションを非同期に作成するか、既存のイベント サブスクリプションを更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/eventSubscriptions/{eventSubscriptionName}
  • 操作IdDomainEventSubscriptions_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, EventGridSubscriptionData, CancellationToken)

新しいイベント サブスクリプションを非同期に作成するか、既存のイベント サブスクリプションを更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/eventSubscriptions/{eventSubscriptionName}
  • 操作IdDomainEventSubscriptions_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/eventSubscriptions/{eventSubscriptionName}
  • 操作IdDomainEventSubscriptions_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/eventSubscriptions/{eventSubscriptionName}
  • 操作IdDomainEventSubscriptions_Get
Get(String, CancellationToken)

ドメインのイベント サブスクリプションのプロパティを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/eventSubscriptions/{eventSubscriptionName}
  • 操作IdDomainEventSubscriptions_Get
GetAll(String, Nullable<Int32>, CancellationToken)

特定のトピックに対して作成されたすべてのイベント サブスクリプションを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/eventSubscriptions
  • 操作IdDomainEventSubscriptions_List
GetAllAsync(String, Nullable<Int32>, CancellationToken)

特定のトピックに対して作成されたすべてのイベント サブスクリプションを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/eventSubscriptions
  • 操作IdDomainEventSubscriptions_List
GetAsync(String, CancellationToken)

ドメインのイベント サブスクリプションのプロパティを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/eventSubscriptions/{eventSubscriptionName}
  • 操作IdDomainEventSubscriptions_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<DomainEventSubscriptionResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<DomainEventSubscriptionResource>.GetEnumerator()

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

適用対象