Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to