Skip to content

Commit ae6acb2

Browse files
committed
Write a warning for New-AzureRmTrafficManagerProfile
1 parent fb2722c commit ae6acb2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/NewAzureTrafficManagerProfile.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ public override void ExecuteCmdlet()
7676
// Therefore, we need to check whether the Profile exists before we actually try to create it.
7777
try
7878
{
79+
WriteWarning("The usage of Tag parameter in this cmdlet will be modified in a future release. This will impact creating, updating and appending tags for Azure resources. For more details about the change, please visit https://github.com/Azure/azure-powershell/issues/726#issuecomment-213545494");
80+
7981
this.TrafficManagerClient.GetTrafficManagerProfile(this.ResourceGroupName, this.Name);
8082

8183
throw new PSArgumentException(string.Format(ProjectResources.Error_CreateExistingProfile, this.Name, this.ResourceGroupName));

0 commit comments

Comments
 (0)