CmdID / az / az storage / az storage blob
az storage blob upload
Upload a file to a storage blob. Azure CLI reference
15 options Its page in the Azure CLI reference
Options
--blob-name, --metadata, --timeout--dataThe blob data to upload.--encryption-scopeA predefined encryption scope used to encrypt the data on the service.--file, -fPath of the file to upload as the blob content.--lease-idRequired if the blob has an active lease.--lengthNumber of bytes to read from the stream.--max-connectionsMaximum number of parallel connections to use when the blob size exceeds 64MB.--maxsize-conditionThe max length in bytes permitted for an append blob.--no-progressInclude this flag to disable progress reporting for the command.--overwriteWhether the blob to be uploaded should overwrite the current data.--socket-timeoutThe socket timeout(secs), used by the service to regulate data flow.--tagsspace-separated tags: key[=value] [key[=value] ...].--tierThe tier value to set the blob to.--type, -tDefault to 'page' for *.vhd files, or 'block' otherwise.--validate-contentSpecify that an MD5 hash shall be calculated for each chunk of the blob and verified by the service when the chunk has arrived.