共用方式為


BackupRecoveryTimeBasedRestoreContent Constructor

Definition

Initializes a new instance of BackupRecoveryTimeBasedRestoreContent.

public BackupRecoveryTimeBasedRestoreContent (Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase restoreTargetInfo, Azure.ResourceManager.DataProtectionBackup.Models.SourceDataStoreType sourceDataStoreType, DateTimeOffset recoverOn);
new Azure.ResourceManager.DataProtectionBackup.Models.BackupRecoveryTimeBasedRestoreContent : Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase * Azure.ResourceManager.DataProtectionBackup.Models.SourceDataStoreType * DateTimeOffset -> Azure.ResourceManager.DataProtectionBackup.Models.BackupRecoveryTimeBasedRestoreContent
Public Sub New (restoreTargetInfo As RestoreTargetInfoBase, sourceDataStoreType As SourceDataStoreType, recoverOn As DateTimeOffset)

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.

recoverOn
DateTimeOffset

The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z.

Exceptions

restoreTargetInfo is null.

Applies to