次の方法で共有


ServiceWorkspaceApiPolicyCollection.GetAll(CancellationToken) Method

Definition

Get the policy configuration at the API level.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to