This template shows how to create an Azure Traffic Manager profile using external endpoints and the performance traffic routing method. To enable performance-based traffic routing, each endpoint needs an "endpointLocation" that specifies the closest Azure region.
The accompanying PowerShell script shows how to create a resource group from the template and read back the Traffic Manager profile details. Before running the script, edit azuredeploy.parameters.json and replace the values marked with '#####'.
See also:
- Traffic Manager routing methods for details of the different routing methods available.
- Create or update a Traffic Manager profile for details of the JSON elements relating to a Traffic Manager profile.