Monday, October 3, 2016

Create a Traffic Manager profile using Azure PowerShell

To create a Traffic Manager profile using Azure PowerShell, use the New-AzureTraficManagerProfile cmdlet.

For example, this code creates a profile named ContosoTM with a domain name of contoso-web-tm.trafficmanager.net,and a Failover load balancing method.

New-AzureTrafficManagerProfile -Name ContosoTM -DomainName contoso-web-tm.trafficmanager.net -LoadBalancingMethod Failover -MonitorPort 80 -MonitorProtocol Http -MonitorRelativePath "/" -Ttl 30

Featured Posts

Adding Accesspolicy to KeyVault for Service Principal Using Portal and Powershell

  Scripts path : https://drive.google.com/drive/folders/1sbBpnVFgXhUIXLdf2E9heyWDeU2f9427?usp=sharing  Adding Accesspolicy to KeyVault for S...