Skip to content

Commit e96b5a9

Browse files
authored
remove breaking change messages (#24887)
* remove breaking change messages * update changelog * update the changelog message
1 parent f964fd4 commit e96b5a9

File tree

12 files changed

+10
-17
lines changed

12 files changed

+10
-17
lines changed

src/Accounts/Accounts/Config/ClearConfigCommand.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ----------------------------------------------------------------------------------
1+
// ----------------------------------------------------------------------------------
22
//
33
// Copyright Microsoft Corporation
44
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -25,7 +25,6 @@
2525

2626
namespace Microsoft.Azure.Commands.Common.Authentication.Config
2727
{
28-
[GenericBreakingChangeWithVersion("Parameter `DisableErrorRecordsPersistence` will be deprecated, a new parameter `EnableErrorRecordsPersistence` will be added instead. Writing error records to file system will become opt-in instead of opt-out. This change will happen around May 2024", "12.0.0", "2.X")]
2928
[Cmdlet("Clear", AzureRMConstants.AzureRMPrefix + "Config", SupportsShouldProcess = true, DefaultParameterSetName = ClearAll)]
3029
[OutputType(typeof(bool))]
3130
public class ClearConfigCommand : ConfigCommandBase, IDynamicParameters

src/Accounts/Accounts/Config/GetConfigCommand.cs

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

2626
namespace Microsoft.Azure.Commands.Common.Authentication.Config
2727
{
28-
[GenericBreakingChangeWithVersion("Parameter `DisableErrorRecordsPersistence` will be deprecated, a new parameter `EnableErrorRecordsPersistence` will be added instead. Writing error records to file system will become opt-in instead of opt-out. This change will happen around May 2024", "12.0.0", "2.X")]
2928
[Cmdlet(VerbsCommon.Get, AzureRMConstants.AzureRMPrefix + "Config")]
3029
[OutputType(typeof(PSConfig))]
3130
public class GetConfigCommand : ConfigCommandBase, IDynamicParameters

src/Accounts/Accounts/Config/UpdateConfigCommand.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ----------------------------------------------------------------------------------
1+
// ----------------------------------------------------------------------------------
22
//
33
// Copyright Microsoft Corporation
44
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -25,7 +25,6 @@
2525

2626
namespace Microsoft.Azure.Commands.Common.Authentication.Config
2727
{
28-
[GenericBreakingChangeWithVersion("Parameter `DisableErrorRecordsPersistence` will be deprecated, a new parameter `EnableErrorRecordsPersistence` will be added instead. Writing error records to file system will become opt-in instead of opt-out. This change will happen around May 2024", "12.0.0", "2.X")]
2928
[Cmdlet("Update", AzureRMConstants.AzureRMPrefix + "Config", SupportsShouldProcess = true)]
3029
[Alias("Set-AzConfig")]
3130
[OutputType(typeof(PSConfig))]

src/Batch/Batch/Certificates/GetBatchCertificateCommand.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ----------------------------------------------------------------------------------
1+
// ----------------------------------------------------------------------------------
22
//
33
// Copyright Microsoft Corporation
44
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,7 +20,6 @@
2020
namespace Microsoft.Azure.Commands.Batch
2121
{
2222
[System.Obsolete]
23-
[GenericBreakingChange("The Batch account certificates feature is deprecated. Please transition to using Azure Key Vault to securely access and install certificates on your Batch pools, learn more: https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide", "4.0.0", "02/29/2024")]
2423
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzurePrefix + "BatchCertificate", DefaultParameterSetName = Constants.ODataFilterParameterSet),OutputType(typeof(PSCertificate))]
2524
public class GetBatchCertificateCommand : BatchObjectModelCmdletBase
2625
{

src/Batch/Batch/Certificates/NewBatchCertificateCommand.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ----------------------------------------------------------------------------------
1+
// ----------------------------------------------------------------------------------
22
//
33
// Copyright Microsoft Corporation
44
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -23,7 +23,6 @@
2323
namespace Microsoft.Azure.Commands.Batch
2424
{
2525
[System.Obsolete]
26-
[GenericBreakingChange("The Batch account certificates feature is deprecated. Please transition to using Azure Key Vault to securely access and install certificates on your Batch pools, learn more: https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide", "4.0.0", "02/29/2024")]
2726
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzurePrefix + "BatchCertificate", DefaultParameterSetName = FileParameterSet), OutputType(typeof(void))]
2827
public class NewBatchCertificateCommand : BatchObjectModelCmdletBase
2928
{

src/Batch/Batch/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 the out-of-date breaking change message for `Get-AzBatchCertificate` and `New-AzBatchCertificate`.
2122

2223
## Version 3.6.0
2324
* Added new properties `ResourceTags` and `UpgradePolicy` to `PSCloudPool` and `PSPoolSpecification`.

src/Compute/Compute/Generated/GalleryImage/GalleryImageCreateOrUpdateMethod.cs

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

3434
namespace Microsoft.Azure.Commands.Compute.Automation
3535
{
36-
[GenericBreakingChangeWithVersionAttribute("Starting in May 2024 the \"New-AzGalleryImage\" cmdlet will deploy with the Trusted Launch configuration by default. To know more about Trusted Launch, please visit https://docs.microsoft.com/en-us/azure/virtual-machines/trusted-launch", "12.0.0", "8.0.0")]
3736
[Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "GalleryImageDefinition", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
3837
[OutputType(typeof(PSGalleryImage))]
3938
public partial class NewAzureRmGalleryImage : ComputeAutomationBaseCmdlet

src/CosmosDB/CosmosDB/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 the out-of-date breaking change message for `Get-AzCosmosDBAccountKey`.
2223

2324
## Version 1.14.2
2425
* Upgraded Azure.Core to 1.37.0.

src/CosmosDB/CosmosDB/CosmosDBAccount/GetAzCosmosDBAccountKey.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ----------------------------------------------------------------------------------
1+
// ----------------------------------------------------------------------------------
22
//
33
// Copyright Microsoft Corporation
44
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -24,7 +24,6 @@
2424

2525
namespace Microsoft.Azure.Commands.CosmosDB
2626
{
27-
[GenericBreakingChangeWithVersionAttribute("Output type for -Type ConnectionStrings will be changed to List<DatabaseAccountConnectionString> in next major version.", Constants.DeprecateByAzVersion12, Constants.DeprecateByVersion2)]
2827
[Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBAccountKey", DefaultParameterSetName = NameParameterSet), OutputType(typeof(Hashtable))]
2928
public class GetAzCosmosDBAccountKey : AzureCosmosDBCmdletBase
3029
{

src/KeyVault/KeyVault/Commands/Key/AddAzureKeyVaultKey.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ----------------------------------------------------------------------------------
1+
// ----------------------------------------------------------------------------------
22
//
33
// Copyright Microsoft Corporation
44
// Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)