Share via


ServiceWorkspaceApiOperationPolicyCollection.GetAllAsync 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.AsyncPageable<Azure.ResourceManager.ApiManagement.ServiceWorkspaceApiOperationPolicyResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ServiceWorkspaceApiOperationPolicyResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ServiceWorkspaceApiOperationPolicyResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceWorkspaceApiOperationPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to