/// <summary> /// Initializes a new instance of the <see cref="EnvBackupParams" /> class. /// </summary> /// <param name="exchangeBackupJobParams">exchangeBackupJobParams.</param> /// <param name="fileStubbingParams">fileStubbingParams.</param> /// <param name="fileUptieringParams">fileUptieringParams.</param> /// <param name="hypervBackupParams">hypervBackupParams.</param> /// <param name="nasBackupParams">nasBackupParams.</param> /// <param name="nosqlBackupJobParams">nosqlBackupJobParams.</param> /// <param name="o365BackupParams">o365BackupParams.</param> /// <param name="oracleBackupJobParams">oracleBackupJobParams.</param> /// <param name="outlookBackupParams">outlookBackupParams.</param> /// <param name="physicalBackupParams">physicalBackupParams.</param> /// <param name="snapshotManagerParams">snapshotManagerParams.</param> /// <param name="sqlBackupJobParams">sqlBackupJobParams.</param> /// <param name="vmwareBackupParams">vmwareBackupParams.</param> public EnvBackupParams(ExchangeBackupJobParams exchangeBackupJobParams = default(ExchangeBackupJobParams), FileStubbingParams fileStubbingParams = default(FileStubbingParams), FileUptieringParams fileUptieringParams = default(FileUptieringParams), HyperVBackupEnvParams hypervBackupParams = default(HyperVBackupEnvParams), NasBackupParams nasBackupParams = default(NasBackupParams), NoSqlBackupJobParams nosqlBackupJobParams = default(NoSqlBackupJobParams), O365BackupEnvParams o365BackupParams = default(O365BackupEnvParams), OracleBackupJobParams oracleBackupJobParams = default(OracleBackupJobParams), OutlookBackupEnvParams outlookBackupParams = default(OutlookBackupEnvParams), PhysicalBackupEnvParams physicalBackupParams = default(PhysicalBackupEnvParams), SnapshotManagerParams snapshotManagerParams = default(SnapshotManagerParams), SqlBackupJobParams sqlBackupJobParams = default(SqlBackupJobParams), VMwareBackupEnvParams vmwareBackupParams = default(VMwareBackupEnvParams)) { this.ExchangeBackupJobParams = exchangeBackupJobParams; this.FileStubbingParams = fileStubbingParams; this.FileUptieringParams = fileUptieringParams; this.HypervBackupParams = hypervBackupParams; this.NasBackupParams = nasBackupParams; this.NosqlBackupJobParams = nosqlBackupJobParams; this.O365BackupParams = o365BackupParams; this.OracleBackupJobParams = oracleBackupJobParams; this.OutlookBackupParams = outlookBackupParams; this.PhysicalBackupParams = physicalBackupParams; this.SnapshotManagerParams = snapshotManagerParams; this.SqlBackupJobParams = sqlBackupJobParams; this.VmwareBackupParams = vmwareBackupParams; }
/// <summary> /// Initializes a new instance of the <see cref="RestoreFilesParams" /> class. /// </summary> /// <param name="directoryNameSecurityStyleMap">Directory name security style map contains mapping of the directory name to security style it supports. This is needed to restore the same permission for the given directory for Qtrees..</param> /// <param name="isArchiveFlr">Whether this is a file restore operation from an archive..</param> /// <param name="isFileVolumeRestore">Whether this is a file based volume restore..</param> /// <param name="isMountBasedFlr">Whether this is a mount based file restore operation.</param> /// <param name="mountDisksOnVm">Whether this will attach disks or mount disks on the VM side OR use Storage Proxy RPCs to stream data..</param> /// <param name="nasProtocolTypeVec">The NAS protocol type(s) of this restore task. Currently we only support a single restore type. This field is only populated for NAS restore tasks..</param> /// <param name="proxyEntity">proxyEntity.</param> /// <param name="proxyEntityParentSource">proxyEntityParentSource.</param> /// <param name="restoreFilesPreferences">restoreFilesPreferences.</param> /// <param name="restoreMethod">Determines the type of method to be used to perform FLR..</param> /// <param name="restoredFileInfoVec">Information regarding files and directories..</param> /// <param name="targetEntity">targetEntity.</param> /// <param name="targetEntityCredentials">targetEntityCredentials.</param> /// <param name="targetEntityParentSource">targetEntityParentSource.</param> /// <param name="targetHostEntity">targetHostEntity.</param> /// <param name="targetHostType">The host environment type. This is set in VMware environment to indicate the OS type of the target entity. NOTE: This is expected to be set since magneto does not know the host type for VMware entities..</param> /// <param name="uptierParams">uptierParams.</param> /// <param name="useExistingAgent">Whether this will use an existing agent on the target VM to do the restore. This field is deprecated. restore_method should be used for populating use of existing agent..</param> /// <param name="vpcConnectorEntity">vpcConnectorEntity.</param> public RestoreFilesParams(List <RestoreFilesParamsDirectoryNameSecurityStyleMapEntry> directoryNameSecurityStyleMap = default(List <RestoreFilesParamsDirectoryNameSecurityStyleMapEntry>), bool?isArchiveFlr = default(bool?), bool?isFileVolumeRestore = default(bool?), bool?isMountBasedFlr = default(bool?), bool?mountDisksOnVm = default(bool?), List <int> nasProtocolTypeVec = default(List <int>), EntityProto proxyEntity = default(EntityProto), EntityProto proxyEntityParentSource = default(EntityProto), RestoreFilesPreferences restoreFilesPreferences = default(RestoreFilesPreferences), int?restoreMethod = default(int?), List <RestoredFileInfo> restoredFileInfoVec = default(List <RestoredFileInfo>), EntityProto targetEntity = default(EntityProto), Credentials targetEntityCredentials = default(Credentials), EntityProto targetEntityParentSource = default(EntityProto), EntityProto targetHostEntity = default(EntityProto), int?targetHostType = default(int?), FileUptieringParams uptierParams = default(FileUptieringParams), bool?useExistingAgent = default(bool?), EntityProto vpcConnectorEntity = default(EntityProto)) { this.DirectoryNameSecurityStyleMap = directoryNameSecurityStyleMap; this.IsArchiveFlr = isArchiveFlr; this.IsFileVolumeRestore = isFileVolumeRestore; this.IsMountBasedFlr = isMountBasedFlr; this.MountDisksOnVm = mountDisksOnVm; this.NasProtocolTypeVec = nasProtocolTypeVec; this.RestoreMethod = restoreMethod; this.RestoredFileInfoVec = restoredFileInfoVec; this.TargetHostType = targetHostType; this.UseExistingAgent = useExistingAgent; this.DirectoryNameSecurityStyleMap = directoryNameSecurityStyleMap; this.IsArchiveFlr = isArchiveFlr; this.IsFileVolumeRestore = isFileVolumeRestore; this.IsMountBasedFlr = isMountBasedFlr; this.MountDisksOnVm = mountDisksOnVm; this.NasProtocolTypeVec = nasProtocolTypeVec; this.ProxyEntity = proxyEntity; this.ProxyEntityParentSource = proxyEntityParentSource; this.RestoreFilesPreferences = restoreFilesPreferences; this.RestoreMethod = restoreMethod; this.RestoredFileInfoVec = restoredFileInfoVec; this.TargetEntity = targetEntity; this.TargetEntityCredentials = targetEntityCredentials; this.TargetEntityParentSource = targetEntityParentSource; this.TargetHostEntity = targetHostEntity; this.TargetHostType = targetHostType; this.UptierParams = uptierParams; this.UseExistingAgent = useExistingAgent; this.VpcConnectorEntity = vpcConnectorEntity; }