RuleBasedBackupPolicy Class

Definition

Rule based backup policy.

public class RuleBasedBackupPolicy : Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupPolicyPropertiesBase
type RuleBasedBackupPolicy = class
    inherit DataProtectionBackupPolicyPropertiesBase
Public Class RuleBasedBackupPolicy
Inherits DataProtectionBackupPolicyPropertiesBase
Inheritance

Constructors

RuleBasedBackupPolicy(IEnumerable<String>, IEnumerable<DataProtectionBasePolicyRule>)

Initializes a new instance of RuleBasedBackupPolicy.

Properties

DataSourceTypes

Type of datasource for the backup management.

(Inherited from DataProtectionBackupPolicyPropertiesBase)
PolicyRules

Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc Please note DataProtectionBasePolicyRule 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 DataProtectionBackupRule and DataProtectionRetentionRule.

Applies to