Condividi tramite


UpdateHistoryEntry Class

Definition

An update history of the ImmutabilityPolicy of a blob container.

public class UpdateHistoryEntry : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.UpdateHistoryEntry>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.UpdateHistoryEntry>
public class UpdateHistoryEntry
type UpdateHistoryEntry = class
    interface IJsonModel<UpdateHistoryEntry>
    interface IPersistableModel<UpdateHistoryEntry>
type UpdateHistoryEntry = class
Public Class UpdateHistoryEntry
Implements IJsonModel(Of UpdateHistoryEntry), IPersistableModel(Of UpdateHistoryEntry)
Public Class UpdateHistoryEntry
Inheritance
UpdateHistoryEntry
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.

ImmutabilityPeriodSinceCreationInDays

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

ObjectIdentifier

Returns the Object ID of the user who updated the ImmutabilityPolicy.

TenantId

Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.

Timestamp

Returns the date and time the ImmutabilityPolicy was updated.

UpdateType

The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.

Upn

Returns the User Principal Name of the user who updated the ImmutabilityPolicy.

Explicit Interface Implementations

IJsonModel<UpdateHistoryEntry>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UpdateHistoryEntry>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UpdateHistoryEntry>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UpdateHistoryEntry>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UpdateHistoryEntry>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to