Share via


ServiceWorkspaceProductPolicyCollection.GetAllAsync(CancellationToken) Method

Definition

Get the policy configuration at the Product level.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to