LegalHold 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
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
Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.
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.
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
Azure SDK for .NET