Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to