GetBlobContainerImmutabilityPolicyResult

data class GetBlobContainerImmutabilityPolicyResult(val allowProtectedAppendWrites: Boolean? = null, val allowProtectedAppendWritesAll: Boolean? = null, val azureApiVersion: String, val etag: String, val id: String, val immutabilityPeriodSinceCreationInDays: Int? = null, val name: String, val state: String, val type: String)

The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.

Constructors

Link copied to clipboard
constructor(allowProtectedAppendWrites: Boolean? = null, allowProtectedAppendWritesAll: Boolean? = null, azureApiVersion: String, etag: String, id: String, immutabilityPeriodSinceCreationInDays: Int? = null, name: String, state: String, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

Resource Etag.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Link copied to clipboard

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

Link copied to clipboard

The name of the resource

Link copied to clipboard

The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"