CrossRegionRestoreRequestObject 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 CrossRegionRestoreRequestObject.
public CrossRegionRestoreRequestObject (Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreContent restoreRequestObject, Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreDetails crossRegionRestoreDetails);
new Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreRequestObject : Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreContent * Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreDetails -> Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreRequestObject
Public Sub New (restoreRequestObject As BackupRestoreContent, crossRegionRestoreDetails As CrossRegionRestoreDetails)
Parameters
- restoreRequestObject
- BackupRestoreContent
Gets or sets the restore request object. Please note BackupRestoreContent 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 BackupRecoveryPointBasedRestoreContent, BackupRecoveryTimeBasedRestoreContent and BackupRestoreWithRehydrationContent.
- crossRegionRestoreDetails
- CrossRegionRestoreDetails
Cross region restore details.
Exceptions
restoreRequestObject
or crossRegionRestoreDetails
is null.