次の方法で共有


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to