Share via


SubProtectionPolicy Class

Definition

Sub-protection policy which includes schedule and retention.

public class SubProtectionPolicy
type SubProtectionPolicy = class
Public Class SubProtectionPolicy
Inheritance
SubProtectionPolicy

Constructors

SubProtectionPolicy()

Initializes a new instance of SubProtectionPolicy.

Properties

PolicyType

Type of backup policy type.

RetentionPolicy

Retention policy with the details on backup copy retention ranges. Please note BackupRetentionPolicy 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 LongTermRetentionPolicy and SimpleRetentionPolicy.

SchedulePolicy

Backup schedule specified as part of backup policy. Please note BackupSchedulePolicy 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 LogSchedulePolicy, LongTermSchedulePolicy, SimpleSchedulePolicy and SimpleSchedulePolicyV2.

SnapshotBackupAdditionalDetails

Snapshot Backup related fields for WorkloadType SaPHanaSystem.

TieringPolicy

Tiering policy to automatically move RPs to another tier. Key is Target Tier, defined in RecoveryPointTierType enum. Tiering policy specifies the criteria to move RP to the target tier.

Applies to