Skip to content

Commit 6a06fba

Browse files
authored
Update parameter obsolete messages for SnapshotUpdate
1 parent 95702c6 commit 6a06fba

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/ResourceManager/Compute/Commands.Compute/Generated/Snapshot/Config/NewAzureRmSnapshotUpdateConfigCommand.cs

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,44 +60,39 @@ public class NewAzureRmSnapshotUpdateConfigCommand : Microsoft.Azure.Commands.Re
6060
Mandatory = false,
6161
ValueFromPipelineByPropertyName = true)]
6262
[Obsolete("This parameter is obsolete. CreateOption cannot be changed during updating a snapshot." +
63-
"This parameter was added due to a bug." +
64-
"To set CreateOption of a snapshot, use New-AzureRmSnapshotConfig command.",
63+
"To set the CreateOption of a snapshot, use New-AzureRmSnapshotConfig command.",
6564
false)]
6665
public DiskCreateOption? CreateOption { get; set; }
6766

6867
[Parameter(
6968
Mandatory = false,
7069
ValueFromPipelineByPropertyName = true)]
7170
[Obsolete("This parameter is obsolete. StorageAccountId cannot be changed during updating a snapshot." +
72-
"This parameter was added due to a bug." +
73-
"To set StorageAccountId of a snapshot, use New-AzureRmSnapshotConfig command.",
71+
"To set the StorageAccountId of a snapshot, use New-AzureRmSnapshotConfig command.",
7472
false)]
7573
public string StorageAccountId { get; set; }
7674

7775
[Parameter(
7876
Mandatory = false,
7977
ValueFromPipelineByPropertyName = true)]
8078
[Obsolete("This parameter is obsolete. ImageReference cannot be changed during updating a snapshot." +
81-
"This parameter was added due to a bug." +
82-
"To set ImageReference of a snapshot, use New-AzureRmSnapshotConfig command.",
79+
"To set the ImageReference of a snapshot, use New-AzureRmSnapshotConfig command.",
8380
false)]
8481
public ImageDiskReference ImageReference { get; set; }
8582

8683
[Parameter(
8784
Mandatory = false,
8885
ValueFromPipelineByPropertyName = true)]
8986
[Obsolete("This parameter is obsolete. SourceUri cannot be changed during updating a snapshot." +
90-
"This parameter was added due to a bug." +
91-
"To set SourceUri of a snapshot, use New-AzureRmSnapshotConfig command.",
87+
"To set the SourceUri of a snapshot, use New-AzureRmSnapshotConfig command.",
9288
false)]
9389
public string SourceUri { get; set; }
9490

9591
[Parameter(
9692
Mandatory = false,
9793
ValueFromPipelineByPropertyName = true)]
9894
[Obsolete("This parameter is obsolete. SourceResourceId cannot be changed during updating a snapshot." +
99-
"This parameter was added due to a bug." +
100-
"To set SourceResourceId of a snapshot, use New-AzureRmSnapshotConfig command.",
95+
"To set the SourceResourceId of a snapshot, use New-AzureRmSnapshotConfig command.",
10196
false)]
10297
public string SourceResourceId { get; set; }
10398

0 commit comments

Comments
 (0)