ImmutabilityPolicyLockData Class

Data used for locking the immutability policy of a snapshot.

Constructor

ImmutabilityPolicyLockData()

Variables

Name Description
immutability_duration_days
int

The immutability duration for the snapshot, in number of days. Required.

type
Union[str, <xref:"ImmutabilityPolicyType">]

The type of the immutability policy. 'Unlocked' allows the policy to be modified by privileged users; 'Locked' prevents reduction of the immutability duration but allows extension of the lock period. Required. Known values are: "Unlocked" and "Locked".

Attributes

immutabilityDurationDays

The immutability duration for the snapshot, in number of days. Required.

immutabilityDurationDays: Required[int]

type

The type of the immutability policy. 'Unlocked' allows the policy to be modified by privileged users; 'Locked' prevents reduction of the immutability duration but allows extension of the lock period. Required. Known values are: "Unlocked" and "Locked".

type: Required[str | ImmutabilityPolicyType]