RuleBasedBackupPolicy Class
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.
Rule based backup policy.
public class RuleBasedBackupPolicy : Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupPolicyPropertiesBase, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataProtectionBackup.Models.RuleBasedBackupPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataProtectionBackup.Models.RuleBasedBackupPolicy>
public class RuleBasedBackupPolicy : Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupPolicyPropertiesBase
type RuleBasedBackupPolicy = class
inherit DataProtectionBackupPolicyPropertiesBase
interface IJsonModel<RuleBasedBackupPolicy>
interface IPersistableModel<RuleBasedBackupPolicy>
type RuleBasedBackupPolicy = class
inherit DataProtectionBackupPolicyPropertiesBase
Public Class RuleBasedBackupPolicy
Inherits DataProtectionBackupPolicyPropertiesBase
Implements IJsonModel(Of RuleBasedBackupPolicy), IPersistableModel(Of RuleBasedBackupPolicy)
Public Class RuleBasedBackupPolicy
Inherits DataProtectionBackupPolicyPropertiesBase
- Inheritance
- Implements
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. |
Explicit Interface Implementations
Applies to
Azure SDK for .NET