MockableTrafficManagerSubscriptionResource.GetTrafficManagerProfiles Method

Definition

Lists all Traffic Manager profiles within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles
  • Operation Id: Profiles_ListBySubscription
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerProfileResource
public virtual Azure.Pageable<Azure.ResourceManager.TrafficManager.TrafficManagerProfileResource> GetTrafficManagerProfiles (System.Threading.CancellationToken cancellationToken = default);
abstract member GetTrafficManagerProfiles : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.TrafficManager.TrafficManagerProfileResource>
override this.GetTrafficManagerProfiles : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.TrafficManager.TrafficManagerProfileResource>
Public Overridable Function GetTrafficManagerProfiles (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