AZBlob
Constants
AZURE_ENDPOINT_URL = "https://%s.blob.core.windows.net/"
AZURE_ENDPOINT_URL_SHARED = "https://%s.blob.core.windows.net/?%s"
AZURE_STORAGE_ACCOUNT_KEY = ENV["AZURE_STORAGE_ACCOUNT_KEY"]?
AZURE_STORAGE_ACCOUNT_NAME = ENV["AZURE_STORAGE_ACCOUNT_NAME"]?
AZURE_STORAGE_CONNECTION_STRING = ENV["AZURE_STORAGE_CONNECTION_STRING"]?
AZURE_STORAGE_SHARED_ACCESS_SIGNATURE = ENV["AZURE_STORAGE_SHARED_ACCESS_SIGNATURE"]?
ContentTypeAppJSON = "application/json"
ContentTypeAppXML = "application/xml"
ContentTypeBinary = "application/octet-stream"
ContentTypeTextPlain = "text/plain"
DefaultConcurrency = 5
DefaultDownloadBlockSize = ((4 * 1024) * 1024).to_i64
DEFUALT_SCHEME = "https"
DEFUALT_SUFFIX = "core.windows.net"
HeaderAuthorization = "Authorization"
HeaderAuxiliaryAuthorization = "x-ms-authorization-auxiliary"
HeaderAzureAsync = "Azure-AsyncOperation"
HeaderContentEncoding = "Content-Encoding"
HeaderContentLanguage = "Content-Language"
HeaderContentLength = "Content-Length"
HeaderContentMD5 = "Content-MD5"
HeaderContentType = "Content-Type"
HeaderFakePollerStatus = "Fake-Poller-Status"
HeaderIfMatch = "If-Match"
HeaderIfModifiedSince = "If-Modified-Since"
HeaderIfNoneMatch = "If-None-Match"
HeaderIfUnmodifiedSince = "If-Unmodified-Since"
HeaderLocation = "Location"
HeaderOperationLocation = "Operation-Location"
HeaderRange = "Range"
HeaderRetryAfter = "Retry-After"
HeaderRetryAfterMS = "Retry-After-Ms"
HeaderUserAgent = "User-Agent"
HeaderWWWAuthenticate = "WWW-Authenticate"
HeaderXMSClientRequestID = "x-ms-client-request-id"
HeaderXmsDate = "x-ms-date"
HeaderXMSErrorCode = "x-ms-error-code"
HeaderXMSRequestID = "x-ms-request-id"
HeaderXMSRetryAfterMS = "x-ms-retry-after-ms"
HeaderXmsVersion = "x-ms-version"
INVALID_CONNECTION_STRING = "\n connection string is either blank or malformed. The expected connection string should contain key value pairs separated by semicolons.\n For example 'DefaultEndpointsProtocol=https;AccountName=<accountName>;AccountKey=<accountKey>;EndpointSuffix=core.windows.net'\n "
MaxBlocks = 50000
MaxBlocks indicates the maximum number of blocks allowed in a block blob.
MaxStageBlockBytes = (4000_i64 * 1024) * 1024
MaxStageBlockBytes indicates the maximum number of bytes that can be sent in a call to StageBlock.
MaxUploadBlobBytes = (256 * 1024) * 1024
MaxUploadBlobBytes indicates the maximum number of bytes that can be sent in a call to Upload.
ServiceVersion = "2024-05-04"
VERSION = {{ (`shards version \"/tmp/tmp.CaanNl/src/src\"`).chomp.stringify.downcase }}
Class methods
client(connection_string : String, proxy : Client::ProxyConfig | Nil = nil)
Sourceclient_from_env
SourceNested types
- AZBlob::AccessConditions
- AZBlob::AccessTier
- AZBlob::BlobHTTPHeaders
- AZBlob::BlobInclude
- AZBlob::BlobPermissions
- AZBlob::CPKInfo
- AZBlob::CPKScopeInfo
- AZBlob::Client
- AZBlob::ContainerPermissions
- AZBlob::DownloadOptions
- AZBlob::EncryptionAlgorithmType
- AZBlob::Error
- AZBlob::FailRead
- AZBlob::HTTPRange
- AZBlob::HeaderReader
- AZBlob::LeaseAcessConditions
- AZBlob::Models
- AZBlob::ModifiedAccessConditions
- AZBlob::Pager(T)
- AZBlob::RetryReaderOptions
- AZBlob::SasPermissions
- AZBlob::SharedKeyCredential
- AZBlob::SignatureValues
- AZBlob::StageBlockOptions
- AZBlob::UploadOptions
- AZBlob::XMLNode