ServiceWorkspaceApiOperationPolicyCollection.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}/workspaces/{workspaceId}/apis/{apiId}/operations/{operationId}/policies
  • Operation Id: WorkspaceApiOperationPolicy_ListByOperation
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiOperationPolicyResource
public virtual Azure.Pageable<Azure.ResourceManager.ApiManagement.ServiceWorkspaceApiOperationPolicyResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.ServiceWorkspaceApiOperationPolicyResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.ServiceWorkspaceApiOperationPolicyResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServiceWorkspaceApiOperationPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to