Skip to content

Commit ec4d1cf

Browse files
authored
Merge pull request MicrosoftDocs#2187 from gatneil/vmssCLIRefactor
made VMSS CLI quick-create generic: Linux and Windows
2 parents 730a8fe + a952576 commit ec4d1cf

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

includes/virtual-machines-linux-cli-vmss-quick-create-include.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@ If you haven't already, you can get an [Azure subscription free trial](https://a
44
azure config mode arm
55
```
66

7-
Now create your scale set using the `azure vmss quick-create` command. The following example creates a scale set named `myVMSS` with 5 VM instances in the resource group named `myResourceGroup`:
7+
Now create your scale set using the `azure vmss quick-create` command. The following example creates a Linux scale set named `myVMSS` with 5 VM instances in the resource group named `myResourceGroup`:
88

99
```azurecli
1010
azure vmss quick-create -n myVMSS -g myResourceGroup -l westus \
1111
-u ops -p P@ssw0rd! \
12-
-C 5 -Q Canonical:UbuntuServer:14.04.4-LTS:latest
12+
-C 5 -Q Canonical:UbuntuServer:16.04.0-LTS:latest
13+
```
14+
15+
The following example creates a Windows scale set with the same configuration:
16+
17+
```azurecli
18+
azure vmss quick-create -n myVMSS -g myResourceGroup -l westus \
19+
-u ops -p P@ssw0rd! \
20+
-C 5 -Q MicrosoftWindowsServer:WindowsServer:2016-Datacenter:latest
1321
```
1422

1523
If you want to customize the location or image-urn, please look into the commands `azure location list` and `azure vm image {list-publishers|list-offers|list-skus|list|show}`.

0 commit comments

Comments
 (0)