Share via


ServiceWorkspacePolicyFragmentResource.GetReferencesAsync Method

Definition

Lists policy resources that reference the policy fragment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/policyFragments/{id}/listReferences
  • Operation Id: WorkspacePolicyFragment_ListReferences
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspacePolicyFragmentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ResourceCollectionValueItem> GetReferencesAsync (int? top = default, int? skip = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReferencesAsync : Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ResourceCollectionValueItem>
override this.GetReferencesAsync : Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ResourceCollectionValueItem>
Public Overridable Function GetReferencesAsync (Optional top As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ResourceCollectionValueItem)

Parameters

top
Nullable<Int32>

Number of records to return.

skip
Nullable<Int32>

Number of records to skip.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to