Share via


ServiceApiResolverPolicyCollection.GetAllAsync(CancellationToken) Method

Definition

Get the list of policy configuration at the GraphQL API Resolver level.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to