From 39512630896858081ee463c24a4afcbcb58b9e4d Mon Sep 17 00:00:00 2001 From: Gokul Premraj Date: Wed, 19 Aug 2020 15:53:19 -0400 Subject: [PATCH 1/2] Add breaking change attribute for subscriptionId parameter in Get-AzResourceGroupDeploymentOperation --- .../GetAzureResourceGroupDeploymentOperationCmdlet.cs | 1 + src/Resources/Resources/ChangeLog.md | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Resources/ResourceManager/Implementation/ResourceGroupDeployments/GetAzureResourceGroupDeploymentOperationCmdlet.cs b/src/Resources/ResourceManager/Implementation/ResourceGroupDeployments/GetAzureResourceGroupDeploymentOperationCmdlet.cs index 03e1c4fbace6..85fad488e22b 100644 --- a/src/Resources/ResourceManager/Implementation/ResourceGroupDeployments/GetAzureResourceGroupDeploymentOperationCmdlet.cs +++ b/src/Resources/ResourceManager/Implementation/ResourceGroupDeployments/GetAzureResourceGroupDeploymentOperationCmdlet.cs @@ -43,6 +43,7 @@ public class GetAzureResourceGroupDeploymentOperationCmdlet : ResourceManagerCmd /// /// Gets or sets the subscription id parameter. /// + [CmdletParameterBreakingChange("SubscriptionId", ChangeDescription = "Parameter is being deprecated without being replaced")] [Parameter(Mandatory = false, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The subscription to use.")] [ValidateNotNullOrEmpty] public Guid? SubscriptionId { get; set; } diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index 5d671d32a27f..2fec6bcbcb6e 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -26,6 +26,7 @@ * Fixed the behaviors of `-WhatIf` and `-Confirm` for new deployment cmdlets so they comply with $WhatIfPreference and $ConfrimPreference * Fixed serialization error for `-TemplateObject` and `TemplateParameterObject` [#1528] [#6292] * Added breaking change attribute to `Get-AzResourceGroupDeploymentOperation` for the upcoming output type change +* Added breaking change attribute to `SubscriptionId` parameter of `Get-AzResourceGroupDeploymentOperation`. ## Version 2.4.0 * Added properties "Condition", "ConditionVersion" and "Description" to `New-AzRoleAssignment` From be2eaa08a2ca4f74de0f193b630d3fc0ce61042e Mon Sep 17 00:00:00 2001 From: Jin Lei <54836179+msJinLei@users.noreply.github.com> Date: Thu, 20 Aug 2020 15:12:43 +0800 Subject: [PATCH 2/2] Update ChangeLog.md Put the changelog item on the top. --- src/Resources/Resources/ChangeLog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index 2fec6bcbcb6e..5e2dd1e3e579 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Added breaking change attribute to `SubscriptionId` parameter of `Get-AzResourceGroupDeploymentOperation`. * Updated `Get-AzPolicyAlias` response to include information indicating whether the alias is modifiable by Azure Policy. * Created new cmdlet `Set-AzRoleAssignment` * Added `Get-AzDeploymentManagementGroupWhatIfResult` for getting ARM template What-If results at management Group scope @@ -26,7 +27,6 @@ * Fixed the behaviors of `-WhatIf` and `-Confirm` for new deployment cmdlets so they comply with $WhatIfPreference and $ConfrimPreference * Fixed serialization error for `-TemplateObject` and `TemplateParameterObject` [#1528] [#6292] * Added breaking change attribute to `Get-AzResourceGroupDeploymentOperation` for the upcoming output type change -* Added breaking change attribute to `SubscriptionId` parameter of `Get-AzResourceGroupDeploymentOperation`. ## Version 2.4.0 * Added properties "Condition", "ConditionVersion" and "Description" to `New-AzRoleAssignment`