Skip to content

Commit 29d7c7b

Browse files
author
dragonfly91
committed
Moved common help messages to Common class
1 parent 31092e6 commit 29d7c7b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/ResourceManager/RecoveryServices.Backup/CmdletParameterHelpMessages.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,16 @@ internal static class Container
2626
{
2727
internal static class Get
2828
{
29-
public const string Vault = "The Azure Backup vault object which is the parent resource.";
3029
public const string Name = "The name of the resource being managed by the Azure Backup service (for example: resource name of the VM).";
3130
public const string ResourceGroupName = "The ResourceGroup of the resource being managed by the Azure Backup service (for example: ResourceGroup name of the VM).";
3231
public const string Status = "The registration status of the Azure Backup container.";
3332
public const string ContainerType = "The type of the Azure Backup container. This can be a Windows Server, an Azure IaaS VM, or a Data Protection Manager server.";
3433
}
3534
}
35+
36+
internal static class Common
37+
{
38+
public const string Vault = "The Azure Backup vault object which is the parent resource.";
39+
}
3640
}
3741
}

src/ResourceManager/RecoveryServices.Backup/Cmdlets/Container/GetAzureRmRecoveryServicesContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets
3131
[Cmdlet(VerbsCommon.Get, "AzureRmRecoveryServicesContainer"), OutputType(typeof(List<AzureRmRecoveryServicesContainerBase>), typeof(AzureRmRecoveryServicesContainerBase))]
3232
public class GetAzureRmRecoveryServicesContainer : RecoveryServicesBackupCmdletBase
3333
{
34-
[Parameter(Mandatory = false, HelpMessage = ParamHelpMsg.Container.Get.Vault, ValueFromPipeline = true)]
34+
[Parameter(Mandatory = false, HelpMessage = ParamHelpMsg.Common.Vault, ValueFromPipeline = true)]
3535
[ValidateNotNullOrEmpty]
3636
public ARSVault Vault { get; set; }
3737

0 commit comments

Comments
 (0)