次の方法で共有


ServiceWorkspacePolicyCollection.GetAllAsync(CancellationToken) Method

Definition

Get the policy configuration at the workspace level.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to