Skip to content

Commit 5665838

Browse files
author
Samuel Anudeep
committed
Updated deprecation messages.
1 parent 6f02219 commit 5665838

25 files changed

+27
-25
lines changed

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2424
/// <summary>
2525
/// Backup Azue Backup Item
2626
/// </summary>
27-
[CmdletDeprecation()]
27+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2828
[Cmdlet("Backup", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupItem"), OutputType(typeof(AzureRMBackupJob))]
2929
public class BackupAzureRMBackupItem : AzureRMBackupDSCmdletBase
3030
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2323
/// <summary>
2424
/// Enables reregistration of a machine container
2525
/// </summary>
26-
[CmdletDeprecation()]
26+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2727
[Cmdlet("Enable", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupContainerReregistration"), OutputType(typeof(void))]
2828
public class EnableAzureRMBackupContainerReregistration : AzureBackupContainerCmdletBase
2929
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2626
/// <summary>
2727
/// Get list of containers
2828
/// </summary>
29-
[CmdletDeprecation()]
29+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
3030
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupContainer"), OutputType(typeof(AzureRMBackupContainer))]
3131
public class GetAzureRMBackupContainer : AzureBackupVaultCmdletBase
3232
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2727
/// <summary>
2828
/// Get list of containers
2929
/// </summary>
30-
[CmdletDeprecation()]
30+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
3131
[Cmdlet("Register", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupContainer"), OutputType(typeof(AzureRMBackupJob))]
3232
public class RegisterAzureRMBackupContainer : AzureBackupVaultCmdletBase
3333
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2424
/// <summary>
2525
/// Get list of containers
2626
/// </summary>
27-
[CmdletDeprecation()]
27+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2828
[Cmdlet("Unregister", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupContainer", SupportsShouldProcess = true), OutputType(typeof(AzureRMBackupJob))]
2929
public class UnregisterAzureRMBackupContainer : AzureBackupContainerCmdletBase
3030
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets.DataSource
2525
/// <summary>
2626
/// Disable Azure Backup protection
2727
/// </summary>
28-
[CmdletDeprecation()]
28+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2929
[Cmdlet("Disable", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupProtection", SupportsShouldProcess = true), OutputType(typeof(AzureRMBackupJob))]
3030
public class DisableAzureRMBackupProtection : AzureRMBackupDSCmdletBase
3131
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2525
/// <summary>
2626
/// Enable Azure Backup protection
2727
/// </summary>
28-
[CmdletDeprecation()]
28+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2929
[Cmdlet("Enable", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupProtection"), OutputType(typeof(AzureRMBackupJob))]
3030
public class EnableAzureRMBackupProtection : AzureRMBackupItemCmdletBase
3131
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2525
/// <summary>
2626
/// Get list of azure backup items
2727
/// </summary>
28-
[CmdletDeprecation()]
28+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2929
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupItem"), OutputType(typeof(AzureRMBackupItem))]
3030
public class GetAzureRMBackupItem : AzureBackupContainerCmdletBase
3131
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2727
/// <summary>
2828
/// Get list of jobs pertaining to the filters specified. Gets list of all jobs created in the last 24 hours if no filters are specified.
2929
/// </summary>
30-
[CmdletDeprecation()]
30+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
3131
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupJob", DefaultParameterSetName = "FiltersSet"), OutputType(typeof(AzureRMBackupJob))]
3232
public class GetAzureRMBackupJob : AzureBackupCmdletBase
3333
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2424
/// <summary>
2525
/// Get full details of a job
2626
/// </summary>
27-
[CmdletDeprecation()]
27+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2828
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupJobDetails", DefaultParameterSetName = "JobsFiltersSet"), OutputType(typeof(AzureRMBackupJobDetails))]
2929
public class GetAzureRMBackupJobDetils : AzureBackupCmdletBase
3030
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2424
/// <summary>
2525
/// Stop a running cancellable job
2626
/// </summary>
27-
[CmdletDeprecation()]
27+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2828
[Cmdlet("Stop", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupJob"), OutputType(typeof(void))]
2929
public class StopAzureRMBackupJob : AzureBackupCmdletBase
3030
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2626
{
27-
[CmdletDeprecation()]
27+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2828
[Cmdlet("Wait", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupJob"), OutputType(typeof(AzureRMBackupJob))]
2929
public class WaitAzureRMBackupJob : AzureBackupCmdletBase
3030
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2222
/// <summary>
2323
/// Get list of protection policies
2424
/// </summary>
25-
[CmdletDeprecation()]
25+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2626
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupProtectionPolicy"), OutputType(typeof(AzureRMBackupProtectionPolicy))]
2727
public class GetAzureRMBackupProtectionPolicy : AzureBackupVaultCmdletBase
2828
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2525
/// <summary>
2626
/// Create new protection policy
2727
/// </summary>
28-
[CmdletDeprecation()]
28+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2929
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupProtectionPolicy))]
3030
public class NewAzureRMBackupProtectionPolicy : AzureBackupVaultCmdletBase
3131
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2525
/// <summary>
2626
/// Create new retention policy object.
2727
/// </summary>
28-
[CmdletDeprecation()]
28+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2929
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupRetentionPolicyObject"), OutputType(typeof(AzureRMBackupRetentionPolicy))]
3030
public class NewAzureRMBackupRetentionPolicyObject : AzureBackupCmdletBase
3131
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2222
/// <summary>
2323
/// Remove a protection policy
2424
/// </summary>
25-
[CmdletDeprecation()]
25+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2626
[Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupProtectionPolicy", SupportsShouldProcess = true), OutputType(typeof(void))]
2727
public class RemoveAzureRMBackupProtectionPolicy : AzureBackupPolicyCmdletBase
2828
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2828
/// <summary>
2929
/// Update existing protection policy
3030
/// </summary>
31-
[CmdletDeprecation()]
31+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
3232
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupJob))]
3333
public class SetAzureRMBackupProtectionPolicy : AzureBackupPolicyCmdletBase
3434
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2525
/// <summary>
2626
/// Get list of Azure Recovery Points
2727
/// </summary>
28-
[CmdletDeprecation()]
28+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2929
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupRecoveryPoint"), OutputType(typeof(AzureRMBackupRecoveryPoint))]
3030
public class GetAzureRMBackupRecoveryPoint : AzureRMBackupDSCmdletBase
3131
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2626
/// <summary>
2727
/// Restore Azure Backup Item
2828
/// </summary>
29-
[CmdletDeprecation()]
29+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
3030
[Cmdlet("Restore", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupItem"), OutputType(typeof(AzureRMBackupJob))]
3131
public class RestoreAzureRMBackupItem : AzureBackupRestoreBase
3232
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2727
/// <summary>
2828
/// Command to get azure backup vaults in a subscription
2929
/// </summary>
30-
[CmdletDeprecation()]
30+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
3131
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupVault"), OutputType(typeof(AzureRMBackupVault))]
3232
public class GetAzureRMBackupVault : AzureBackupCmdletBase
3333
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2525
/// <summary>
2626
/// Command to create an azure backup vault in a subscription
2727
/// </summary>
28-
[CmdletDeprecation()]
28+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2929
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupVault"), OutputType(typeof(AzureRMBackupVault))]
3030
public class NewAzureRMBackupVault : AzureBackupCmdletBase
3131
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2222
/// <summary>
2323
/// Command to remove an azure backup vault in the subscription
2424
/// </summary>
25-
[CmdletDeprecation()]
25+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2626
[Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupVault", SupportsShouldProcess = true), OutputType(typeof(void))]
2727
public class RemoveAzureRMBackupVault : AzureBackupVaultCmdletBase
2828
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
2525
/// <summary>
2626
/// Command to update an azure backup vault in a subscription.
2727
/// </summary>
28-
[CmdletDeprecation()]
28+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
2929
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupVault"), OutputType(typeof(CmdletModel.AzureRMBackupVault))]
3030
public class SetAzureRMBackupVault : AzureBackupVaultCmdletBase
3131
{

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
3131
/// <summary>
3232
/// Command to download an azure backup vault's credentials.
3333
/// </summary>
34-
[CmdletDeprecation()]
34+
[CmdletDeprecation("This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.")]
3535
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BackupVaultCredentials"), OutputType(typeof(string))]
3636
public class GetAzureRMBackupVaultCredentials : AzureBackupVaultCmdletBase
3737
{

src/ResourceManager/AzureBackup/documentation/upcoming-breaking-changes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@
2525
https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes/breaking-change-template.md
2626
-->
2727

28-
# Upcoming Breaking Changes
28+
# Upcoming Breaking Changes
29+
30+
This module is going to be deprecated. Please use AzureRM.RecoveryServices.Backup or Az.RecoveryServices.Backup moving forward.

0 commit comments

Comments
 (0)