BackupRestoreWithRehydrationContent Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BackupRestoreWithRehydrationContent.
public BackupRestoreWithRehydrationContent (Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase restoreTargetInfo, Azure.ResourceManager.DataProtectionBackup.Models.SourceDataStoreType sourceDataStoreType, string recoveryPointId, Azure.ResourceManager.DataProtectionBackup.Models.BackupRehydrationPriority rehydrationPriority, TimeSpan rehydrationRetentionDuration);
new Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreWithRehydrationContent : Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase * Azure.ResourceManager.DataProtectionBackup.Models.SourceDataStoreType * string * Azure.ResourceManager.DataProtectionBackup.Models.BackupRehydrationPriority * TimeSpan -> Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreWithRehydrationContent
Public Sub New (restoreTargetInfo As RestoreTargetInfoBase, sourceDataStoreType As SourceDataStoreType, recoveryPointId As String, rehydrationPriority As BackupRehydrationPriority, rehydrationRetentionDuration As TimeSpan)
Parameters
- restoreTargetInfo
- RestoreTargetInfoBase
Gets or sets the restore target information. Please note RestoreTargetInfoBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ItemLevelRestoreTargetInfo, RestoreFilesTargetInfo and RestoreTargetInfo.
- sourceDataStoreType
- SourceDataStoreType
Gets or sets the type of the source data store.
- recoveryPointId
- String
- rehydrationPriority
- BackupRehydrationPriority
Priority to be used for rehydration. Values High or Standard.
- rehydrationRetentionDuration
- TimeSpan
Retention duration in ISO 8601 format i.e P10D .
Exceptions
restoreTargetInfo
or recoveryPointId
is null.
Applies to
Azure SDK for .NET