Table of Contents

Class Constants

Namespace
Microsoft.WindowsAzure.Storage.Shared.Protocol
Assembly
Microsoft.WindowsAzure.Storage.dll

Contains storage constants.

public static class Constants
Inheritance
Constants
Inherited Members

Fields

AccessPolicy

XML element for access policies.

public const string AccessPolicy = "AccessPolicy"

Field Value

string

AccessTierChangeTimeElement

Constant for the access tier change time.

public const string AccessTierChangeTimeElement = "AccessTierChangeTime"

Field Value

string

AccessTierElement

Constant for the blob tier.

public const string AccessTierElement = "AccessTier"

Field Value

string

AccessTierInferred

Constant for the access tier being inferred.

public const string AccessTierInferred = "AccessTierInferred"

Field Value

string

AppendBlobValue

Constant signaling an append blob.

public const string AppendBlobValue = "AppendBlob"

Field Value

string

ArchiveStatusElement

Constant for the archive status.

public const string ArchiveStatusElement = "ArchiveStatus"

Field Value

string

BlobElement

XML element for blobs.

public const string BlobElement = "Blob"

Field Value

string

BlobPrefixElement

XML element for blob prefixes.

public const string BlobPrefixElement = "BlobPrefix"

Field Value

string

BlobTypeElement

XML element for blob types.

public const string BlobTypeElement = "BlobType"

Field Value

string

BlobsElement

XML element for blobs.

public const string BlobsElement = "Blobs"

Field Value

string

BlockBlobValue

Constant signaling a block blob.

public const string BlockBlobValue = "BlockBlob"

Field Value

string

BlockElement

XML element for blocks.

public const string BlockElement = "Block"

Field Value

string

BlockListElement

XML element for block lists.

public const string BlockListElement = "BlockList"

Field Value

string

CacheControlElement

XML element for content type fields.

public const string CacheControlElement = "Cache-Control"

Field Value

string

ClearRangeElement

XML element for clear ranges.

public const string ClearRangeElement = "ClearRange"

Field Value

string

CommittedBlocksElement

XML element for committed blocks.

public const string CommittedBlocksElement = "CommittedBlocks"

Field Value

string

CommittedElement

XML element for committed blocks.

public const string CommittedElement = "Committed"

Field Value

string

ContainerElement

XML element for a container.

public const string ContainerElement = "Container"

Field Value

string

ContainerNameElement

XML element for container name.

public const string ContainerNameElement = "ContainerName"

Field Value

string

ContainersElement

XML element for containers.

public const string ContainersElement = "Containers"

Field Value

string

ContentEncodingElement

XML element for content encoding fields.

public const string ContentEncodingElement = "Content-Encoding"

Field Value

string

ContentLanguageElement

XML element for content language fields.

public const string ContentLanguageElement = "Content-Language"

Field Value

string

ContentLengthElement

XML element for content length fields.

public const string ContentLengthElement = "Content-Length"

Field Value

string

ContentMD5Element

XML element for content MD5 fields.

public const string ContentMD5Element = "Content-MD5"

Field Value

string

ContentTypeElement

XML element for content type fields.

public const string ContentTypeElement = "Content-Type"

Field Value

string

CopyAbortedValue

Constant for an aborted copy.

public const string CopyAbortedValue = "aborted"

Field Value

string

CopyCompletionTimeElement

XML element for copy completion time.

public const string CopyCompletionTimeElement = "CopyCompletionTime"

Field Value

string

CopyDestinationSnapshotElement

XML element for destination snapshot time.

public const string CopyDestinationSnapshotElement = "CopyDestinationSnapshot"

Field Value

string

CopyFailedValue

Constant for a failed copy.

public const string CopyFailedValue = "failed"

Field Value

string

CopyIdElement

XML element for copy ID.

public const string CopyIdElement = "CopyId"

Field Value

string

CopyPendingValue

Constant for a pending copy.

public const string CopyPendingValue = "pending"

Field Value

string

CopyProgressElement

XML element for copy progress.

public const string CopyProgressElement = "CopyProgress"

Field Value

string

CopySourceElement

XML element for copy source.

public const string CopySourceElement = "CopySource"

Field Value

string

CopyStatusDescriptionElement

XML element for copy status description.

public const string CopyStatusDescriptionElement = "CopyStatusDescription"

Field Value

string

CopyStatusElement

XML element for copy status.

public const string CopyStatusElement = "CopyStatus"

Field Value

string

CopySuccessValue

Constant for a successful copy.

public const string CopySuccessValue = "success"

Field Value

string

CreationTimeElement

