Share via


PeeringRegisteredAsnCollection.GetAllAsync(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to