AccountImmutabilityPolicyArgs

data class AccountImmutabilityPolicyArgs(val allowProtectedAppendWrites: Output<Boolean>, val periodSinceCreationInDays: Output<Int>, val state: Output<String>) : ConvertibleToJava<AccountImmutabilityPolicyArgs>

Constructors

Link copied to clipboard
constructor(allowProtectedAppendWrites: Output<Boolean>, periodSinceCreationInDays: Output<Int>, state: Output<String>)

Properties

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard
val state: Output<String>

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. Changing from Locked forces a new resource to be created.

Functions

Link copied to clipboard
open override fun toJava(): AccountImmutabilityPolicyArgs