ImmutabilityPolicyProperties interface

The properties of an ImmutabilityPolicy of a blob container.

Properties

allowProtectedAppendWrites

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.

allowProtectedAppendWritesAll

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.

etag

ImmutabilityPolicy Etag.

immutabilityPeriodSinceCreationInDays

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.

updateHistory

The ImmutabilityPolicy update history of the blob container.

Property Details

allowProtectedAppendWrites

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.

allowProtectedAppendWrites?: boolean

Property Value

boolean

allowProtectedAppendWritesAll

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.

allowProtectedAppendWritesAll?: boolean

Property Value

boolean

etag

ImmutabilityPolicy Etag.

etag?: string

Property Value

string

immutabilityPeriodSinceCreationInDays

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

immutabilityPeriodSinceCreationInDays?: number

Property Value

number

state

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

state?: string

Property Value

string

updateHistory

The ImmutabilityPolicy update history of the blob container.

updateHistory?: UpdateHistoryProperty[]

Property Value