Skip to content

Conversation

@siddharth7
Copy link

Description

Checklist

@siddharth7 siddharth7 requested a review from shrac December 21, 2018 11:32
@siddharth7 siddharth7 force-pushed the users/sisi/mercury_container branch 2 times, most recently from d8cefdf to 29a7e09 Compare December 26, 2018 06:56
@siddharth7 siddharth7 force-pushed the users/sisi/mercury_container branch from 29a7e09 to 140a676 Compare December 26, 2018 07:51
private const string separator = ";";
private const CmdletModel.RetentionDurationType defaultFileRetentionType =
CmdletModel.RetentionDurationType.Days;
private const int defaultFileRetentionCount = 30;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this

Copy link
Author

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)
Copy link
Author

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; }
Copy link
Author

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

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";
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take Kartik's input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants