PeeringRegisteredPrefixCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all registered prefixes under the given subscription, resource group and peering.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}/registeredPrefixes
  • Operation Id: RegisteredPrefixes_ListByPeering
public virtual Azure.AsyncPageable<Azure.ResourceManager.Peering.PeeringRegisteredPrefixResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Peering.PeeringRegisteredPrefixResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Peering.PeeringRegisteredPrefixResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PeeringRegisteredPrefixResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to