@@ -26,13 +26,13 @@ Before you begin, make sure to complete the following prerequisites:
26
26
27
27
Download an Azure managed disk as follows:
28
28
29
- 1 . Set parameters for your subscription, resource group, disk name, and custom location. Replace the parameters in ` < > ` with the appropriate values:
29
+ 1 . Set parameters for ` subscription ` , ` resource- group ` , ` name ` , and ` custom- location ` . Replace the parameters in ` < > ` with the appropriate values:
30
30
31
31
``` azurecli
32
32
$subscription = "<Subscription ID>"
33
33
$resource-group = "<Resource group>"
34
34
$name = "<Data disk name>"
35
- $customLocation = "<Custom location resource ID>"
35
+ $custom-location = "<Custom location resource ID>"
36
36
```
37
37
38
38
1. Generate a SAS URL of the disk using Azure CLI:
@@ -44,19 +44,19 @@ Download an Azure managed disk as follows:
44
44
1. Once the SAS URL is generated, use the following command to download it to your Azure Local:
45
45
46
46
```azurecli
47
- az stack-hci-vm disk create -resource-group $resource-group --disk-file-format vhd --custom-location $customLocation --download-url $download-url --name $name
47
+ az stack-hci-vm disk create -resource-group $resource-group --disk-file-format vhd --custom-location $custom-location --download-url $download-url --name $name
48
48
```
49
49
50
50
The parameters are described in the following table:
51
51
52
52
| Parameter | Description |
53
53
| --- | --- |
54
- | subscription | Subscription associated with your Azure Local.
55
- | resource-group | Resource group for Azure Local that you associate with this image. |
56
- | name | Name of the data disk for Azure Local. |
57
- | customLocation | Resource ID of the custom location for Azure Local. |
58
- | disk-file-format | File format of the data disk. This can be `vhd` or `vhdx`. |
59
- | download-url | SAS URL of the Azure managed disk.|
54
+ | ` subscription` | Subscription associated with your Azure Local.
55
+ | ` resource-group` | Resource group for Azure Local that you associate with this image. |
56
+ | ` name` | Name of the data disk for Azure Local. |
57
+ | `custom-location` | Resource ID of the custom location for Azure Local. |
58
+ | ` disk-file-format` | File format of the data disk. This can be `vhd` or `vhdx`. |
59
+ | ` download-url` | SAS URL of the Azure managed disk.|
60
60
61
61
Here is an example output:
62
62
0 commit comments