IAccountImmutabilityPolicyProperties Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.AccountImmutabilityPolicyPropertiesTypeConverter))]
public interface IAccountImmutabilityPolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.AccountImmutabilityPolicyPropertiesTypeConverter))>]
type IAccountImmutabilityPolicyProperties = interface
    interface IJsonSerializable
Public Interface IAccountImmutabilityPolicyProperties
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

AllowProtectedAppendWrite

This property can only be changed for disabled and 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.

ImmutabilityPeriodSinceCreationInDay

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

State

The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to