Skip to content

Commit 0ddc9ed

Browse files
authored
Merge pull request #72532 from dev-ankit-0067/patch-1
Update azure-vm-get-sas-uri.md
2 parents 13af2f5 + b180780 commit 0ddc9ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/marketplace/azure-vm-get-sas-uri.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $snapshotName=mySnapshot
5858
#Know more about SAS here: https://docs.microsoft.com/en-us/azure/storage/storage-dotnet-shared-access-signature-part-1
5959
$sasExpiryDuration=3600
6060
61-
#Provide storage account name where you want to copy the underlying VHD file.
61+
#Provide storage account name where you want to copy the underlying VHD file. Currently, only general purpose v1 storage is supported.
6262
$storageAccountName=mystorageaccountname
6363
6464
#Name of the storage container where the downloaded VHD will be stored.
@@ -72,7 +72,7 @@ $destinationVHDFileName=myvhdfilename.vhd
7272
7373
az account set --subscription $subscriptionId
7474
75-
sas=$(az snapshot grant-access --resource-group $resourceGroupName --name $snapshotName --duration-in-seconds $sasExpiryDuration --query [accessSas] -o tsv)
75+
$sas=$(az snapshot grant-access --resource-group $resourceGroupName --name $snapshotName --duration-in-seconds $sasExpiryDuration --query [accessSas] -o tsv)
7676
7777
az storage blob copy start --destination-blob $destinationVHDFileName --destination-container $storageContainerName --account-name $storageAccountName --account-key $storageAccountKey --source-uri $sas
7878
```

0 commit comments

Comments
 (0)