Share via


LegalHoldProperties Constructors

Definition

Overloads

LegalHoldProperties()

Initializes a new instance of the LegalHoldProperties class.

LegalHoldProperties(Nullable<Boolean>, IList<TagProperty>, ProtectedAppendWritesHistory)

Initializes a new instance of the LegalHoldProperties class.

LegalHoldProperties()

Initializes a new instance of the LegalHoldProperties class.

public LegalHoldProperties ();
Public Sub New ()

Applies to

LegalHoldProperties(Nullable<Boolean>, IList<TagProperty>, ProtectedAppendWritesHistory)

Initializes a new instance of the LegalHoldProperties class.

public LegalHoldProperties (bool? hasLegalHold = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.TagProperty> tags = default, Microsoft.Azure.Management.Storage.Models.ProtectedAppendWritesHistory protectedAppendWritesHistory = default);
new Microsoft.Azure.Management.Storage.Models.LegalHoldProperties : Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.TagProperty> * Microsoft.Azure.Management.Storage.Models.ProtectedAppendWritesHistory -> Microsoft.Azure.Management.Storage.Models.LegalHoldProperties
Public Sub New (Optional hasLegalHold As Nullable(Of Boolean) = Nothing, Optional tags As IList(Of TagProperty) = Nothing, Optional protectedAppendWritesHistory As ProtectedAppendWritesHistory = Nothing)

Parameters

hasLegalHold
Nullable<Boolean>

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

tags
IList<TagProperty>

The list of LegalHold tags of a blob container.

protectedAppendWritesHistory
ProtectedAppendWritesHistory

Protected append blob writes history.

Applies to