Skip to content

Commit

Permalink
Added blob upload
Browse files Browse the repository at this point in the history
  • Loading branch information
directdevops committed Dec 22, 2020
1 parent 57a4414 commit 8c29987
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Empty file added Dec20/StrorageAccount/demo.txt
Empty file.
5 changes: 4 additions & 1 deletion Dec20/StrorageAccount/storageaccountdemo.azcli
Expand Up @@ -5,4 +5,7 @@ az group create --location 'eastus' --name 'fromcli'
# Create a storage account
az storage account create --name qtstorageforcli --resource-group 'fromcli' --allow-blob-public-access true --kind StorageV2 --access-tier Hot --sku Standard_ZRS --location 'eastus'
# Create a storage account container
az storage container create --name videos --account-name 'qtstorageforcli' --public-access blob
az storage container create --name 'videos' --account-name 'qtstorageforcli' --public-access blob
# Upload some data into blob
az storage blob upload --account-name 'qtstorageforcli' --container-name videos --name 'demo' --file .\demo.txt
az storage blob upload --account-name 'qtstorageforcli' --container-name videos --name 'authorization.mp4' --file ~/Desktop/authenticationandauthorization.mp4

0 comments on commit 8c29987

Please sign in to comment.