Share via


LegalHold Class

Definition

The LegalHold property of a blob container.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.LegalHoldTypeConverter))]
public class LegalHold : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ILegalHold
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.LegalHoldTypeConverter))>]
type LegalHold = class
    interface ILegalHold
    interface IJsonSerializable
Public Class LegalHold
Implements ILegalHold
Inheritance
LegalHold
Attributes
Implements

Constructors

LegalHold()

Creates an new LegalHold instance.

Properties

HasLegalHold

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.

Tag

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LegalHold.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LegalHold.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ILegalHold.

FromJsonString(String)

Creates a new instance of LegalHold, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of LegalHold into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to