RetentionDuration Class

Retention duration.

Constructor

RetentionDuration()

Variables

Name Description
count
int

Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.

durationType
Union[str, <xref:"RetentionDurationType">]

Retention duration type of retention policy. Known values are: "Invalid", "Days", "Weeks", "Months", and "Years".

Attributes

count

Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.

count: int

durationType

"Invalid", "Days", "Weeks", "Months", and "Years".

durationType: str | RetentionDurationType