LegalHold Class

The LegalHold property of a blob container.

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

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.storage._serialization.Model
LegalHold

Constructor

LegalHold(*, tags: List[str], allow_protected_append_writes_all: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP. Required.

allow_protected_append_writes_all

When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.

Variables

Name Description
has_legal_hold

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

tags

Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP. Required.

allow_protected_append_writes_all

When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.