共用方式為


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to