azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Get-AzureRmTrafficManagerProfile does not expose tags / Unable to add tags to Traffic Manager Profiles

Open rajaprad opened this issue 9 years ago • 8 comments

Cmdlet(s)

Get-AzureRmTrafficManagerProfile

PowerShell Version

5.0.10586.117

Module Version

2.7.0

OS Version

10.0.10586.117

Description

  1. Get-AzureRmTrafficManagerProfile does not expose tags.
  2. Adding tags from the portal does not work for Traffic Manager Profiles.
  3. 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.

rajaprad avatar Apr 11 '17 19:04 rajaprad

@vladca Hey Vlad, would you mind taking a look at this issue?

cormacpayne avatar Apr 14 '17 16:04 cormacpayne

@cormacpayne , @markcowl - is there any update on this pls

rajaprad avatar Apr 15 '17 05:04 rajaprad

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

kuulemart avatar Apr 26 '18 12:04 kuulemart

@dilukose, could you please update there or re-assign?

EvgenyAgafonchikov avatar Jan 22 '19 12:01 EvgenyAgafonchikov

@Praburaj

dilukose avatar Jan 28 '19 20:01 dilukose

@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

MikhailTryakhov avatar Jan 29 '19 05:01 MikhailTryakhov

@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.

rohinkoul avatar Feb 21 '19 19:02 rohinkoul

Asked to retry. please reopen if it's reproduced with more context

MikhailTryakhov avatar Feb 21 '19 22:02 MikhailTryakhov