共用方式為


UpdateHistoryProperty Constructors

Definition

Overloads

UpdateHistoryProperty()

Initializes a new instance of the UpdateHistoryProperty class.

UpdateHistoryProperty(String, Nullable<Int32>, Nullable<DateTime>, String, String, String, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the UpdateHistoryProperty class.

UpdateHistoryProperty()

Initializes a new instance of the UpdateHistoryProperty class.

public UpdateHistoryProperty ();
Public Sub New ()

Applies to

UpdateHistoryProperty(String, Nullable<Int32>, Nullable<DateTime>, String, String, String, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the UpdateHistoryProperty class.

public UpdateHistoryProperty (string update = default, int? immutabilityPeriodSinceCreationInDays = default, DateTime? timestamp = default, string objectIdentifier = default, string tenantId = default, string upn = default, bool? allowProtectedAppendWrites = default, bool? allowProtectedAppendWritesAll = default);
new Microsoft.Azure.Management.Storage.Models.UpdateHistoryProperty : string * Nullable<int> * Nullable<DateTime> * string * string * string * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.Storage.Models.UpdateHistoryProperty
Public Sub New (Optional update As String = Nothing, Optional immutabilityPeriodSinceCreationInDays As Nullable(Of Integer) = Nothing, Optional timestamp As Nullable(Of DateTime) = Nothing, Optional objectIdentifier As String = Nothing, Optional tenantId As String = Nothing, Optional upn As String = Nothing, Optional allowProtectedAppendWrites As Nullable(Of Boolean) = Nothing, Optional allowProtectedAppendWritesAll As Nullable(Of Boolean) = Nothing)

Parameters

update
String

The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. Possible values include: 'put', 'lock', 'extend'

immutabilityPeriodSinceCreationInDays
Nullable<Int32>

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

timestamp
Nullable<DateTime>

Returns the date and time the ImmutabilityPolicy was updated.

objectIdentifier
String

Returns the Object ID of the user who updated the ImmutabilityPolicy.

tenantId
String

Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.

upn
String

Returns the User Principal Name of the user who updated the ImmutabilityPolicy.

allowProtectedAppendWrites
Nullable<Boolean>

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
Nullable<Boolean>

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.

Applies to