次の方法で共有


EventGridNamespaceCollection クラス

定義

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

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

コンストラクター

EventGridNamespaceCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, EventGridNamespaceData, CancellationToken)

指定したパラメーターを使用して、新しい名前空間を非同期に作成または更新します。

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

指定したパラメーターを使用して、新しい名前空間を非同期に作成または更新します。

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

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

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

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

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

名前空間のプロパティを取得します。

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

リソース グループのすべての名前空間を一覧表示します。

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

リソース グループのすべての名前空間を一覧表示します。

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

名前空間のプロパティを取得します。

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<EventGridNamespaceResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<EventGridNamespaceResource>.GetEnumerator()

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

適用対象