UpdateHistoryProperty Class

An update history of the ImmutabilityPolicy of a blob container.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
UpdateHistoryProperty

Constructor

UpdateHistoryProperty(*, allow_protected_append_writes: Optional[bool] = None, allow_protected_append_writes_all: Optional[bool] = None, **kwargs)

Variables

update
str or ImmutabilityPolicyUpdateType

The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. Possible values include: "put", "lock", "extend".

immutability_period_since_creation_in_days
int

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

timestamp
datetime

Returns the date and time the ImmutabilityPolicy was updated.

object_identifier
str

Returns the Object ID of the user who updated the ImmutabilityPolicy.

tenant_id
str

Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.

upn
str

Returns the User Principal Name of the user who updated the ImmutabilityPolicy.

allow_protected_append_writes
bool

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
bool

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.