次の方法で共有


EventGridTopicCollection クラス

定義

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

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

コンストラクター

EventGridTopicCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, EventGridTopicData, CancellationToken)

指定したパラメーターを使用して、新しいトピックを非同期に作成します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}
  • 操作IdTopics_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, EventGridTopicData, CancellationToken)

指定したパラメーターを使用して、新しいトピックを非同期に作成します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}
  • 操作IdTopics_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}
  • 操作IdTopics_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}
  • 操作IdTopics_Get
Get(String, CancellationToken)

トピックのプロパティを取得します。

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

リソース グループのすべてのトピックを一覧表示します。

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

リソース グループのすべてのトピックを一覧表示します。

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

トピックのプロパティを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}
  • 操作IdTopics_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<EventGridTopicResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<EventGridTopicResource>.GetEnumerator()

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

適用対象