次の方法で共有


EventSubscriptionCollection クラス

定義

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

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

コンストラクター

EventSubscriptionCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, EventGridSubscriptionData, CancellationToken)

新しいイベント サブスクリプションを非同期的に作成するか、指定したスコープに基づいて既存のイベント サブスクリプションを更新します。

  • Request Path/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}
  • 操作IdEventSubscriptions_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, EventGridSubscriptionData, CancellationToken)

新しいイベント サブスクリプションを非同期的に作成するか、指定したスコープに基づいて既存のイベント サブスクリプションを更新します。

  • Request Path/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}
  • 操作IdEventSubscriptions_CreateOrUpdate
Exists(String, CancellationToken)

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

  • Request Path/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}
  • 操作IdEventSubscriptions_Get
ExistsAsync(String, CancellationToken)

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

  • Request Path/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}
  • 操作IdEventSubscriptions_Get
Get(String, CancellationToken)

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

  • Request Path/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}
  • 操作IdEventSubscriptions_Get
GetAll(String, Nullable<Int32>, CancellationToken)

特定の Azure サブスクリプションで集計されたすべてのグローバル イベント サブスクリプションを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions
  • 操作IdEventSubscriptions_ListGlobalBySubscription
  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions
  • 操作IdEventSubscriptions_ListGlobalByResourceGroup
  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions
  • 操作IdEventSubscriptions_ListByResource
  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions
  • 操作IdEventSubscriptions_ListByDomainTopic
GetAllAsync(String, Nullable<Int32>, CancellationToken)

特定の Azure サブスクリプションで集計されたすべてのグローバル イベント サブスクリプションを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions
  • 操作IdEventSubscriptions_ListGlobalBySubscription
  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions
  • 操作IdEventSubscriptions_ListGlobalByResourceGroup
  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions
  • 操作IdEventSubscriptions_ListByResource
  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions
  • 操作IdEventSubscriptions_ListByDomainTopic
GetAsync(String, CancellationToken)

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

  • Request Path/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}
  • 操作IdEventSubscriptions_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<EventSubscriptionResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<EventSubscriptionResource>.GetEnumerator()

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

適用対象