XML element for the creation date.

public const string CreationTimeElement = "Creation-Time"

Field Value

string

DefaultClientSideTimeout

Default client side timeout for all service clients.

public static readonly TimeSpan DefaultClientSideTimeout

Field Value

TimeSpan

DefaultParallelDownloadRangeSizeBytes

Default range size when downloading a blob in parallel.

public const long DefaultParallelDownloadRangeSizeBytes = 16777216

Field Value

long

DefaultSubStreamBufferSize

Default read buffer size used by the SubStream class for Large Block Blob uploads.

public const int DefaultSubStreamBufferSize = 4194304

Field Value

int

DefaultWriteBlockSizeBytes

Default Write Block Size used by Blob stream.

public const int DefaultWriteBlockSizeBytes = 4194304

Field Value

int

DeletedElement

XML element for deleted flag indicating the retention policy on the blob.

public const string DeletedElement = "Deleted"

Field Value

string

DeletedTimeElement

XML element for the time the retained blob was deleted.

public const string DeletedTimeElement = "DeletedTime"

Field Value

string

DelimiterElement

XML element for delimiters.

public const string DelimiterElement = "Delimiter"

Field Value

string

DequeueCountElement

XML element for dequeue counts.

public const string DequeueCountElement = "DequeueCount"

Field Value

string

DirectoryPathElement

XML element for directory path.

public const string DirectoryPathElement = "DirectoryPath"

Field Value

string

EndElement

XML element for page range end elements.

public const string EndElement = "End"

Field Value

string

EntriesElement

XML element for files.

public const string EntriesElement = "Entries"

Field Value

string

EnumerationResultsElement

XML element for enumeration results.

public const string EnumerationResultsElement = "EnumerationResults"

Field Value

string

ErrorCode

XML element for error codes.

public const string ErrorCode = "Code"

Field Value

string

ErrorExceptionMessage

XML element for exception messages.

public const string ErrorExceptionMessage = "ExceptionMessage"

Field Value

string

ErrorExceptionStackTrace

XML element for stack traces.

public const string ErrorExceptionStackTrace = "StackTrace"

Field Value

string

ErrorMessage

XML element for error messages.

public const string ErrorMessage = "Message"

Field Value

string

ErrorRootElement

XML root element for errors.

public const string ErrorRootElement = "Error"

Field Value

string

EtagElement

XML element for the ETag.

public const string EtagElement = "Etag"

Field Value

string

ExpirationTimeElement

XML element for expiration times.

public const string ExpirationTimeElement = "ExpirationTime"

Field Value

string

Expiry

XML element for the end of an access policy.

public const string Expiry = "Expiry"

Field Value

string

FileDirectoryElement

XML element for directory.

public const string FileDirectoryElement = "Directory"

Field Value

string

FileElement

XML element for files.

public const string FileElement = "File"

Field Value

string

FileRangeElement

XML element for file ranges.

public const string FileRangeElement = "Range"

Field Value

string

FileRangeListElement

XML element for file list elements.

public const string FileRangeListElement = "Ranges"

Field Value

string

GB

A constant representing a gigabyte (Non-SI version).

public const long GB = 1073741824

Field Value

long

GeoBootstrapValue

Constant for bootstrap geo-replication status.

public const string GeoBootstrapValue = "bootstrap"

Field Value

string

GeoLiveValue

Constant for live geo-replication status.

public const string GeoLiveValue = "live"

Field Value

string

GeoUnavailableValue

Constant for unavailable geo-replication status.

public const string GeoUnavailableValue = "unavailable"

Field Value

string

HasImmutabilityPolicyElement

XML element for immutability policy.

public const string HasImmutabilityPolicyElement = "HasImmutabilityPolicy"

Field Value

string

HasLegalHoldElement

XML element for legal hold.

public const string HasLegalHoldElement = "HasLegalHold"

Field Value

string

Id

XML attribute for IDs.

public const string Id = "Id"

Field Value

string

IncrementalCopy

XML element for incremental copy.

public const string IncrementalCopy = "IncrementalCopy"

Field Value

string

InsertionTimeElement

XML element for insertion times.

public const string InsertionTimeElement = "InsertionTime"

Field Value

string

InvalidMetadataName

XML element for an invalid metadata name.

public const string InvalidMetadataName = "x-ms-invalid-name"

Field Value

string

KB

A constant representing a kilo-byte (Non-SI version).

public const long KB = 1024

Field Value

long

LastModifiedElement

XML element for the last modified date.

public const string LastModifiedElement = "Last-Modified"

Field Value

string

