Skip to content

Commit c40fe45

Browse files
authored
Update quickstart-create-azure-cli.md
1 parent 435fa18 commit c40fe45

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

articles/azure-compute-fleet/quickstart-create-azure-cli.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ ms.custom: devx-track-azurecli
1212

1313
# Create an Azure Compute Fleet using Azure CLI
1414

15-
This article steps through using an ARM template to create an Azure Compute Fleet.
16-
17-
18-
[!INCLUDE [About Azure Resource Manager](~/reusable-content/ce-skilling/azure/includes/resource-manager-quickstart-introduction.md)]
15+
The Azure CLI is used to create and manage Azure resources from the command line or in scripts. This quickstart shows you how to use the Azure CLI to deploy a Compute Fleet resource.
1916

2017

2118
## Prerequisites
@@ -37,7 +34,7 @@ az provider register --namespace 'Microsoft.AzureFleet'
3734
export RANDOM_ID="$(openssl rand -hex 3)"
3835
export MY_RESOURCE_GROUP_NAME="myFleetResourceGroup$RANDOM_ID"
3936
export REGION=EastUS
40-
export MY_FLEET_NAME="myFLEET$RANDOM_ID"
37+
export MY_FLEET_NAME="myFleet$RANDOM_ID"
4138
export MY_USERNAME=azureuser
4239
export MY_VNET_NAME="myVNet$RANDOM_ID"
4340
export NETWORK_PREFIX="$(($RANDOM % 254 + 1))"
@@ -72,11 +69,13 @@ export MY_SUBNET_ID="$(az network vnet subnet show \
7269

7370
Setup a password that meets the [password requirements for Azure VMs](https://learn.microsoft.com/en-us/azure/virtual-machines/windows/faq#what-are-the-password-requirements-when-creating-a-vm-).
7471

75-
export ADMIN_PASSWORD="<azure compliant password>"
72+
export ADMIN_PASSWORD="Azure compliant password"
7673

7774

7875
### Create Compute Fleet
7976

77+
Setup the compute profile which will be applied to the underlying VMs.
78+
8079
```bash
8180
export COMPUTE_PROFILE="{ 'baseVirtualMachineProfile': { 'storageProfile': { 'imageReference': { 'publisher':'canonical', 'offer':'0001-com-ubuntu-server-focal', 'sku': '20_04-lts-gen2', 'version': 'latest' } }, 'osProfile': { 'computerNamePrefix': 'vm', 'adminUsername': '$MY_USERNAME', 'adminPassword': '$ADMIN_PASSWORD'}, 'networkProfile': { 'networkInterfaceConfigurations': [{ 'name': 'nic', 'primary': 'true', 'enableIPForwarding': 'true', 'ipConfigurations': [{ 'name': 'ipc', 'subnet': { 'id': '$MY_SUBNET_ID' } }] }], 'networkApiVersion': '2020-11-01'} } }"
8281
```

0 commit comments

Comments
 (0)