次の方法で共有


ApiManagementPolicyResource.Get メソッド

定義

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}
  • 操作IdPolicy_Get
public virtual Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementPolicyResource> Get (Azure.ResourceManager.ApiManagement.Models.PolicyExportFormat? format = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Nullable<Azure.ResourceManager.ApiManagement.Models.PolicyExportFormat> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementPolicyResource>
override this.Get : Nullable<Azure.ResourceManager.ApiManagement.Models.PolicyExportFormat> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementPolicyResource>
Public Overridable Function Get (Optional format As Nullable(Of PolicyExportFormat) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApiManagementPolicyResource)

パラメーター

format
Nullable<PolicyExportFormat>

ポリシーのエクスポート形式。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象