Udostępnij za pośrednictwem


ValidateCrossRegionRestoreRequestObject Constructor

Definition

Initializes a new instance of ValidateCrossRegionRestoreRequestObject.

public ValidateCrossRegionRestoreRequestObject (Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreContent restoreRequestObject, Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreDetails crossRegionRestoreDetails);
new Azure.ResourceManager.DataProtectionBackup.Models.ValidateCrossRegionRestoreRequestObject : Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreContent * Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreDetails -> Azure.ResourceManager.DataProtectionBackup.Models.ValidateCrossRegionRestoreRequestObject
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