LegalHoldProperties Class

Definition

The LegalHold property of a blob container.

public class LegalHoldProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.LegalHoldProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.LegalHoldProperties>
public class LegalHoldProperties
type LegalHoldProperties = class
    interface IJsonModel<LegalHoldProperties>
    interface IPersistableModel<LegalHoldProperties>
type LegalHoldProperties = class
Public Class LegalHoldProperties
Implements IJsonModel(Of LegalHoldProperties), IPersistableModel(Of LegalHoldProperties)
Public Class LegalHoldProperties
Inheritance
LegalHoldProperties
Implements

Properties

HasLegalHold

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.

ProtectedAppendWritesHistory

Protected append blob writes history.

Tags

The list of LegalHold tags of a blob container.

Explicit Interface Implementations

IJsonModel<LegalHoldProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<LegalHoldProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LegalHoldProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LegalHoldProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<LegalHoldProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to