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 Azure.

Inheritance
LegalHold

Constructor

LegalHold(*, tags: List[str], **kwargs)

Variables

has_legal_hold
bool

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
list[str]

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