ArmDataProtectionBackupModelFactory.BlobBackupRuleBasedAutoProtectionSettings 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.
Parameters to be used for Blob Backup Rule Based Auto Protection settings.
public static Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupRuleBasedAutoProtectionSettings BlobBackupRuleBasedAutoProtectionSettings(bool enabled = false, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupAutoProtectionRule> rules = default);
static member BlobBackupRuleBasedAutoProtectionSettings : bool * seq<Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupAutoProtectionRule> -> Azure.ResourceManager.DataProtectionBackup.Models.BlobBackupRuleBasedAutoProtectionSettings
Public Shared Function BlobBackupRuleBasedAutoProtectionSettings (Optional enabled As Boolean = false, Optional rules As IEnumerable(Of BlobBackupAutoProtectionRule) = Nothing) As BlobBackupRuleBasedAutoProtectionSettings
Parameters
- enabled
- Boolean
Flag to enable whether auto protection.
Rules are evaluated in the order provided. Inclusion adds candidates; exclusion removes candidates. If no rules are present, all containers are considered eligible when enabled = true.
Returns
A new BlobBackupRuleBasedAutoProtectionSettings instance for mocking.