Skip to content

Commit bca64e5

Browse files
committed
fix commands
1 parent 464afe6 commit bca64e5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

articles/load-balancer/quickstart-load-balancer-standard-public-cli.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,18 @@ Use [az network nat gateway create](/cli/azure/network/nat#az_network_nat_gatewa
320320
--idle-timeout 10
321321
```
322322

323+
### Associate NAT gateway with subnet
324+
325+
Configure the source subnet in virtual network to use a specific NAT gateway resource with [az network vnet subnet update](/cli/azure/network/vnet/subnet#az_network_vnet_subnet_update).
326+
327+
```azurecli
328+
az network vnet subnet update \
329+
--resource-group CreatePubLBQS-rg \
330+
--vnet-name myVNet \
331+
--name myBackendSubnet \
332+
--nat-gateway myNATgateway
333+
```
334+
323335
## Install IIS
324336

325337
Use [az vm extension set](/cli/azure/vm/extension#az_vm_extension_set) to install IIS on the virtual machines and set the default website to the computer name.

0 commit comments

Comments
 (0)