BlobContainerImmutabilityPolicy Class

Definition

The properties of an ImmutabilityPolicy of a blob container.

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

Properties

AllowProtectedAppendWrites

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API.

AllowProtectedAppendWritesAll

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.

ETag

ImmutabilityPolicy Etag.

ImmutabilityPeriodSinceCreationInDays

The immutability period for the blobs in the container since the policy creation, in days.

State

The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.

UpdateHistory

The ImmutabilityPolicy update history of the blob container.

Explicit Interface Implementations

IJsonModel<BlobContainerImmutabilityPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BlobContainerImmutabilityPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BlobContainerImmutabilityPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BlobContainerImmutabilityPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BlobContainerImmutabilityPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to