TrafficManagerProfileCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all Traffic Manager profiles within a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles
  • Operation Id: Profiles_ListByResourceGroup
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerProfileResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.TrafficManager.TrafficManagerProfileResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.TrafficManager.TrafficManagerProfileResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.TrafficManager.TrafficManagerProfileResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of TrafficManagerProfileResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to