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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to