Compartilhar via


PolicyFragmentContractResource.GetReferences Method

Definition

Lists policy resources that reference the policy fragment.

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

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

Applies to