ArmDataProtectionBackupModelFactory.DataProtectionBackupRule 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.
Azure backup rule.
public static Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupRule DataProtectionBackupRule(string name = default, Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupSettingsBase backupParameters = default, Azure.ResourceManager.DataProtectionBackup.Models.DataStoreInfoBase dataStore = default, Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupTriggerContext trigger = default);
static member DataProtectionBackupRule : string * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupSettingsBase * Azure.ResourceManager.DataProtectionBackup.Models.DataStoreInfoBase * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupTriggerContext -> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupRule
Public Shared Function DataProtectionBackupRule (Optional name As String = Nothing, Optional backupParameters As DataProtectionBackupSettingsBase = Nothing, Optional dataStore As DataStoreInfoBase = Nothing, Optional trigger As DataProtectionBackupTriggerContext = Nothing) As DataProtectionBackupRule
Parameters
- name
- String
- backupParameters
- DataProtectionBackupSettingsBase
BackupParameters base.
- dataStore
- DataStoreInfoBase
DataStoreInfo base.
Trigger context.
Returns
A new DataProtectionBackupRule instance for mocking.