< Back

Get-AzureRmTrafficManagerEndpoint

Tue Jan 29, 2019 10:11 pm

NAME Get-AzureRmTrafficManagerEndpoint



SYNOPSIS

Gets an endpoint for a Traffic Manager profile.





SYNTAX

Get-AzureRmTrafficManagerEndpoint [-DefaultProfile <IAzureContextContainer>] -Name <String> -ProfileName <String> -ResourceGroupName <String>

-Type {AzureEndpoints | ExternalEndpoints | NestedEndpoints} [<CommonParameters>]



Get-AzureRmTrafficManagerEndpoint [-DefaultProfile <IAzureContextContainer>] -TrafficManagerEndpoint <TrafficManagerEndpoint> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmTrafficManagerEndpoint cmdlet gets an endpoint for an Azure Traffic Manager profile.



You can modify this object locally, and then apply changes to the profile by using the Set-AzureRmTrafficManagerEndpoint cmdlet. Specify the

endpoint by using the Name and Type parameters. You can specify the Traffic Manager profile either by using the ProfileName and ResourceGroupName

parameter, or by specifying a TrafficManagerProfile object. Alternatively, you can pass that value by using the pipeline.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of the Traffic Manager endpoint that this cmdlet gets.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ProfileName <String>

Specifies the name of the Traffic Manager endpoint that this cmdlet gets.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of a resource group. This cmdlet gets a Traffic Manager endpoint in the group that this parameter specifies.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-TrafficManagerEndpoint <TrafficManagerEndpoint>

Specifies the Traffic Manager endpoint that this cmdlet gets.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Type <String>

Specifies the type of endpoint that this cmdlet adds to the Traffic Manager profile. Valid values are:



- AzureEndpoints



- ExternalEndpoints



- NestedEndpoints



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

TrafficManagerEndpoint

Parameter 'TrafficManagerEndpoint' accepts value of type 'TrafficManagerEndpoint' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.TrafficManager.Models.TrafficManagerEndpoint







NOTES









Example 1: Get an endpoint



PS C:\\>$TrafficManagerEndpoint = Get-AzureRmTrafficManagerEndpoint -Name "contoso" -ProfileName "ContosoProfile" -ResourceGroupName

"ResourceGroup11" -Type AzureEndpoints



This command gets the Azure endpoint named contoso from the profile named ContosoProfile in the resource group named ResourceGroup11, and then

stores that object in the $TrafficManagerEndpoint variable.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... erendpoint

Disable-AzureRmTrafficManagerEndpoint

Enable-AzureRmTrafficManagerEndpoint

New-AzureRmTrafficManagerEndpoint

Remove-AzureRmTrafficManagerEndpointConfig

Set-AzureRmTrafficManagerEndpoint