File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
articles/virtual-machines Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -157,12 +157,12 @@ az vm applicaction set \
157
157
To verify application VM deployment status:
158
158
159
159
``` azurecli-interactive
160
- az vm get-instance-view -g $rgName -n $vmName --query "instanceView.extensions[?name == 'VMAppExtension']"
160
+ az vm get-instance-view -g myResourceGroup -n myVM --query "instanceView.extensions[?name == 'VMAppExtension']"
161
161
```
162
162
For verifying application VMSS deployment status:
163
163
164
164
``` azurecli-interactive
165
- $ids = az vmss list-instances -g $rgName -n $vmssName --query "[*].{id: id, instanceId: instanceId}" | ConvertFrom-Json
165
+ $ids = az vmss list-instances -g myResourceGroup -n $vmssName --query "[*].{id: id, instanceId: instanceId}" | ConvertFrom-Json
166
166
$ids | Foreach-Object {
167
167
$iid = $_.instanceId
168
168
Write-Output "instanceId: $iid"
You can’t perform that action at this time.
0 commit comments