Freigeben über


ListContainerItem Class

Definition

The blob container properties be listed out.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ListContainerItemTypeConverter))]
public class ListContainerItem : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IListContainerItem, Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ListContainerItemTypeConverter))>]
type ListContainerItem = class
    interface IListContainerItem
    interface IJsonSerializable
    interface IAzureEntityResource
    interface IResource
    interface IValidates
Public Class ListContainerItem
Implements IListContainerItem, IValidates
Inheritance
ListContainerItem
Attributes
Implements

Constructors

Name Description
ListContainerItem()

Creates an new ListContainerItem instance.

Properties

Name Description
AllowProtectedAppendWrite

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API.

AllowProtectedAppendWritesAll

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.

DefaultEncryptionScope

Default the container to use specified encryption scope for all writes.

Deleted

Indicates whether the blob container was deleted.

DeletedTime

Blob container deletion time.

DenyEncryptionScopeOverride

Block override of encryption scope from the container default.

EnableNfsV3AllSquash

Enable NFSv3 all squash on blob container.

EnableNfsV3RootSquash

Enable NFSv3 root squash on blob container.

Etag

Resource Etag.

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.

Id

Fully qualified resource ID for the resource. E.g. "/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.

ImmutableStorageWithVersioningEnabled

This is an immutable property, when set to true it enables object level immutability at the container level.

ImmutableStorageWithVersioningMigrationState

This property denotes the container level immutability to object level immutability migration state.

ImmutableStorageWithVersioningTimeStamp

Returns the date and time the object level immutability was enabled.

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.

Name

The name of the resource

ProtectedAppendWriteHistoryAllowProtectedAppendWritesAll

When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.

ProtectedAppendWriteHistoryTimestamp

Returns the date and time the tag was added.

PublicAccess

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

RemainingRetentionDay

Remaining retention days for soft deleted blob container.

State

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

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

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

Version

The version of the deleted blob container.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ListContainerItem.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ListContainerItem.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IListContainerItem.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ListContainerItem into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to