ImmutableStorageAccount Class
This property enables and defines account-level immutability. Enabling the feature auto-enables Blob Versioning.
- Inheritance
-
azure.mgmt.storage._serialization.ModelImmutableStorageAccount
Constructor
ImmutableStorageAccount(*, enabled: bool | None = None, immutability_policy: _models.AccountImmutabilityPolicyProperties | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
enabled
|
A boolean flag which enables account-level immutability. All the containers under such an account have object-level immutability enabled by default. |
immutability_policy
|
Specifies the default account-level immutability policy which is inherited and applied to objects that do not possess an explicit immutability policy at the object level. The object-level immutability policy has higher precedence than the container-level immutability policy, which has a higher precedence than the account-level immutability policy. |
Variables
Name | Description |
---|---|
enabled
|
A boolean flag which enables account-level immutability. All the containers under such an account have object-level immutability enabled by default. |
immutability_policy
|
Specifies the default account-level immutability policy which is inherited and applied to objects that do not possess an explicit immutability policy at the object level. The object-level immutability policy has higher precedence than the container-level immutability policy, which has a higher precedence than the account-level immutability policy. |
Azure SDK for Python