Share via


TrafficManagerExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.TrafficManager.

public static class TrafficManagerExtensions
type TrafficManagerExtensions = class
Public Module TrafficManagerExtensions
Inheritance
TrafficManagerExtensions

Methods

CheckTrafficManagerNameAvailabilityV2(SubscriptionResource, TrafficManagerRelativeDnsNameAvailabilityContent, CancellationToken)

Checks the availability of a Traffic Manager Relative DNS name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/checkTrafficManagerNameAvailabilityV2
  • Operation Id: Profiles_checkTrafficManagerNameAvailabilityV2
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerProfileResource
CheckTrafficManagerNameAvailabilityV2Async(SubscriptionResource, TrafficManagerRelativeDnsNameAvailabilityContent, CancellationToken)

Checks the availability of a Traffic Manager Relative DNS name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/checkTrafficManagerNameAvailabilityV2
  • Operation Id: Profiles_checkTrafficManagerNameAvailabilityV2
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerProfileResource
CheckTrafficManagerRelativeDnsNameAvailability(TenantResource, TrafficManagerRelativeDnsNameAvailabilityContent, CancellationToken)

Checks the availability of a Traffic Manager Relative DNS name.

  • Request Path: /providers/Microsoft.Network/checkTrafficManagerNameAvailability
  • Operation Id: Profiles_CheckTrafficManagerRelativeDnsNameAvailability
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerProfileResource
CheckTrafficManagerRelativeDnsNameAvailabilityAsync(TenantResource, TrafficManagerRelativeDnsNameAvailabilityContent, CancellationToken)

Checks the availability of a Traffic Manager Relative DNS name.

  • Request Path: /providers/Microsoft.Network/checkTrafficManagerNameAvailability
  • Operation Id: Profiles_CheckTrafficManagerRelativeDnsNameAvailability
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerProfileResource
GetTrafficManagerEndpointResource(ArmClient, ResourceIdentifier)

Gets an object representing a TrafficManagerEndpointResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a TrafficManagerEndpointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTrafficManagerEndpointResource(ResourceIdentifier) instead.

GetTrafficManagerGeographicHierarchy(TenantResource)

Gets an object representing a TrafficManagerGeographicHierarchyResource along with the instance operations that can be performed on it in the TenantResource. MockingTo mock this method, please mock GetTrafficManagerGeographicHierarchy() instead.

GetTrafficManagerGeographicHierarchyResource(ArmClient, ResourceIdentifier)

Gets an object representing a TrafficManagerGeographicHierarchyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier() to create a TrafficManagerGeographicHierarchyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTrafficManagerGeographicHierarchyResource(ResourceIdentifier) instead.

GetTrafficManagerHeatMapResource(ArmClient, ResourceIdentifier)

Gets an object representing a TrafficManagerHeatMapResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, TrafficManagerHeatMapType) to create a TrafficManagerHeatMapResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTrafficManagerHeatMapResource(ResourceIdentifier) instead.

GetTrafficManagerProfile(ResourceGroupResource, String, CancellationToken)

Gets a Traffic Manager profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}
  • Operation Id: Profiles_Get
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerProfileResource
GetTrafficManagerProfileAsync(ResourceGroupResource, String, CancellationToken)

Gets a Traffic Manager profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}
  • Operation Id: Profiles_Get
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerProfileResource
GetTrafficManagerProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing a TrafficManagerProfileResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a TrafficManagerProfileResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTrafficManagerProfileResource(ResourceIdentifier) instead.

GetTrafficManagerProfiles(ResourceGroupResource)

Gets a collection of TrafficManagerProfileResources in the ResourceGroupResource. MockingTo mock this method, please mock GetTrafficManagerProfiles() instead.

GetTrafficManagerProfiles(SubscriptionResource, CancellationToken)

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
GetTrafficManagerProfilesAsync(SubscriptionResource, CancellationToken)

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
GetTrafficManagerUserMetrics(SubscriptionResource)

Gets an object representing a TrafficManagerUserMetricsResource along with the instance operations that can be performed on it in the SubscriptionResource. MockingTo mock this method, please mock GetTrafficManagerUserMetrics() instead.

GetTrafficManagerUserMetricsResource(ArmClient, ResourceIdentifier)

Gets an object representing a TrafficManagerUserMetricsResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a TrafficManagerUserMetricsResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTrafficManagerUserMetricsResource(ResourceIdentifier) instead.

Applies to