Freigeben über


LegalHoldProperties Class

Definition

The LegalHold property of a blob container.

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

Constructors

LegalHoldProperties()

Creates an new LegalHoldProperties 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

The list of LegalHold tags of a blob container.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LegalHoldProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LegalHoldProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of LegalHoldProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to