Partager via


BlobContainer Class

Definition

Properties of the blob container, including Id, resource name, resource type, Etag.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.BlobContainerTypeConverter))]
public class BlobContainer : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IBlobContainer, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.BlobContainerTypeConverter))>]
type BlobContainer = class
    interface IBlobContainer
    interface IJsonSerializable
    interface IAzureEntityResource
    interface IResourceAutoGenerated
    interface IValidates
Public Class BlobContainer
Implements IBlobContainer, IValidates
Inheritance
BlobContainer
Attributes
Implements

Constructors

BlobContainer()

Creates an new BlobContainer instance.

Properties

ContainerPropertyHasImmutabilityPolicy

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.

ContainerPropertyHasLegalHold

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.

ContainerPropertyLastModifiedTime

Returns the date and time the container was last modified.

ContainerPropertyLeaseDuration

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

ContainerPropertyLeaseState

Lease state of the container.

ContainerPropertyLeaseStatus

The lease status of the container.

ContainerPropertyMetadata

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

ContainerPropertyPublicAccess

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

Etag

Resource Etag.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

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.

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.

Name

The name of the resource

State

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

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BlobContainer.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BlobContainer.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of BlobContainer into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to