ImmutabilityPolicy Class
The immutability policy currently applied to a snapshot.
Constructor
ImmutabilityPolicy()
Variables
| Name | Description |
|---|---|
|
immutability_duration_days
|
The immutability duration for the snapshot, in number of days. |
|
type
|
The type of the immutability policy. Known values are: "Unlocked" and "Locked". |
|
policy_start_time
|
The time when the immutability policy was set on the snapshot. |
|
policy_expiration_time
|
The time when the immutability policy will expire on the snapshot. |
|
is_policy_expired
|
Indicates whether the immutability policy has expired. |
Attributes
immutabilityDurationDays
The immutability duration for the snapshot, in number of days.
immutabilityDurationDays: int
isPolicyExpired
Indicates whether the immutability policy has expired.
isPolicyExpired: bool
policyExpirationTime
The time when the immutability policy will expire on the snapshot.
policyExpirationTime: str
policyStartTime
The time when the immutability policy was set on the snapshot.
policyStartTime: str
type
"Unlocked" and "Locked".
type: str | ImmutabilityPolicyType