File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ $snapshotName=mySnapshot
58
58
#Know more about SAS here: https://docs.microsoft.com/en-us/azure/storage/storage-dotnet-shared-access-signature-part-1
59
59
$sasExpiryDuration=3600
60
60
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.
62
62
$storageAccountName=mystorageaccountname
63
63
64
64
#Name of the storage container where the downloaded VHD will be stored.
@@ -72,7 +72,7 @@ $destinationVHDFileName=myvhdfilename.vhd
72
72
73
73
az account set --subscription $subscriptionId
74
74
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)
76
76
77
77
az storage blob copy start --destination-blob $destinationVHDFileName --destination-container $storageContainerName --account-name $storageAccountName --account-key $storageAccountKey --source-uri $sas
78
78
```
You can’t perform that action at this time.
0 commit comments