Get-AzureRmTrafficManagerProfile does not expose tags / Unable to add tags to Traffic Manager Profiles
Cmdlet(s)
Get-AzureRmTrafficManagerProfile
PowerShell Version
5.0.10586.117
Module Version
2.7.0
OS Version
10.0.10586.117
Description
- Get-AzureRmTrafficManagerProfile does not expose tags.
- Adding tags from the portal does not work for Traffic Manager Profiles.
- Set-AzureRmTrafficManagerProfile, do not have tags parameter exposed.
PS C:\Windows\system32> Get-AzureRmTrafficManagerProfile -Name "sample" -ResourceGroupName sample -Verbose VERBOSE: Success!
Id : /subscriptions/Hidden/resourceGroups/sample/providers /Microsoft.Network/trafficManagerProfiles/sample Name : sample ResourceGroupName : sample RelativeDnsName : sample Ttl : 30 ProfileStatus : Enabled TrafficRoutingMethod : Performance MonitorProtocol : HTTPS MonitorPort : 443 MonitorPath : /Ping/EndPointMonitor Endpoints : {nothing}
tags are not exposed.
Debug Output
Script/Steps for Reproduction
Set-AzureRmTrafficManagerProfile - does not have tags to set Get-AzureRmTrafficManagerProfile - does not expose tags Seems tags are not implemented in TrafficManager Profiles.
@vladca Hey Vlad, would you mind taking a look at this issue?
@cormacpayne , @markcowl - is there any update on this pls
Has anything changed?
Get-AzureRmTrafficManagerProfile from AzureRM.TrafficManager 4.0.3 still does not expose tags.
There is method ToSDKProfile() returning Microsoft.Azure.Management.TrafficManager.Models.Profile object with Tags attribute. But those tags are always empty.
Alternative is to use Azure-CLI that exposes tags: az network traffic-manager profile show
Buit it would be much nicer to consume tags using powershell cmdlet
@dilukose, could you please update there or re-assign?
@Praburaj
@rohinkoul can't assign you as assignee.. @MiYanni can you please help to add Rohin to appropriate group to make him able to assign tasks on him
@rajaprad This looks like an old issue. We tried to repro this but couldn't. Could you try again and see if this works on the latest PS version.
Asked to retry. please reopen if it's reproduced with more context