Share via


NetworkExtensions.GetExpressRouteServiceProviders Method

Definition

Gets all the available express route service providers.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders
  • Operation Id: ExpressRouteServiceProviders_List
  • Default Api Version: 2024-03-01
public static Azure.Pageable<Azure.ResourceManager.Network.Models.ExpressRouteServiceProvider> GetExpressRouteServiceProviders (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRouteServiceProviders : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.ExpressRouteServiceProvider>
<Extension()>
Public Function GetExpressRouteServiceProviders (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ExpressRouteServiceProvider)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to