Skip to content

[RecoveryServices] Adding support for restore item for azure file share #7681

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

Merged
merged 4 commits into from
Oct 30, 2018

Conversation

siddharth7
Copy link
Contributor

Description

https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/113

Checklist

dragonfly91
dragonfly91 previously approved these changes Oct 29, 2018
[Parameter(Mandatory = true, Position = 3, ParameterSetName = AzureFileParameterSet,
HelpMessage = ParamHelpMsgs.RestoreFS.ResolveConflict)]
[ValidateNotNullOrEmpty]
public RestoreFSResolveConfictOption ResolveConflict { get; set; }
Copy link
Member

Choose a reason for hiding this comment

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

Confict -> Conflict

Copy link
Member

Choose a reason for hiding this comment

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

Also, please remove the position setting for all positions >= 3

/// <summary>
/// Source File Path of the file to be recovered
/// </summary>
[Parameter(Mandatory = false, Position = 4, ParameterSetName = AzureFileParameterSet,
Copy link
Member

Choose a reason for hiding this comment

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

remove position

/// <summary>
/// Source File Type of the file to be recovered
/// </summary>
[Parameter(Mandatory = false, Position = 5, ParameterSetName = AzureFileParameterSet,
Copy link
Member

Choose a reason for hiding this comment

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

remove position

/// <summary>
/// Target storage account name where the disks need to be recovered
/// </summary>
[Parameter(Mandatory = false, Position = 6, ParameterSetName = AzureFileParameterSet,
Copy link
Member

Choose a reason for hiding this comment

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

remove position

/// <summary>
/// The target file share name to which the files are restored.
/// </summary>
[Parameter(Mandatory = false, Position = 7, ParameterSetName = AzureFileParameterSet,
Copy link
Member

Choose a reason for hiding this comment

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

remove position

/// <summary>
/// The target folder name to which the files are restored.
/// </summary>
[Parameter(Mandatory = false, Position = 8, ParameterSetName = AzureFileParameterSet,
Copy link
Member

Choose a reason for hiding this comment

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

remove position

"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.RecoveryServices.Backup\Microsoft.Azure.Commands.RecoveryServices.Backup.dll","Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.GetAzureRmRecoveryServicesBackupItem","Get-AzureRmRecoveryServicesBackupItem","1","8420","Parameter set 'GetItemsForPolicy' of cmdlet 'Get-AzureRmRecoveryServicesBackupItem' contains at least one parameter with a position larger than four, which is discouraged.","Limit the number of positional parameters in a single parameter set to four or fewer."
Copy link
Member

Choose a reason for hiding this comment

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

remove these

"C:\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.RecoveryServices.Backup\Microsoft.Azure.Commands.RecoveryServices.Backup.dll","Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.GetAzureRmRecoveryServicesBackupItem","Get-AzureRmRecoveryServicesBackupItem","1","8420","Parameter set 'GetItemsForPolicy' of cmdlet 'Get-AzureRmRecoveryServicesBackupItem' contains at least one parameter with a position larger than four, which is discouraged.","Limit the number of positional parameters in a single parameter set to four or fewer."
Copy link
Member

Choose a reason for hiding this comment

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

remove these

@markcowl markcowl merged commit 53a4d2b into Azure:preview Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants