Table of Contents

Class BlobProperties

Namespace
Microsoft.WindowsAzure.Storage.Blob
Assembly
Microsoft.WindowsAzure.Storage.dll

Represents the system properties for a blob.

public sealed class BlobProperties
Inheritance
BlobProperties
Inherited Members

Constructors

BlobProperties()

Initializes a new instance of the BlobProperties class.

public BlobProperties()

BlobProperties(BlobProperties)

Initializes a new instance of the BlobProperties class based on an existing instance.

public BlobProperties(BlobProperties other)

Parameters

other BlobProperties

A BlobProperties object.

Remarks

Lease-related properties will not be cloned, because a lease associated with the base blob is not copied to the snapshot.

Properties

AppendBlobCommittedBlockCount

If the blob is an append blob, gets the number of committed blocks.

public int? AppendBlobCommittedBlockCount { get; }

Property Value

int?

An integer containing the number of committed blocks.

BlobTierInferred

Gets a value indicating if the tier of the blob has been inferred.

public bool? BlobTierInferred { get; }

Property Value

bool?

A bool representing if the blob tier has been inferred.

BlobTierLastModifiedTime

Gets the time for when the tier of the blob was last-modified, expressed as a UTC value.

public DateTimeOffset? BlobTierLastModifiedTime { get; }

Property Value

DateTimeOffset?

A DateTimeOffset containing the time for when the tier of the blob was last-modified, in UTC format.

BlobType

Gets the type of the blob.

public BlobType BlobType { get; }

Property Value

BlobType

A BlobType object that indicates the type of the blob.

CacheControl

Gets or sets the cache-control value stored for the blob.

public string CacheControl { get; set; }

Property Value

string

A string containing the blob's cache-control value.

ContentDisposition

Gets or sets the content-disposition value stored for the blob.

public string ContentDisposition { get; set; }

Property Value

string

A string containing the blob's content-disposition value.

Remarks

If this property has not been set for the blob, it returns null.

ContentEncoding

Gets or sets the content-encoding value stored for the blob.

public string ContentEncoding { get; set; }

Property Value

string

A string containing the blob's content-encoding value.

Remarks

If this property has not been set for the blob, it returns null.

ContentLanguage

Gets or sets the content-language value stored for the blob.

public string ContentLanguage { get; set; }

Property Value

string

A string containing the blob's content-language value.

Remarks

If this property has not been set for the blob, it returns null.

ContentMD5

Gets or sets the content-MD5 value stored for the blob.

public string ContentMD5 { get; set; }

Property Value

string

A string containing the blob's content-MD5 hash.

ContentType

Gets or sets the content-type value stored for the blob.

public string ContentType { get; set; }

Property Value

string

A string containing the blob's content-type value.

Remarks

If this property has not been set for the blob, it returns null.

Created

Gets the the creation time for the blob, expressed as a UTC value.

public DateTimeOffset? Created { get; }

Property Value

DateTimeOffset?

A DateTimeOffset containing the blob's creation time, in UTC format.

DeletedTime

If the blob is deleted, gets the the deletion time for the blob, expressed as a UTC value.

public DateTimeOffset? DeletedTime { get; }

Property Value

DateTimeOffset?

A DateTimeOffset containing the blob's deletion time, in UTC format.

ETag

Gets the blob's ETag value.

public string ETag { get; }

Property Value

string

A string containing the blob's ETag value.

IsIncrementalCopy

Gets a value indicating whether or not this blob is an incremental copy.

public bool IsIncrementalCopy { get; }

Property Value

bool

A bool representing if the blob is an incremental copy.

IsServerEncrypted

Gets the blob's server-side encryption state.

public bool IsServerEncrypted { get; }

Property Value

bool

A bool representing the blob's server-side encryption state.

LastModified

Gets the the last-modified time for the blob, expressed as a UTC value.

public DateTimeOffset? LastModified { get; }

Property Value

DateTimeOffset?

A DateTimeOffset containing the blob's last-modified time, in UTC format.

LeaseDuration

Gets the blob's lease duration.

public LeaseDuration LeaseDuration { get; }

Property Value

LeaseDuration

A LeaseDuration object that indicates the blob's lease duration.

LeaseState

Gets the blob's lease state.

public LeaseState LeaseState { get; }

Property Value

LeaseState

A LeaseState object that indicates the blob's lease state.

LeaseStatus

Gets the blob's lease status.

public LeaseStatus LeaseStatus { get; }

Property Value

LeaseStatus

A LeaseStatus object that indicates the blob's lease status.

Length

Gets the size of the blob, in bytes.

public long Length { get; }

Property Value

long

A long value containing the blob's size in bytes.

PageBlobSequenceNumber

If the blob is a page blob, gets the blob's current sequence number.

public long? PageBlobSequenceNumber { get; }

Property Value

long?

A long containing the blob's current sequence number.

PremiumPageBlobTier

Gets a value indicating the tier of the premium page blob.

public PremiumPageBlobTier? PremiumPageBlobTier { get; }

Property Value

PremiumPageBlobTier?

A PremiumPageBlobTier object that indicates the page blob tier.

RehydrationStatus

Gets a value indicating that the blob is being rehdrated and the tier of the blob once the rehydration from archive has completed.

public RehydrationStatus? RehydrationStatus { get; }

Property Value

RehydrationStatus?

A RehydrationStatus representing the rehydration status of the blob.

Remarks

Only applicable for block blobs in this version of the library.

RemainingDaysBeforePermanentDelete

If the blob is an soft-deleted, gets the number of remaining days before the blob is permenantly deleted.

public int? RemainingDaysBeforePermanentDelete { get; }

Property Value

int?

An integer containing the number of remaining days before permenant delete.

StandardBlobTier

Gets a value indicating the tier of the block blob.

public StandardBlobTier? StandardBlobTier { get; }

Property Value

StandardBlobTier?

A StandardBlobTier object that indicates the block blob tier.