Share via


LegalHold Class

Definition

The LegalHold property of a blob container.

public class LegalHold
type LegalHold = class
Public Class LegalHold
Inheritance
LegalHold

Constructors

LegalHold()

Initializes a new instance of the LegalHold class.

LegalHold(IList<String>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the LegalHold class.

Properties

AllowProtectedAppendWritesAll

Gets or sets 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.

HasLegalHold

Gets 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

Gets or sets each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.

Methods

Validate()

Validate the object.

Applies to