Udostępnij przez


UpdateHistoryProperty Class

Definition

An update history of the ImmutabilityPolicy of a blob container.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.UpdateHistoryPropertyTypeConverter))]
public class UpdateHistoryProperty : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IUpdateHistoryProperty
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.UpdateHistoryPropertyTypeConverter))>]
type UpdateHistoryProperty = class
    interface IUpdateHistoryProperty
    interface IJsonSerializable
Public Class UpdateHistoryProperty
Implements IUpdateHistoryProperty
Inheritance
UpdateHistoryProperty
Attributes
Implements

Constructors

Name Description
UpdateHistoryProperty()

Creates an new UpdateHistoryProperty instance.

Properties

Name Description
AllowProtectedAppendWrite

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.

ImmutabilityPeriodSinceCreationInDay

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.

Update

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.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UpdateHistoryProperty.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UpdateHistoryProperty.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IUpdateHistoryProperty.

FromJsonString(String)

Creates a new instance of UpdateHistoryProperty, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of UpdateHistoryProperty into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to