ImmutabilityPolicyData Class
Data used for updating the immutability policy of a snapshot.
Constructor
ImmutabilityPolicyData()
Variables
| Name | Description |
|---|---|
|
immutability_duration_days
|
The immutability duration for the snapshot, in number of days. Required. |
|
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". |
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]