Share via


MockablePeeringSubscriptionResource.GetPeeringServiceCountries Method

Definition

Lists all of the available countries for peering service.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to