/// <summary> /// Initializes a new instance of the AzureWorkloadRestoreRequest /// 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> public AzureWorkloadRestoreRequest(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)) { RecoveryType = recoveryType; SourceResourceId = sourceResourceId; PropertyBag = propertyBag; TargetInfo = targetInfo; RecoveryMode = recoveryMode; TargetVirtualMachineId = targetVirtualMachineId; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// AzureWorkloadPointInTimeRestoreRequest 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="pointInTime">PointInTime value</param> public AzureWorkloadPointInTimeRestoreRequest(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), System.DateTime?pointInTime = default(System.DateTime?)) : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId) { PointInTime = pointInTime; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// AzureWorkloadSAPHanaRestoreRequest 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> public AzureWorkloadSAPHanaRestoreRequest(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)) : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId) { CustomInit(); }
/// <summary> /// Initializes a new instance of the AzureWorkloadSQLRestoreRequest /// 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> public AzureWorkloadSQLRestoreRequest(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>)) : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId) { ShouldUseAlternateTargetLocation = shouldUseAlternateTargetLocation; IsNonRecoverable = isNonRecoverable; AlternateDirectoryPaths = alternateDirectoryPaths; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// AzureWorkloadSQLPointInTimeRestoreRequest 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="pointInTime">PointInTime value</param> public AzureWorkloadSQLPointInTimeRestoreRequest(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>), System.DateTime?pointInTime = default(System.DateTime?)) : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId, shouldUseAlternateTargetLocation, isNonRecoverable, alternateDirectoryPaths) { PointInTime = pointInTime; CustomInit(); }