SimpleRetentionPolicy Class

Simple policy retention.

Constructor

SimpleRetentionPolicy()

Variables

Name Description
retentionDuration
<xref:<xref:"RetentionDuration">>

Retention duration of the protection policy.

retentionPolicyType
Literal["SimpleRetentionPolicy"]

This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. Required. Default value is "SimpleRetentionPolicy".

Attributes

retentionDuration

Retention duration of the protection policy.

retentionDuration: RetentionDuration

retentionPolicyType

This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. Required. Default value is "SimpleRetentionPolicy".

retentionPolicyType: Literal['SimpleRetentionPolicy']