LegalHoldProperties 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
LegalHoldProperties() |
Initializes a new instance of the LegalHoldProperties class. |
LegalHoldProperties(Nullable<Boolean>, IList<TagProperty>) |
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>)
Initializes a new instance of the LegalHoldProperties class.
public LegalHoldProperties (bool? hasLegalHold = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Fluent.Models.TagProperty> tags = default);
new Microsoft.Azure.Management.Storage.Fluent.Models.LegalHoldProperties : Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Fluent.Models.TagProperty> -> Microsoft.Azure.Management.Storage.Fluent.Models.LegalHoldProperties
Public Sub New (Optional hasLegalHold As Nullable(Of Boolean) = Nothing, Optional tags As IList(Of TagProperty) = Nothing)
Parameters
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.