LatestElement

XML element for the latest.

public const string LatestElement = "Latest"

Field Value

string

LeaseAvailableValue

Constant signaling the resource is available for leasing.

public const string LeaseAvailableValue = "available"

Field Value

string

LeaseBreakingValue

Constant signaling the resource's lease is breaking.

public const string LeaseBreakingValue = "breaking"

Field Value

string

LeaseBrokenValue

Constant signaling the resource's lease is broken.

public const string LeaseBrokenValue = "broken"

Field Value

string

LeaseDurationElement

XML element for the lease status.

public const string LeaseDurationElement = "LeaseDuration"

Field Value

string

LeaseExpiredValue

Constant signaling the resource's lease has expired.

public const string LeaseExpiredValue = "expired"

Field Value

string

LeaseFixedValue

Constant signaling the resource's lease is fixed (finite).

public const string LeaseFixedValue = "fixed"

Field Value

string

LeaseInfiniteValue

Constant signaling the resource's lease is infinite.

public const string LeaseInfiniteValue = "infinite"

Field Value

string

LeaseStateElement

XML element for the lease status.

public const string LeaseStateElement = "LeaseState"

Field Value

string

LeaseStatusElement

XML element for the lease status.

public const string LeaseStatusElement = "LeaseStatus"

Field Value

string

LeasedValue

Constant signaling the resource is leased.

public const string LeasedValue = "leased"

Field Value

string

LockedValue

Constant signaling the blob is locked.

public const string LockedValue = "locked"

Field Value

string

MB

A constant representing a megabyte (Non-SI version).

public const long MB = 1048576

Field Value

long

MarkerElement

XML element for markers.

public const string MarkerElement = "Marker"

Field Value

string

MaxAppendBlockSize

The maximum size of a single block for Append Blobs.

public const int MaxAppendBlockSize = 4194304

Field Value

int

MaxBlobSize

The maximum size of a blob with blocks.

public const long MaxBlobSize = 5242880000000

Field Value

long

MaxBlockNumber

The maximum number of blocks.

public const long MaxBlockNumber = 50000

Field Value

long

MaxBlockSize

The maximum size of a single block for Block Blobs.

public const int MaxBlockSize = 104857600

Field Value

int

MaxIdleTimeMs

The maximum allowed time between write calls to the stream for parallel download streams.

public const int MaxIdleTimeMs = 120000

Field Value

int

MaxMaximumExecutionTime

Constant for the max value of MaximumExecutionTime.

public static readonly TimeSpan MaxMaximumExecutionTime

Field Value

TimeSpan

MaxParallelOperationThreadCount

Constant for the max value of ParallelOperationThreadCount for Block Blobs.

public const int MaxParallelOperationThreadCount = 64

Field Value

int

MaxRangeGetContentMD5Size

The maximum size of a range get operation that returns content MD5.

public const int MaxRangeGetContentMD5Size = 4194304

Field Value

int

MaxResults

XML element for maximum results.

public const string MaxResults = "MaxResults"

Field Value

string

MaxResultsElement

XML element for maximum results.

public const string MaxResultsElement = "MaxResults"

Field Value

string

MaxSharedAccessPolicyIdentifiers

Maximum number of shared access policy identifiers supported by server.

public const int MaxSharedAccessPolicyIdentifiers = 5

Field Value

int

MaxSingleUploadBlobSize

The maximum size of a blob before it must be separated into blocks.

public const long MaxSingleUploadBlobSize = 268435456

Field Value

long

MaximumAllowedTimeout

Maximum allowed timeout for any request.

public static readonly TimeSpan MaximumAllowedTimeout

Field Value

TimeSpan

MaximumBreakLeasePeriod

Constant for the maximum period of time that a lease can be broken in.

public const int MaximumBreakLeasePeriod = 60

Field Value

int

MaximumLeaseDuration

Constant for the maximum non-infinite duration of a lease.

public const int MaximumLeaseDuration = 60

Field Value

int

MaximumRetryBackoff

Maximum Retry Policy back-off

public static readonly TimeSpan MaximumRetryBackoff

Field Value

TimeSpan

MessageElement

XML element for queue messages.

public const string MessageElement = "QueueMessage"

Field Value

string

MessageIdElement

XML element for message IDs.

public const string MessageIdElement = "MessageId"

Field Value

string

MessageTextElement

XML element for message texts.

public const string MessageTextElement = "MessageText"

Field Value

string

Messages

The URI path component to access the messages in a queue.

public const string Messages = "messages"

Field Value

string

MessagesElement

XML element for queue message lists.

