O'Reilly logo

Hands-On Networking with Azure by Mohamed Waly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a nested endpoint using Azure PowerShell

To add a nested endpoint, you need to retrieve the child profile information and store it within a variable by running the following cmdlet:

$childEP = Get-AzureRmTrafficManagerEndpoint -Name childEP -ResourceGroupName PacktPub -Type AzureEndpoints -ProfileName PacktProfile

Then, you can create it by running the following cmdlet:

New-AzureRmTrafficManagerEndpoint -Name child-endpoint -ProfileName PacktProfile -ResourceGroupName PacktPub -Type NestedEndpoints -TargetResourceId $childEP.Id -EndpointStatus Enabled -EndpointLocation "West Europe" -MinChildEndpoints 1

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required