ImmutabilityPolicyProperty Class

The properties of an ImmutabilityPolicy of a blob container.

Constructor

ImmutabilityPolicyProperty(*args: Any, **kwargs: Any)

Variables

Name Description
immutability_period_since_creation_in_days
int

The immutability period for the blobs in the container since the policy creation, in days.

state

The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. Known values are: "Locked" and "Unlocked".

allow_protected_append_writes

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API.

allow_protected_append_writes_all

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.

Attributes

allow_protected_append_writes

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API.

allow_protected_append_writes: bool | None

allow_protected_append_writes_all

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.

allow_protected_append_writes_all: bool | None

immutability_period_since_creation_in_days

The immutability period for the blobs in the container since the policy creation, in days.

immutability_period_since_creation_in_days: int | None

state

Locked and Unlocked. Known values are: "Locked" and "Unlocked".

state: str | _models.ImmutabilityPolicyState | None