MockableNetworkFunctionSubscriptionResource.GetAzureTrafficCollectors 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.Pageable<Azure.ResourceManager.NetworkFunction.AzureTrafficCollectorResource> GetAzureTrafficCollectors (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAzureTrafficCollectors : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkFunction.AzureTrafficCollectorResource>
override this.GetAzureTrafficCollectors : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkFunction.AzureTrafficCollectorResource>
Public Overridable Function GetAzureTrafficCollectors (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AzureTrafficCollectorResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to