Skip to content

Commit 9a6e1f6

Browse files
authored
remove outdated upcoming breaking change warning (#23597)
* remove outdated upcoming breaking change warning * keep storage message for future version
1 parent 3405966 commit 9a6e1f6

20 files changed

+4
-46
lines changed

src/Compute/Compute/Generated/Disk/DiskCreateOrUpdateMethod.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040

4141
namespace Microsoft.Azure.Commands.Compute.Automation
4242
{
43-
[GenericBreakingChangeWithVersion("Starting in November 2023 the \"New-AzDisk\" cmdlet will deploy with the Trusted Launch configuration by default. This includes defaulting the \"HyperVGeneration\" parameter to \"v2\". To know more about Trusted Launch, please visit https://aka.ms/TLaD",
44-
"11.0.0", "7.0.0")]
4543
[Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Disk", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
4644
[OutputType(typeof(PSDisk))]
4745
public partial class NewAzureRmDisk : ComputeAutomationBaseCmdlet

src/Compute/Compute/Generated/VirtualMachineScaleSet/VirtualMachineScaleSetCreateOrUpdateMethod.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040

4141
namespace Microsoft.Azure.Commands.Compute.Automation
4242
{
43-
[GenericBreakingChangeWithVersion("Starting November 2023, the \"New-AzVmss\" cmdlet will default to Trusted Launch VMSS. For more info, visit https://aka.ms/TLaD.", "11.0.0", "7.0.0")]
44-
4543
[Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Vmss", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
4644
[OutputType(typeof(PSVirtualMachineScaleSet))]
4745
public partial class NewAzureRmVmss : ComputeAutomationBaseCmdlet

src/Compute/Compute/VirtualMachine/Operation/NewAzureVMCommand.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757

5858
namespace Microsoft.Azure.Commands.Compute
5959
{
60-
[GenericBreakingChangeWithVersion("Starting in November 2023 the \"New-AzVM\" cmdlet will deploy with the Trusted Launch configuration by default. To know more about Trusted Launch, please visit https://aka.ms/TLaD", "11.0.0", "7.0.0")]
6160
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VM", SupportsShouldProcess = true, DefaultParameterSetName = "SimpleParameterSet")]
6261
[OutputType(typeof(PSAzureOperationResponse), typeof(PSVirtualMachine))]
6362
public class NewAzureVMCommand : VirtualMachineBaseCmdlet

src/Maintenance/Maintenance/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Removed outdated upcoming breaking change warning
2223

2324
## Version 1.4.0
2425
* Added support for maintenance configuration cancellation.

src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationCreateOrUpdateMethod.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,11 @@ public override void ExecuteCmdlet()
261261
HelpMessage = "Install Patch Reboot Option. Allowed values Never, IfRequired, Always")]
262262
public string InstallPatchRebootSetting { get; set; }
263263

264-
[CmdletParameterBreakingChangeWithVersionAttribute("PreTask", "11.0.0", "2.0.0", ChangeDescription = "Parameter is being deprecated without being replaced")]
265264
[Parameter(
266265
Mandatory = false,
267266
HelpMessage = "List of tasks executed before schedule. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]. This parameter is used to specify a command or script that should be run before the maintenance tasks are performed. This can be used to perform any necessary preparations or cleanup actions before the maintenance tasks are run. This parameter accepts a string value that specifies the command or script to be run. The command or script can be specified as a simple string or as an array of strings. If an array of strings is specified, each element in the array will be treated as a separate command or script.")]
268267
public string PreTask { get; set; }
269268

270-
[CmdletParameterBreakingChangeWithVersionAttribute("PostTask", "11.0.0", "2.0.0", ChangeDescription = "Parameter is being deprecated without being replaced")]
271269
[Parameter(
272270
Mandatory = false,
273271
HelpMessage = "List of tasks executed after schedule. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]. This parameter is used to specify a command or script that should be run after the maintenance tasks are performed. This can be used to perform any necessary follow-up actions after the maintenance tasks are completed. This parameter accepts a string value that specifies the command or script to be run. The command or script can be specified as a simple string or as an array of strings. If an array of strings is specified, each element in the array will be treated as a separate command or script.")]

src/RecoveryServices/RecoveryServices/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Removed outdated upcoming breaking change warning
2122

2223
## Version 6.6.1
2324
* Fixed minor issues

src/RecoveryServices/RecoveryServices/Vault/GetAzureRMRecoveryServicesVaultSettingsFile.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ public class GetAzureRmRecoveryServicesVaultSettingsFile : RecoveryServicesCmdle
8787
/// <summary>
8888
/// Gets or sets Certificate.
8989
/// </summary>
90-
[CmdletParameterBreakingChangeWithVersion("Certificate", "11.0.0", "7.0.0", ChangeDescription = "Parameter is being deprecated without being replaced")]
9190
[Parameter(ParameterSetName = ARSParameterSets.ForSiteWithCertificate, Mandatory = false)]
9291
[Parameter(ParameterSetName = ARSParameterSets.ByDefaultWithCertificate, Mandatory = false)]
9392
[Parameter(ParameterSetName = ARSParameterSets.ForBackupVaultTypeWithCertificate, Mandatory = false)]

src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAssignment.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2727
/// <summary>
2828
/// Gets the policy assignment.
2929
/// </summary>
30-
[CmdletOutputBreakingChangeWithVersion(
31-
typeof(PsPolicyAssignment), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" },
32-
NewOutputProperties = new[] { "Description", "DisplayName", "EnforcementMode", "Metadata", "NonComplianceMessages", "NotScopes", "Parameters", "PolicyDefinitionId", "Scope" })]
3330
[Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyAssignment", DefaultParameterSetName = PolicyCmdletBase.DefaultParameterSet), OutputType(typeof(PsPolicyAssignment))]
3431
public class GetAzurePolicyAssignmentCmdlet : PolicyCmdletBase
3532
{

src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyDefinition.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2929
/// <summary>
3030
/// Gets the policy definition.
3131
/// </summary>
32-
[CmdletOutputBreakingChangeWithVersion(
33-
typeof(PsPolicyDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" },
34-
NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Mode", "Parameters", "PolicyRule", "PolicyType" })]
3532
[Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyDefinition))]
3633
public class GetAzurePolicyDefinitionCmdlet : PolicyCmdletBase
3734
{

src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyExemption.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
2727
/// <summary>
2828
/// Gets the policy exemption.
2929
/// </summary>
30-
[CmdletOutputBreakingChangeWithVersion(
31-
typeof(PsPolicyExemption), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" },
32-
NewOutputProperties = new[] { "Description", "DisplayName", "ExemptionCategory", "ExpiresOn", "Metadata", "PolicyAssignmentId", "PolicyDefinitionReferenceIds" })]
3330
[Cmdlet(VerbsCommon.Get, AzureRMConstants.AzureRMPrefix + "PolicyExemption", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyExemption))]
3431
public class GetAzurePolicyExemptionCmdlet : PolicyCmdletBase
3532
{

0 commit comments

Comments
 (0)