/// <summary> /// Initializes a new instance of the /// IaasVMRestoreWithRehydrationRequest class. /// </summary> /// <param name="recoveryPointId">ID of the backup copy to be /// recovered.</param> /// <param name="recoveryType">Type of this recovery. Possible values /// include: 'Invalid', 'OriginalLocation', 'AlternateLocation', /// 'RestoreDisks', 'Offline'</param> /// <param name="sourceResourceId">Fully qualified ARM ID of the VM /// which is being recovered.</param> /// <param name="targetVirtualMachineId">This is the complete ARM Id of /// the VM that will be created. /// For e.g. /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}</param> /// <param name="targetResourceGroupId">This is the ARM Id of the /// resource group that you want to create for this Virtual machine and /// other artifacts. /// For e.g. /subscriptions/{subId}/resourcegroups/{rg}</param> /// <param name="storageAccountId">Fully qualified ARM ID of the /// storage account to which the VM has to be restored.</param> /// <param name="virtualNetworkId">This is the virtual network Id of /// the vnet that will be attached to the virtual machine. /// User will be validated for join action permissions in the linked /// access.</param> /// <param name="subnetId">Subnet ID, is the subnet ID associated with /// the to be restored VM. For Classic VMs it would be /// {VnetID}/Subnet/{SubnetName} and, for the Azure Resource Manager /// VMs it would be ARM resource ID used to represent /// the subnet.</param> /// <param name="targetDomainNameId">Fully qualified ARM ID of the /// domain name to be associated to the VM being restored. This applies /// only to Classic /// Virtual Machines.</param> /// <param name="region">Region in which the virtual machine is /// restored.</param> /// <param name="affinityGroup">Affinity group associated to VM to be /// restored. Used only for Classic Compute Virtual Machines.</param> /// <param name="createNewCloudService">Should a new cloud service be /// created while restoring the VM. If this is false, VM will be /// restored to the same /// cloud service as it was at the time of backup.</param> /// <param name="originalStorageAccountOption">Original Storage Account /// Option</param> /// <param name="encryptionDetails">Details needed if the VM was /// encrypted at the time of backup.</param> /// <param name="restoreDiskLunList">List of Disk LUNs for partial /// restore</param> /// <param name="restoreWithManagedDisks">Flag to denote of an /// Unmanaged disk VM should be restored with Managed disks.</param> /// <param name="diskEncryptionSetId">DiskEncryptionSet's ID - needed /// if the VM needs to be encrypted at rest during restore with /// customer managed key.</param> /// <param name="zones">Target zone where the VM and its disks should /// be restored.</param> /// <param name="recoveryPointRehydrationInfo">RP Rehydration /// Info</param> public IaasVMRestoreWithRehydrationRequest(string recoveryPointId = default(string), string recoveryType = default(string), string sourceResourceId = default(string), string targetVirtualMachineId = default(string), string targetResourceGroupId = default(string), string storageAccountId = default(string), string virtualNetworkId = default(string), string subnetId = default(string), string targetDomainNameId = default(string), string region = default(string), string affinityGroup = default(string), bool?createNewCloudService = default(bool?), bool?originalStorageAccountOption = default(bool?), EncryptionDetails encryptionDetails = default(EncryptionDetails), IList <int?> restoreDiskLunList = default(IList <int?>), bool?restoreWithManagedDisks = default(bool?), string diskEncryptionSetId = default(string), IList <string> zones = default(IList <string>), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo)) : base(recoveryPointId, recoveryType, sourceResourceId, targetVirtualMachineId, targetResourceGroupId, storageAccountId, virtualNetworkId, subnetId, targetDomainNameId, region, affinityGroup, createNewCloudService, originalStorageAccountOption, encryptionDetails, restoreDiskLunList, restoreWithManagedDisks, diskEncryptionSetId, zones) { RecoveryPointRehydrationInfo = recoveryPointRehydrationInfo; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// AzureWorkloadSAPHanaRestoreWithRehydrateRequest class. /// </summary> /// <param name="recoveryType">Type of this recovery. Possible values /// include: 'Invalid', 'OriginalLocation', 'AlternateLocation', /// 'RestoreDisks', 'Offline'</param> /// <param name="sourceResourceId">Fully qualified ARM ID of the VM on /// which workload that was running is being recovered.</param> /// <param name="propertyBag">Workload specific property bag.</param> /// <param name="targetInfo">Details of target database</param> /// <param name="recoveryMode">Defines whether the current recovery /// mode is file restore or database restore. Possible values include: /// 'Invalid', 'FileRecovery', 'WorkloadRecovery'</param> /// <param name="targetVirtualMachineId">This is the complete ARM Id of /// the target VM /// For e.g. /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}</param> /// <param name="recoveryPointRehydrationInfo">RP Rehydration /// Info</param> public AzureWorkloadSAPHanaRestoreWithRehydrateRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary <string, string> propertyBag = default(IDictionary <string, string>), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo)) : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId) { RecoveryPointRehydrationInfo = recoveryPointRehydrationInfo; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// AzureWorkloadSQLRestoreWithRehydrateRequest class. /// </summary> /// <param name="recoveryType">Type of this recovery. Possible values /// include: 'Invalid', 'OriginalLocation', 'AlternateLocation', /// 'RestoreDisks', 'Offline'</param> /// <param name="sourceResourceId">Fully qualified ARM ID of the VM on /// which workload that was running is being recovered.</param> /// <param name="propertyBag">Workload specific property bag.</param> /// <param name="targetInfo">Details of target database</param> /// <param name="recoveryMode">Defines whether the current recovery /// mode is file restore or database restore. Possible values include: /// 'Invalid', 'FileRecovery', 'WorkloadRecovery'</param> /// <param name="targetVirtualMachineId">This is the complete ARM Id of /// the target VM /// For e.g. /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}</param> /// <param name="shouldUseAlternateTargetLocation">Default option set /// to true. If this is set to false, alternate data directory must be /// provided</param> /// <param name="isNonRecoverable">SQL specific property where user can /// chose to set no-recovery when restore operation is tried</param> /// <param name="alternateDirectoryPaths">Data directory /// details</param> /// <param name="recoveryPointRehydrationInfo">RP Rehydration /// Info</param> public AzureWorkloadSQLRestoreWithRehydrateRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary <string, string> propertyBag = default(IDictionary <string, string>), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string), bool?shouldUseAlternateTargetLocation = default(bool?), bool?isNonRecoverable = default(bool?), IList <SQLDataDirectoryMapping> alternateDirectoryPaths = default(IList <SQLDataDirectoryMapping>), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo)) : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId, shouldUseAlternateTargetLocation, isNonRecoverable, alternateDirectoryPaths) { RecoveryPointRehydrationInfo = recoveryPointRehydrationInfo; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest class. /// </summary> /// <param name="recoveryType">Type of this recovery. Possible values /// include: 'Invalid', 'OriginalLocation', 'AlternateLocation', /// 'RestoreDisks', 'Offline'</param> /// <param name="sourceResourceId">Fully qualified ARM ID of the VM on /// which workload that was running is being recovered.</param> /// <param name="propertyBag">Workload specific property bag.</param> /// <param name="targetInfo">Details of target database</param> /// <param name="recoveryMode">Defines whether the current recovery /// mode is file restore or database restore. Possible values include: /// 'Invalid', 'FileRecovery', 'WorkloadRecovery'</param> /// <param name="pointInTime">PointInTime value</param> /// <param name="recoveryPointRehydrationInfo">RP Rehydration /// Info</param> public AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary <string, string> propertyBag = default(IDictionary <string, string>), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), System.DateTime?pointInTime = default(System.DateTime?), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo)) : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, pointInTime) { RecoveryPointRehydrationInfo = recoveryPointRehydrationInfo; CustomInit(); }