File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
articles/virtual-machines/linux Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: Learn how to upload a VHD to an Azure managed disk and copy a manag
4
4
services : " virtual-machines,storage"
5
5
author : roygara
6
6
ms.author : rogarana
7
- ms.date : 01/03 /2023
7
+ ms.date : 08/16 /2023
8
8
ms.topic : how-to
9
9
ms.service : azure-disk-storage
10
10
ms.custom : devx-track-azurecli
@@ -156,7 +156,7 @@ sourceDiskSizeBytes=$(az disk show -g $sourceRG -n $sourceDiskName --query '[dis
156
156
157
157
az disk create -g $targetRG -n $targetDiskName -l $targetLocation --os-type $targetOS --for-upload --upload-size-bytes $(($sourceDiskSizeBytes+512)) --sku standard_lrs
158
158
159
- targetSASURI=$(az disk grant-access -n $targetDiskName -g $targetRG --access-level Write --duration-in-seconds 86400 -o tsv)
159
+ targetSASURI=$(az disk grant-access -n $targetDiskName -g $targetRG --access-level Write --duration-in-seconds 86400 --query [accessSas] - o tsv)
160
160
161
161
sourceSASURI=$(az disk grant-access -n $sourceDiskName -g $sourceRG --duration-in-seconds 86400 --query [accessSas] -o tsv)
162
162
You can’t perform that action at this time.
0 commit comments