Class BlobContainerProperties
- Namespace
- Microsoft.WindowsAzure.Storage.Blob
- Assembly
- Microsoft.WindowsAzure.Storage.dll
Represents the system properties for a container.
public sealed class BlobContainerProperties
- Inheritance
-
BlobContainerProperties
- Inherited Members
Constructors
BlobContainerProperties()
public BlobContainerProperties()
Properties
ETag
Gets the ETag value for the container.
public string ETag { get; }
Property Value
- string
A string containing the container's quoted ETag value.
HasImmutabilityPolicy
Gets the HasImmutabilityPolicy value for the container.
public bool? HasImmutabilityPolicy { get; }
Property Value
- bool?
True if the container has an immutability policy, or False if not. The value may be null.
HasLegalHold
Gets the HasLegalHold value for the container.
public bool? HasLegalHold { get; }
Property Value
- bool?
True if the container has legal hold, or False if not. The value may be null.
LastModified
Gets the container's last-modified time.
public DateTimeOffset? LastModified { get; }
Property Value
- DateTimeOffset?
A DateTimeOffset containing the container's last-modified time, in UTC format.
LeaseDuration
Gets the container's lease duration.
public LeaseDuration LeaseDuration { get; }
Property Value
- LeaseDuration
A LeaseDuration object that indicates the container's lease duration.
LeaseState
Gets the container's lease state.
public LeaseState LeaseState { get; }
Property Value
- LeaseState
A LeaseState object that indicates the container's lease state.
LeaseStatus
Gets the container's lease status.
public LeaseStatus LeaseStatus { get; }
Property Value
- LeaseStatus
A LeaseStatus object that indicates the container's lease status.
PublicAccess
Gets the public access for the container.
public BlobContainerPublicAccessType? PublicAccess { get; }
Property Value
- BlobContainerPublicAccessType?
A BlobContainerPublicAccessType that specifies the level of public access that is allowed on the container.
Remarks
This field should only be set using the container's Create() method or SetPermissions() method