ImmutabilityPolicyProperties Class
The properties of an ImmutabilityPolicy of a blob container.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.storage._serialization.ModelImmutabilityPolicyProperties
Constructor
ImmutabilityPolicyProperties(*, immutability_period_since_creation_in_days: int | None = None, allow_protected_append_writes: bool | None = None, allow_protected_append_writes_all: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
immutability_period_since_creation_in_days
|
The immutability period for the blobs in the container since the policy creation, in days. |
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. |
Variables
Name | Description |
---|---|
etag
|
ImmutabilityPolicy Etag. |
update_history
|
The ImmutabilityPolicy update history of the blob container. |
immutability_period_since_creation_in_days
|
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. |
Azure SDK for Python
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기