ContainerProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The properties of a container.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ContainerPropertiesTypeConverter))]
public class ContainerProperties : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IContainerProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ContainerPropertiesTypeConverter))>]
type ContainerProperties = class
interface IContainerProperties
interface IJsonSerializable
Public Class ContainerProperties
Implements IContainerProperties
- Inheritance
-
ContainerProperties
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ContainerProperties() |
Creates an new ContainerProperties 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. |
| 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 |
|---|---|
| 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.Storage.Models.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. |
| ToString() | |