共用方式為


ArmStorageModelFactory.ProtectedAppendWritesHistory Method

Definition

Initializes a new instance of ProtectedAppendWritesHistory.

public static Azure.ResourceManager.Storage.Models.ProtectedAppendWritesHistory ProtectedAppendWritesHistory (bool? allowProtectedAppendWritesAll = default, DateTimeOffset? timestamp = default);
static member ProtectedAppendWritesHistory : Nullable<bool> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Storage.Models.ProtectedAppendWritesHistory
Public Shared Function ProtectedAppendWritesHistory (Optional allowProtectedAppendWritesAll As Nullable(Of Boolean) = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing) As ProtectedAppendWritesHistory

Parameters

allowProtectedAppendWritesAll
Nullable<Boolean>

When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.

timestamp
Nullable<DateTimeOffset>

Returns the date and time the tag was added.

Returns

A new ProtectedAppendWritesHistory instance for mocking.

Applies to