Share via


MockablePeeringSubscriptionResource.GetPeeringServicesAsync Method

Definition

Lists all of the peerings under the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServices
  • Operation Id: PeeringServices_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.Peering.PeeringServiceResource> GetPeeringServicesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPeeringServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Peering.PeeringServiceResource>
override this.GetPeeringServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Peering.PeeringServiceResource>
Public Overridable Function GetPeeringServicesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PeeringServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to