@@ -37,7 +37,7 @@ The type of NVA you're using determines how to disable SNAT for private endpoint
37
37
38
38
Here we add the tag to the VM NIC.
39
39
40
- # [ ** Portal** ] ( #tab/vm-nic-portal )
40
+ # [ Portal] ( #tab/vm-nic-portal )
41
41
42
42
1 . Sign in to the [ Azure portal] ( https://portal.azure.com ) .
43
43
1 . In the search bar at the top, type "Virtual machines" and select it from the services.
@@ -57,7 +57,7 @@ Here we add the tag to the VM NIC.
57
57
> [ !NOTE]
58
58
> The tag is case-sensitive. Ensure you enter it exactly as shown.
59
59
60
- # [ ** PowerShell** ] ( #tab/vm-nic-powershell )
60
+ # [ PowerShell] ( #tab/vm-nic-powershell )
61
61
62
62
1 . Use the following PowerShell command to add the tag to your VM NIC:
63
63
@@ -69,19 +69,20 @@ Here we add the tag to the VM NIC.
69
69
Set-AzResource -ResourceId $nic.Id -Tag $tags -Force
70
70
```
71
71
72
- # [ ** Azure CLI** ] ( #tab/vm-nic-cli )
72
+ # [ Azure CLI] ( #tab/vm-nic-cli )
73
73
74
74
1 . Use the following CLI command to add the tag to your VM NIC:
75
75
76
76
``` azurecli-interactive
77
77
az network nic update --name "myNIC" --resource-group "MyResourceGroup" --set tags.disableSnatOnPL=string:"true"
78
78
```
79
+ ---
79
80
80
- #### Add Tag to your VMSS
81
+ ### Add Tag to your VMSS
81
82
82
83
Here we add the tag to the VMSS instance.
83
84
84
- # [ ** Portal** ] ( #tab/vmss-powershell )
85
+ # [ Portal] ( #tab/vmss-portal )
85
86
86
87
1 . Sign in to the [ Azure portal] ( https://portal.azure.com ) .
87
88
1 . In the search bar at the top, type "Virtual machine scale sets" and select it from the services.
@@ -99,7 +100,7 @@ Here we add the tag to the VMSS instance.
99
100
> [ !NOTE]
100
101
> The tag is case-sensitive. Ensure you enter it exactly as shown.
101
102
102
- # [ ** PowerShell** ] ( #tab/vmss-cli )
103
+ # [ PowerShell] ( #tab/vmss-powershell )
103
104
104
105
1 . Use the following PowerShell command to add the tag to your VMSS:
105
106
@@ -109,13 +110,14 @@ Here we add the tag to the VMSS instance.
109
110
Update-AzVmss -ResourceGroupName "MyResourceGroup" -Name "myVmss" -VirtualMachineScaleSet $vmss
110
111
```
111
112
112
- # [ ** Azure CLI** ] ( #tab/vmss-powershell )
113
+ # [ Azure CLI] ( #tab/vmss-cl )
113
114
114
115
1 . Use the following Azure CLI command to add the tag to your VMSS:
115
116
116
117
``` azurecli-interactive
117
118
az vmss update --name "myVmss" --resource-group "MyResourceGroup" --set tags.disableSnatOnPL=true
118
119
```
120
+ ---
119
121
120
122
#### Validate the Tag
121
123
0 commit comments