I am trying to practice on the following tasks:
Create Storage Account: az storage account create --name heyatafroz25 --resource-group user-fottsascvuzj
Get Storage Account Key: az storage account keys list -g user-fottsascvuzj -n heyatafroz25
Create Share Account: az storage share create --account-name heyatafroz25 --name key1 az storage share create --account-name heyatafroz25 --name key2
Create Storage Directory: az storage directory create --account-name heyatafroz25 --name heyatdir1 --share-name key1 az storage directory create --account-name heyatafroz25 --name heyatdir2 --share-name key2
Uploading the File
I was asked to create a index.php file which i created using the touch command.
Post that I am not sure what details to be considered for path and source. For path i took the present working directory
az storage file upload --account-name heyatafroz25 --account-key N+PKe3ihto+G0h9CvVRV/bJ5KeEFF6RFB0aKf2qcfcyJA1uOyCBUO06Tlh9KHUzhA+PyugmDLwlrceXW5V31Xw== --path /home/scrapbook/tutorial/index.php --share-name key1 --source /home/scrapbook/tutorial/index.php
Please suggest on the corrections in the 5th command.
Thanks in advance.