Module: Azure::Storage::Blob::BlobConstants
- Defined in:
- blob/lib/azure/storage/blob/default.rb
Overview
Defines constants for use with blob operations.
Defined Under Namespace
Modules: BlobTypes, LeaseOperation, ListBlobTypes, PageWriteOptions, ResourceTypes
Constant Summary collapse
- LATEST_ELEMENT =
XML element for the latest.
"Latest"
- UNCOMMITTED_ELEMENT =
XML element for uncommitted blocks.
"Uncommitted"
- BLOCK_LIST_ELEMENT =
XML element for a block list.
"BlockList"
- COMMITTED_ELEMENT =
XML element for committed blocks.
"Committed"
- DEFAULT_WRITE_PAGE_SIZE_IN_BYTES =
The default write page size, in bytes, used by blob streams.
4 * 1024 * 1024
- MIN_WRITE_PAGE_SIZE_IN_BYTES =
The minimum write page size, in bytes, used by blob streams.
2 * 1024 * 1024
- DEFAULT_SINGLE_BLOB_PUT_THRESHOLD_IN_BYTES =
The default maximum size, in bytes, of a blob before it must be separated into blocks.
128 * 1024 * 1024
- DEFAULT_WRITE_BLOCK_SIZE_IN_BYTES =
The default write block size, in bytes, used by blob streams.
4 * 1024 * 1024
- MAX_BLOCK_SIZE =
The maximum size of a single block.
100 * 1024 * 1024
- MAX_BLOCK_COUNT =
The maximum count of blocks for a block blob
50000
- MAX_BLOCK_BLOB_SIZE =
The maximum size of block blob
50000 * 100 * 1024 * 1024
- MAX_APPEND_BLOB_SIZE =
The maximum size of block blob
1024 * 1024 * 1024 * 1024
- MAX_SINGLE_UPLOAD_BLOB_SIZE_IN_BYTES =
The maximum size, in bytes, of a blob before it must be separated into blocks.
256 * 1024 * 1024
- MAX_RANGE_GET_SIZE_WITH_MD5 =
The maximum range get size when requesting for a contentMD5
4 * 1024 * 1024
- MAX_UPDATE_PAGE_SIZE =
The maximum page range size for a page update operation.
4 * 1024 * 1024
- MAX_QUEUED_WRITE_DISK_BUFFER_SIZE =
The maximum buffer size for writing a stream buffer.
64 * 1024 * 1024
- MAX_SINGLE_GET_PAGE_RANGE_SIZE =
Max size for single get page range. The max value should be 150MB blogs.msdn.com/b/windowsazurestorage/archive/2012/03/26/getting-the-page-ranges-of-a-large-page-blob-in-segments.aspx
37 * 4 * 1024 * 1024
- PAGE_SIZE =
The size of a page, in bytes, in a page blob.
512
- MAX_USER_DELEGATION_KEY_SECONDS =
The maximum validity of user delegation SAS (7 days from the current time).
60 * 60 * 24 * 7