Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Remove-AzureTrafficManagerEndpoint

Remove-AzureTrafficManagerEndpoint

microsoft.windowsazure.commands.trafficmanager.dll

Synopsis

Removes an endpoint from a Traffic Manager profile.

Syntax

Remove-AzureTrafficManagerEndpoint [-DomainName] [-Force] [-TrafficManagerProfile] [<CommonParameters>]

Detailed Description

The Remove-AzureTrafficManagerEndpoint cmdlet removes an endpoint from a Microsoft Azure Traffic Manager profile. After you remove an endpoint, pass the result to the Set-AzureTrafficManagerProfile cmdlet by using the pipeline operator. That cmdlet connects to Azure to save your changes.

Parameters

-DomainName <String>

Specifies the domain name of the endpoint to remove.

Aliases

None

Required?

true

Position

named

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-Force <SwitchParameter>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-TrafficManagerProfile <IProfileWithDefinition>

Specifies the Traffic Manager profile object from which to remove the endpoint.

Aliases

None

Required?

true

Position

0

Default value

none

Accept pipeline input?

true (ByValue, ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

Microsoft.WindowsAzure.Commands.Utilities.TrafficManager.Models.IProfileWithDefinition

Notes

Examples

-------------------------- Example 1: Remove an endpoint from a profile --------------------------

The first command uses the Get-AzureTrafficManagerProfile cmdlet to get the profile named ContosoProfile, and then stores it in the $TrafficManagerProfile variable.

PS C:\>$TrafficManagerProfile = Get-AzureTrafficManagerProfile -Name "ContosoProfile"
PS C:\> Remove-AzureTrafficManagerEndpoint -TrafficManagerProfile $TrafficManagerProfile -DomainName "Contoso02App.cloudapp.net" | Set-AzureTrafficManagerProfile

Online Version
Add-AzureTrafficManagerEndpoint
Set-AzureTrafficManagerEndpoint
Get-AzureTrafficManagerProfile
Set-AzureTrafficManagerProfile