次の方法で共有


ApiOperationPolicyCollection.Get メソッド

定義

API 操作レベルでポリシー構成を取得します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}
  • 操作IdApiOperationPolicy_Get
public virtual Azure.Response<Azure.ResourceManager.ApiManagement.ApiOperationPolicyResource> Get (Azure.ResourceManager.ApiManagement.Models.PolicyName policyId, Azure.ResourceManager.ApiManagement.Models.PolicyExportFormat? format = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Azure.ResourceManager.ApiManagement.Models.PolicyName * Nullable<Azure.ResourceManager.ApiManagement.Models.PolicyExportFormat> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.ApiOperationPolicyResource>
override this.Get : Azure.ResourceManager.ApiManagement.Models.PolicyName * Nullable<Azure.ResourceManager.ApiManagement.Models.PolicyExportFormat> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.ApiOperationPolicyResource>
Public Overridable Function Get (policyId As PolicyName, Optional format As Nullable(Of PolicyExportFormat) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApiOperationPolicyResource)

パラメーター

policyId
PolicyName

ポリシーの識別子。

format
Nullable<PolicyExportFormat>

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

cancellationToken
CancellationToken

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

戻り値

適用対象