次の方法で共有


ApiManagementPolicyCollection クラス

定義

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

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

コンストラクター

ApiManagementPolicyCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, PolicyName, PolicyContractData, Nullable<ETag>, CancellationToken)

API Management サービスのグローバル ポリシー構成を作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}
  • 操作IdPolicy_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, PolicyName, PolicyContractData, Nullable<ETag>, CancellationToken)

API Management サービスのグローバル ポリシー構成を作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}
  • 操作IdPolicy_CreateOrUpdate
Exists(PolicyName, Nullable<PolicyExportFormat>, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}
  • 操作IdPolicy_Get
ExistsAsync(PolicyName, Nullable<PolicyExportFormat>, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}
  • 操作IdPolicy_Get
Get(PolicyName, Nullable<PolicyExportFormat>, CancellationToken)

API Management サービスのグローバル ポリシー定義を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}
  • 操作IdPolicy_Get
GetAll(CancellationToken)

API Management サービスのすべてのグローバル ポリシー定義を一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies
  • 操作IdPolicy_ListByService
GetAllAsync(CancellationToken)

API Management サービスのすべてのグローバル ポリシー定義を一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies
  • 操作IdPolicy_ListByService
GetAsync(PolicyName, Nullable<PolicyExportFormat>, CancellationToken)

API Management サービスのグローバル ポリシー定義を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}
  • 操作IdPolicy_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ApiManagementPolicyResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ApiManagementPolicyResource>.GetEnumerator()

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

適用対象