Skip to content

Commit 6e3e8c8

Browse files
committed
Rename Tags to Tag
1 parent cc13942 commit 6e3e8c8

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/ResourceManager/Sql/Commands.Sql/JobAgent/Cmdlet/NewAzureSqlJobAgent.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ public class NewAzureSqlJobAgent : AzureSqlJobAgentCmdletBase
5959
/// </summary>
6060
[Parameter(Mandatory = false,
6161
HelpMessage = "The tags to associate with the Azure Sql Job Account")]
62-
[Alias("Tag")]
63-
public Hashtable Tags { get; set; }
62+
public Hashtable Tag { get; set; }
6463

6564
/// <summary>
6665
/// Gets or sets whether or not to run this cmdlet in the background as a job
@@ -115,7 +114,7 @@ public class NewAzureSqlJobAgent : AzureSqlJobAgentCmdletBase
115114
ServerName = this.ServerName,
116115
JobAgentName = this.JobAgentName,
117116
DatabaseName = this.DatabaseName,
118-
Tags = TagsConversionHelper.CreateTagDictionary(Tags, validate: true),
117+
Tags = TagsConversionHelper.CreateTagDictionary(Tag, validate: true),
119118
}
120119
};
121120
return newEntity;

src/ResourceManager/Sql/Commands.Sql/help/New-AzureRmSqlJobAgent.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,12 @@ Accept pipeline input: True (ByPropertyName)
130130
Accept wildcard characters: False
131131
```
132132
133-
### -Tags
133+
### -Tag
134134
The tags to associate with the Azure Sql Job Account
135135
136136
```yaml
137137
Type: Hashtable
138138
Parameter Sets: (All)
139-
Aliases: Tag
140139

141140
Required: False
142141
Position: Named

0 commit comments

Comments
 (0)