共用方式為


ApiOperationPolicyCollection.GetAll(CancellationToken) Method

Definition

Get the list of policy configuration at the API Operation level.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies
  • Operation Id: ApiOperationPolicy_ListByOperation
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiOperationPolicyResource
public virtual Azure.Pageable<Azure.ResourceManager.ApiManagement.ApiOperationPolicyResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.ApiOperationPolicyResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.ApiOperationPolicyResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ApiOperationPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ApiOperationPolicyResource that may take multiple service requests to iterate over.

Applies to