public const string MessagesElement = "QueueMessagesList"

Field Value

string

MetadataElement

XML element for the metadata.

public const string MetadataElement = "Metadata"

Field Value

string

MinLargeBlockSize

The minimum size of a block for the large block upload strategy to be employed.

public const int MinLargeBlockSize = 4194305

Field Value

int

MinimumBreakLeasePeriod

Constant for the minimum period of time that a lease can be broken in.

public const int MinimumBreakLeasePeriod = 0

Field Value

int

MinimumLeaseDuration

Constant for the minimum duration of a lease.

public const int MinimumLeaseDuration = 15

Field Value

int

NameElement

XML element for names.

public const string NameElement = "Name"

Field Value

string

NextMarkerElement

XML element for the next marker.

public const string NextMarkerElement = "NextMarker"

Field Value

string

PageBlobValue

Constant signaling a page blob.

public const string PageBlobValue = "PageBlob"

Field Value

string

PageListElement

XML element for page list elements.

public const string PageListElement = "PageList"

Field Value

string

PageRangeElement

XML element for page ranges.

public const string PageRangeElement = "PageRange"

Field Value

string

PageSize

The size of a page in a PageBlob.

public const int PageSize = 512

Field Value

int

Permission

XML element for the permissions of an access policy.

public const string Permission = "Permission"

Field Value

string

PopReceiptElement

XML element for pop receipts.

public const string PopReceiptElement = "PopReceipt"

Field Value

string

PrefixElement

XML element for prefixes.

public const string PrefixElement = "Prefix"

Field Value

string

PropertiesElement

XML element for properties.

public const string PropertiesElement = "Properties"

Field Value

string

PublicAccessElement

XML element for the public access value.

public const string PublicAccessElement = "PublicAccess"

Field Value

string

QueueElement

XML element for the queue.

public const string QueueElement = "Queue"

Field Value

string

QueueNameElement

Version 2 of the XML element for the queue name.

public const string QueueNameElement = "Name"

Field Value

string

QueuesElement

XML element for queues.

public const string QueuesElement = "Queues"

Field Value

string

QuotaElement

XML element for Share Quota.

public const string QuotaElement = "Quota"

Field Value

string

RehydratePendingToCool

Constant for rehydrating an archived blob to cool storage.

public const string RehydratePendingToCool = "rehydrate-pending-to-cool"

Field Value

string

RehydratePendingToHot

Constant for rehydrating an archived blob to hot storage.

public const string RehydratePendingToHot = "rehydrate-pending-to-hot"

Field Value

string

RemainingRetentionDaysElement

XML element for the remaining days before the retained blob will be permenantly deleted.

public const string RemainingRetentionDaysElement = "RemainingRetentionDays"

Field Value

string

ServerEncryptionElement

XML element for the server encryption status.

public const string ServerEncryptionElement = "ServerEncrypted"

Field Value

string

ServiceEndpointElement

XML element for service endpoint.

public const string ServiceEndpointElement = "ServiceEndpoint"

Field Value

string

ShareElement

XML element for a share.

public const string ShareElement = "Share"

Field Value

string

ShareNameElement

XML element for share name.

public const string ShareNameElement = "ShareName"

Field Value

string

SharesElement

XML element for shares.

public const string SharesElement = "Shares"

Field Value

string

SignedIdentifier

XML element for a signed identifier.

public const string SignedIdentifier = "SignedIdentifier"

Field Value

string

SignedIdentifiers

XML element for signed identifiers.

public const string SignedIdentifiers = "SignedIdentifiers"

Field Value

string

SizeElement

XML element for sizes.

public const string SizeElement = "Size"

Field Value

string

SnapshotElement

XML element for snapshots.

public const string SnapshotElement = "Snapshot"

Field Value

string

Start

XML element for the start time of an access policy.

public const string Start = "Start"

Field Value

string

StartElement

XML element for page range start elements.

public const string StartElement = "Start"

Field Value

string

TimeNextVisibleElement

XML element for the time next visible fields.

public const string TimeNextVisibleElement = "TimeNextVisible"

Field Value

string

UncommittedBlocksElement

XML element for uncommitted blocks.

public const string UncommittedBlocksElement = "UncommittedBlocks"

Field Value

string

UncommittedElement

XML element for uncommitted blocks.

public const string UncommittedElement = "Uncommitted"

Field Value

string

UnlockedValue

Constant signaling the blob is unlocked.

public const string UnlockedValue = "unlocked"

Field Value

string

UrlElement

XML element for the Url.

public const string UrlElement = "Url"

Field Value

string