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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to