DataProtectionBackupRule Constructor
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.
Initializes a new instance of DataProtectionBackupRule.
public DataProtectionBackupRule (string name, Azure.ResourceManager.DataProtectionBackup.Models.DataStoreInfoBase dataStore, Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupTriggerContext trigger);
new Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupRule : string * Azure.ResourceManager.DataProtectionBackup.Models.DataStoreInfoBase * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupTriggerContext -> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupRule
Public Sub New (name As String, dataStore As DataStoreInfoBase, trigger As DataProtectionBackupTriggerContext)
Parameters
- name
- String
- dataStore
- DataStoreInfoBase
DataStoreInfo base.
Trigger context Please note DataProtectionBackupTriggerContext 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 AdhocBasedBackupTriggerContext and ScheduleBasedBackupTriggerContext.
Exceptions
name
, dataStore
or trigger
is null.
Applies to
Azure SDK for .NET