IImmutabilityPolicyProperties Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ImmutabilityPolicyPropertiesTypeConverter))]
public interface IImmutabilityPolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ImmutabilityPolicyPropertiesTypeConverter))>]
type IImmutabilityPolicyProperties = interface
interface IJsonSerializable
Public Interface IImmutabilityPolicyProperties
Implements IJsonSerializable
- Derived
- Attributes
- Implements
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. |
| Etag |
ImmutabilityPolicy Etag. |
| ImmutabilityPeriodSinceCreationInDay |
The immutability period for the blobs in the container since the policy creation, in days. |
| State |
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. |
| UpdateHistory |
The ImmutabilityPolicy update history of the blob container. |
Methods
| Name | Description |
|---|---|
| ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |