ImmutabilityPolicy Class

The immutability policy currently applied to a snapshot.

Constructor

ImmutabilityPolicy()

Variables

Name Description
immutabilityDurationDays
int

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

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

The type of the immutability policy. Known values are: "Unlocked" and "Locked".

policyStartTime
str

The time when the immutability policy was set on the snapshot.

policyExpirationTime
str

The time when the immutability policy will expire on the snapshot.

isPolicyExpired

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