ImmutabilityPolicyProperties Constructors
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.
Overloads
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. |
ImmutabilityPolicyProperties()
Initializes a new instance of the ImmutabilityPolicyProperties class.
public ImmutabilityPolicyProperties ();
Public Sub New ()
Applies to
ImmutabilityPolicyProperties(Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, String, IList<UpdateHistoryProperty>)
Initializes a new instance of the ImmutabilityPolicyProperties class.
public ImmutabilityPolicyProperties (int? immutabilityPeriodSinceCreationInDays = default, string state = default, bool? allowProtectedAppendWrites = default, bool? allowProtectedAppendWritesAll = default, string etag = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.UpdateHistoryProperty> updateHistory = default);
new Microsoft.Azure.Management.Storage.Models.ImmutabilityPolicyProperties : Nullable<int> * string * Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.UpdateHistoryProperty> -> Microsoft.Azure.Management.Storage.Models.ImmutabilityPolicyProperties
Public Sub New (Optional immutabilityPeriodSinceCreationInDays As Nullable(Of Integer) = Nothing, Optional state As String = Nothing, Optional allowProtectedAppendWrites As Nullable(Of Boolean) = Nothing, Optional allowProtectedAppendWritesAll As Nullable(Of Boolean) = Nothing, Optional etag As String = Nothing, Optional updateHistory As IList(Of UpdateHistoryProperty) = Nothing)
Parameters
The immutability period for the blobs in the container since the policy creation, in days.
- state
- String
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. Possible values include: 'Locked', 'Unlocked'
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.
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
- String
ImmutabilityPolicy Etag.
- updateHistory
- IList<UpdateHistoryProperty>
The ImmutabilityPolicy update history of the blob container.
Applies to
Azure SDK for .NET