MockablePeeringSubscriptionResource.GetPeeringServiceProviders Method

Definition

Lists all of the available peering service locations for the specified kind of peering.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceProviders
  • Operation Id: PeeringServiceProviders_List
public virtual Azure.Pageable<Azure.ResourceManager.Peering.Models.PeeringServiceProvider> GetPeeringServiceProviders (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPeeringServiceProviders : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Peering.Models.PeeringServiceProvider>
override this.GetPeeringServiceProviders : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Peering.Models.PeeringServiceProvider>
Public Overridable Function GetPeeringServiceProviders (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PeeringServiceProvider)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to