Freigeben über


IContainerProperties Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ContainerPropertiesTypeConverter))]
public interface IContainerProperties : Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ContainerPropertiesTypeConverter))>]
type IContainerProperties = interface
    interface IJsonSerializable
Public Interface IContainerProperties
Implements IJsonSerializable
Derived
Attributes
Implements

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.

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.

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.

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.

Version

The version of the deleted blob container.

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to