ApiManagementProductPolicyCollection クラス

定義

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

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

コンストラクター

ApiManagementProductPolicyCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

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

製品のポリシー構成を作成または更新します。

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

製品のポリシー構成を作成または更新します。

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

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

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

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

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

製品レベルでポリシー構成を取得します。

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

製品レベルでポリシー構成を取得します。

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

製品レベルでポリシー構成を取得します。

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

製品レベルでポリシー構成を取得します。

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ApiManagementProductPolicyResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ApiManagementProductPolicyResource>.GetEnumerator()

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

適用対象