Share via


MockableServiceNetworkingSubscriptionResource.GetTrafficControllersAsync Method

Definition

List TrafficController resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ServiceNetworking/trafficControllers
  • Operation Id: TrafficControllerInterface_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.ServiceNetworking.TrafficControllerResource> GetTrafficControllersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetTrafficControllersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceNetworking.TrafficControllerResource>
override this.GetTrafficControllersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceNetworking.TrafficControllerResource>
Public Overridable Function GetTrafficControllersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of TrafficControllerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to