ArmDataProtectionBackupModelFactory.BlobBackupRuleBasedAutoProtectionSettings Method

Definition

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
IEnumerable<BlobBackupAutoProtectionRule>

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.

Applies to