共用方式為


ArmDataProtectionBackupModelFactory.RestoreTargetInfo Method

Definition

Initializes a new instance of RestoreTargetInfo.

public static Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfo RestoreTargetInfo (Azure.ResourceManager.DataProtectionBackup.Models.RecoverySetting recoverySetting = default, Azure.Core.AzureLocation? restoreLocation = default, Azure.ResourceManager.DataProtectionBackup.Models.DataSourceInfo dataSourceInfo = default, Azure.ResourceManager.DataProtectionBackup.Models.DataSourceSetInfo dataSourceSetInfo = default, Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupAuthCredentials dataSourceAuthCredentials = default);
static member RestoreTargetInfo : Azure.ResourceManager.DataProtectionBackup.Models.RecoverySetting * Nullable<Azure.Core.AzureLocation> * Azure.ResourceManager.DataProtectionBackup.Models.DataSourceInfo * Azure.ResourceManager.DataProtectionBackup.Models.DataSourceSetInfo * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupAuthCredentials -> Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfo
Public Shared Function RestoreTargetInfo (Optional recoverySetting As RecoverySetting = Nothing, Optional restoreLocation As Nullable(Of AzureLocation) = Nothing, Optional dataSourceInfo As DataSourceInfo = Nothing, Optional dataSourceSetInfo As DataSourceSetInfo = Nothing, Optional dataSourceAuthCredentials As DataProtectionBackupAuthCredentials = Nothing) As RestoreTargetInfo

Parameters

recoverySetting
RecoverySetting

Recovery Option.

restoreLocation
Nullable<AzureLocation>

Target Restore region.

dataSourceInfo
DataSourceInfo

Information of target DS.

dataSourceSetInfo
DataSourceSetInfo

Information of target DS Set.

dataSourceAuthCredentials
DataProtectionBackupAuthCredentials

Credentials to use to authenticate with data source provider. Please note DataProtectionBackupAuthCredentials 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 SecretStoreBasedAuthCredentials.

Returns

A new RestoreTargetInfo instance for mocking.

Applies to