/// <summary>
 /// Initializes a new instance of the
 /// AzureWorkloadSAPHanaRestoreRequest class.
 /// </summary>
 /// <param name="targetInfo">Details of target database</param>
 /// <param name="recoveryType">OLR/ALR, RestoreDisks is invalid option.
 /// Possible values include: 'Invalid', 'OriginalLocation',
 /// 'AlternateLocation', 'RestoreDisks'</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>
 public AzureWorkloadSAPHanaRestoreRequest(TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryType = default(string), string sourceResourceId = default(string), IDictionary <string, string> propertyBag = default(IDictionary <string, string>))
 {
     TargetInfo       = targetInfo;
     RecoveryType     = recoveryType;
     SourceResourceId = sourceResourceId;
     PropertyBag      = propertyBag;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the AzureWorkloadSQLRestoreRequest
 /// class.
 /// </summary>
 /// <param name="recoveryType">OLR/ALR, RestoreDisks is invalid option.
 /// Possible values include: 'Invalid', 'OriginalLocation',
 /// 'AlternateLocation', 'RestoreDisks'</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="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="targetInfo">Details of target database</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>), bool?shouldUseAlternateTargetLocation = default(bool?), bool?isNonRecoverable = default(bool?), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), IList <SQLDataDirectoryMapping> alternateDirectoryPaths = default(IList <SQLDataDirectoryMapping>))
     : base(recoveryType, sourceResourceId, propertyBag)
 {
     ShouldUseAlternateTargetLocation = shouldUseAlternateTargetLocation;
     IsNonRecoverable        = isNonRecoverable;
     TargetInfo              = targetInfo;
     AlternateDirectoryPaths = alternateDirectoryPaths;
     CustomInit();
 }
 /// <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();
 }
Example #4
0
 /// <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();
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the
 /// AzureWorkloadPointInTimeRestoreRequest class.
 /// </summary>
 /// <param name="recoveryType">OLR/ALR, RestoreDisks is invalid option.
 /// Possible values include: 'Invalid', 'OriginalLocation',
 /// 'AlternateLocation', 'RestoreDisks'</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="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), System.DateTime?pointInTime = default(System.DateTime?))
     : base(recoveryType, sourceResourceId, propertyBag, targetInfo)
 {
     PointInTime = pointInTime;
     CustomInit();
 }
Example #6
0
 /// <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
 /// 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="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), 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, shouldUseAlternateTargetLocation, isNonRecoverable, alternateDirectoryPaths)
 {
     PointInTime = pointInTime;
     CustomInit();
 }
Example #8
0
 /// <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();
 }