Compartir a través de


ContainerProperties Class

Definition

The properties of a container.

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

Constructors

ContainerProperties()

Creates an new ContainerProperties instance.

Properties

HasImmutabilityPolicy

The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container.

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.

ImmutabilityPeriodSinceCreationInDay

The immutability period for the blobs in the container since the policy creation, in days.

ImmutabilityPolicyEtag

ImmutabilityPolicy Etag.

ImmutabilityPolicyUpdateHistory

The ImmutabilityPolicy update history of the blob container.

LastModifiedTime

Returns the date and time the container was last modified.

LeaseDuration

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.

LeaseState

Lease state of the container.

LeaseStatus

The lease status of the container.

LegalHoldHasLegalHold

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.

LegalHoldTag

The list of LegalHold tags of a blob container.

Metadata

A name-value pair to associate with the container as metadata.

PublicAccess

Specifies whether data in the container may be accessed publicly and the level of access.

State

The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to