Share via


SourceLifeCycle(DataProtectionBackupDeleteSetting, DataStoreInfoBase) Constructor

Definition

Initializes a new instance of SourceLifeCycle.

public SourceLifeCycle (Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupDeleteSetting deleteAfter, Azure.ResourceManager.DataProtectionBackup.Models.DataStoreInfoBase sourceDataStore);
new Azure.ResourceManager.DataProtectionBackup.Models.SourceLifeCycle : Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupDeleteSetting * Azure.ResourceManager.DataProtectionBackup.Models.DataStoreInfoBase -> Azure.ResourceManager.DataProtectionBackup.Models.SourceLifeCycle
Public Sub New (deleteAfter As DataProtectionBackupDeleteSetting, sourceDataStore As DataStoreInfoBase)

Parameters

deleteAfter
DataProtectionBackupDeleteSetting

Delete Option Please note DataProtectionBackupDeleteSetting 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 DataProtectionBackupAbsoluteDeleteSetting.

sourceDataStore
DataStoreInfoBase

DataStoreInfo base.

Exceptions

deleteAfter or sourceDataStore is null.

Applies to