Share via


MockableNetworkFunctionSubscriptionResource.GetAzureTrafficCollectorsAsync Method

Definition

Return list of Azure Traffic Collectors in a subscription

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to