-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container support for mercury #384
base: mercury_dev
Are you sure you want to change the base?
Conversation
b872eab
to
1ac99e4
Compare
d8cefdf
to
29a7e09
Compare
29a7e09
to
140a676
Compare
@@ -35,9 +36,13 @@ public class AzureWorkloadPsBackupProvider : IPsBackupProvider | |||
private const CmdletModel.RetentionDurationType defaultFileRetentionType = | |||
CmdletModel.RetentionDurationType.Days; | |||
private const int defaultFileRetentionCount = 30; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
vmContainer => string.Compare(vmContainer.Name.Split(';').Last(), | ||
containerName, true) == 0); | ||
|
||
if (unregisteredVmContainer != null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add an appropriate else statement which says "container already registered" message
[Parameter(Mandatory = true, Position = 1, | ||
HelpMessage = ParamHelpMsgs.Container.ResourceId)] | ||
[ValidateNotNullOrEmpty] | ||
public string ResourceId { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename property or add alias to enable piping
@@ -30,6 +30,7 @@ internal static class Container | |||
public const string RegisteredContainer = "The recovery services backup container."; | |||
public const string FriendlyName = "The name of the resource being managed by the" + | |||
" Azure Backup service (for example: resource name of the VM)."; | |||
public const string ResourceId = "Azure VM Id"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take Kartik's input
1ac99e4
to
c437ebe
Compare
Description
Checklist
CONTRIBUTING.md
platyPS
module