Aracılığıyla paylaş


ExpressRoutePortsLocationCollection.GetAllAsync(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.AsyncPageable<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ExpressRoutePortsLocationResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to