LegalHold Constructors

Definition

Overloads

LegalHold()

Initializes a new instance of the LegalHold class.

LegalHold(IList<String>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the LegalHold class.

LegalHold()

Initializes a new instance of the LegalHold class.

public LegalHold ();
Public Sub New ()

Applies to

LegalHold(IList<String>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the LegalHold class.

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

Parameters

tags
IList<String>

Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.

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.

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.

Applies to