Skip to main content

Blob

Properties

PropertyTypeAttributesDescription
containerNamestringRequired, IdentifierThe containing blob container name
namestringRequired, IdentifierThe blob name, which may include '/' separators
accessTier'Hot' | 'Cool' | 'Cold' | 'Archive'The blob access tier
cacheControlstringThe blob cache control header
contentstringThe blob content, as a UTF-8 string. Mutually exclusive with 'contentBase64' and 'sourceUri'.
contentBase64stringThe blob content, base64-encoded. Use with Bicep's loadFileAsBase64() to upload a local file. Mutually exclusive with 'content' and 'sourceUri'.
contentDispositionstringThe blob content disposition
contentEncodingstringThe blob content encoding
contentLanguagestringThe blob content language
contentTypestringThe blob content type
encryptionScopestringThe encryption scope to encrypt the blob with
eTagstringRead-onlyThe blob ETag
lastModifiedstringRead-onlyWhen the blob was last modified
metadataDictionary<string, String>Name/value pairs to associate with the blob
sizeInMbintThe size of a page blob in MiB. Required for 'Page' blobs, and ignored otherwise.
sourceUristringA URL to copy the blob content from. The source must be publicly readable or include a SAS token. Mutually exclusive with 'content' and 'contentBase64'.
tagsDictionary<string, String>Blob index tags, used to categorize and find blobs
type'Block' | 'Page' | 'Append'The blob type. Defaults to 'Block'.
urlstringRead-onlyThe blob URL
versionIdstringRead-onlyThe blob version ID, when versioning is enabled on the account

Dictionary<string, String>

Additional properties of type string are allowed.