MockableNetworkSubscriptionResource.GetExpressRouteServiceProvidersAsync Method

Definition

Gets all the available express route service providers.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders.
  • Operation Id. : ExpressRouteServiceProvidersOperationGroup_List.
  • Default Api Version. : 2025-07-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ExpressRouteServiceProvider> GetExpressRouteServiceProvidersAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetExpressRouteServiceProvidersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ExpressRouteServiceProvider>
override this.GetExpressRouteServiceProvidersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ExpressRouteServiceProvider>
Public Overridable Function GetExpressRouteServiceProvidersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ExpressRouteServiceProvider)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to