次の方法で共有


RelayNamespaceAuthorizationRuleCollection クラス

定義

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

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

コンストラクター

RelayNamespaceAuthorizationRuleCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, RelayAuthorizationRuleData, CancellationToken)

名前空間の承認規則を作成または更新します。

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

名前空間の承認規則を作成または更新します。

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

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

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

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

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

名前による名前空間の承認規則。

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

名前空間の承認規則。

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

名前空間の承認規則。

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

名前による名前空間の承認規則。

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<RelayNamespaceAuthorizationRuleResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<RelayNamespaceAuthorizationRuleResource>.GetEnumerator()

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

適用対象