Sdílet prostřednictvím


NetworkExtensions.GetExpressRouteServiceProvidersAsync 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.AsyncPageable<Azure.ResourceManager.Network.Models.ExpressRouteServiceProvider> GetExpressRouteServiceProvidersAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRouteServiceProvidersAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ExpressRouteServiceProvider>
<Extension()>
Public Function GetExpressRouteServiceProvidersAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ExpressRouteServiceProvider)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to