ItemLevelRestoreTargetInfo Constructor

Definition

Initializes a new instance of ItemLevelRestoreTargetInfo.

public ItemLevelRestoreTargetInfo (Azure.ResourceManager.DataProtectionBackup.Models.RecoverySetting recoverySetting, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataProtectionBackup.Models.ItemLevelRestoreCriteria> restoreCriteria, Azure.ResourceManager.DataProtectionBackup.Models.DataSourceInfo datasourceInfo);
new Azure.ResourceManager.DataProtectionBackup.Models.ItemLevelRestoreTargetInfo : Azure.ResourceManager.DataProtectionBackup.Models.RecoverySetting * seq<Azure.ResourceManager.DataProtectionBackup.Models.ItemLevelRestoreCriteria> * Azure.ResourceManager.DataProtectionBackup.Models.DataSourceInfo -> Azure.ResourceManager.DataProtectionBackup.Models.ItemLevelRestoreTargetInfo
Public Sub New (recoverySetting As RecoverySetting, restoreCriteria As IEnumerable(Of ItemLevelRestoreCriteria), datasourceInfo As DataSourceInfo)

Parameters

recoverySetting
RecoverySetting

Recovery Option.

restoreCriteria
IEnumerable<ItemLevelRestoreCriteria>

Restore Criteria Please note ItemLevelRestoreCriteria 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 ItemPathBasedRestoreCriteria, KubernetesClusterRestoreCriteria, KubernetesClusterVaultTierRestoreCriteria, KubernetesPVRestoreCriteria, KubernetesStorageClassRestoreCriteria and RangeBasedItemLevelRestoreCriteria.

datasourceInfo
DataSourceInfo

Information of target DS.

Exceptions

restoreCriteria or datasourceInfo is null.

Applies to