ArmDataProtectionBackupModelFactory.RestoreTargetInfoBase Method
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.
Base class common to RestoreTargetInfo and RestoreFilesTargetInfo Please note this is the abstract base class. The derived classes available for instantiation are: ItemLevelRestoreTargetInfo, RestoreFilesTargetInfo, and RestoreTargetInfo.
public static Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase RestoreTargetInfoBase(string objectType = default, Azure.ResourceManager.DataProtectionBackup.Models.RecoverySetting recoverySetting = default, Azure.Core.AzureLocation? restoreLocation = default);
static member RestoreTargetInfoBase : string * Azure.ResourceManager.DataProtectionBackup.Models.RecoverySetting * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase
Public Shared Function RestoreTargetInfoBase (Optional objectType As String = Nothing, Optional recoverySetting As RecoverySetting = Nothing, Optional restoreLocation As Nullable(Of AzureLocation) = Nothing) As RestoreTargetInfoBase
Parameters
- objectType
- String
Type of Datasource object, used to initialize the right inherited type.
- recoverySetting
- RecoverySetting
Recovery Option.
- restoreLocation
- Nullable<AzureLocation>
Target Restore region.
Returns
A new RestoreTargetInfoBase instance for mocking.