ExpressRoutePortsLocationCollection.GetAll(CancellationToken) Method

Definition

Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations
  • Operation Id: ExpressRoutePortsLocations_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRoutePortsLocationResource
public virtual Azure.Pageable<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ExpressRoutePortsLocationResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to