다음을 통해 공유


ImmutabilityPolicyProperties Class

Definition

The properties of an ImmutabilityPolicy of a blob container.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ImmutabilityPolicyProperties
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ImmutabilityPolicyProperties = class
Public Class ImmutabilityPolicyProperties
Inheritance
ImmutabilityPolicyProperties
Attributes

Constructors

ImmutabilityPolicyProperties()

Initializes a new instance of the ImmutabilityPolicyProperties class.

ImmutabilityPolicyProperties(Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, String, IList<UpdateHistoryProperty>)

Initializes a new instance of the ImmutabilityPolicyProperties class.

Properties

AllowProtectedAppendWrites

Gets or sets 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

Gets or sets 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

Gets immutabilityPolicy Etag.

ImmutabilityPeriodSinceCreationInDays

Gets or sets the immutability period for the blobs in the container since the policy creation, in days.

State

Gets the ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. Possible values include: 'Locked', 'Unlocked'

UpdateHistory

Gets the ImmutabilityPolicy update history of the blob container.

Applies to