次の方法で共有


EventHubAuthorizationRuleCollection クラス

定義

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

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

コンストラクター

EventHubAuthorizationRuleCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, EventHubsAuthorizationRuleData, CancellationToken)

指定したイベント ハブの AuthorizationRule を作成または更新します。 AuthorizationRule の作成/更新が有効になるには数秒かかります。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}
  • 操作IdEventHubs_CreateOrUpdateAuthorizationRule
CreateOrUpdateAsync(WaitUntil, String, EventHubsAuthorizationRuleData, CancellationToken)

指定したイベント ハブの AuthorizationRule を作成または更新します。 AuthorizationRule の作成/更新が有効になるには数秒かかります。

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

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

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

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

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

ルール名でイベント ハブの AuthorizationRule を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}
  • 操作IdEventHubs_GetAuthorizationRule
GetAll(CancellationToken)

イベント ハブの承認規則を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules
  • 操作IdEventHubs_ListAuthorizationRules
GetAllAsync(CancellationToken)

イベント ハブの承認規則を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules
  • 操作IdEventHubs_ListAuthorizationRules
GetAsync(String, CancellationToken)

ルール名でイベント ハブの AuthorizationRule を取得します。

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<EventHubAuthorizationRuleResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<EventHubAuthorizationRuleResource>.GetEnumerator()

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

適用対象