共用方式為


CrossRegionRestoreRequestObject Constructor

Definition

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.

Applies to