Skip to content

Commit f636521

Browse files
authored
Update howto-baremetal-run-data-extract.md
Updates doc with more descriptive(specific) labels to be used in the az cli parameters.
1 parent 34eccea commit f636521

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

articles/operator-nexus/howto-baremetal-run-data-extract.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ The command produces an output file containing the results of the data extract l
2020
- This article assumes that you've installed the Azure command line interface and the `networkcloud` command line interface extension. For more information, see [How to Install CLI Extensions](./howto-install-cli-extensions.md).
2121
- The target bare metal machine is on and has readyState set to True.
2222
- The syntax for these commands is based on the 0.3.0+ version of the `az networkcloud` CLI.
23+
- Get the Cluster Managed Resource group name (cluster_MRG) that you created for Cluster resource.
2324

2425
## Executing a run command
2526

@@ -50,10 +51,10 @@ The command syntax is:
5051

5152
```azurecli-interactive
5253
az networkcloud baremetalmachine run-data-extract --name "<machine-name>" \
53-
--resource-group "<resource-group>" \
54+
--resource-group "<cluster_MRG>" \
5455
--subscription "<subscription>" \
5556
--commands '[{"arguments":["<arg1>","<arg2>"],"command":"<command1>"}]' \
56-
--limit-time-seconds <timeout>
57+
--limit-time-seconds "<timeout>"
5758
```
5859

5960
Specify multiple commands using json format in `--commands` option. Each `command` specifies command and arguments. For a command with multiple arguments, provide as a list to the `arguments` parameter. See [Azure CLI Shorthand](https://github.com/Azure/azure-cli/blob/dev/doc/shorthand_syntax.md) for instructions on constructing the `--commands` structure.
@@ -68,7 +69,7 @@ This example executes the `hardware-support-data-collection` command and get `Sy
6869

6970
```azurecli
7071
az networkcloud baremetalmachine run-data-extract --name "bareMetalMachineName" \
71-
--resource-group "resourceGroupName" \
72+
--resource-group "cluster_MRG" \
7273
--subscription "subscription" \
7374
--commands '[{"arguments":["SysInfo", "TTYLog"],"command":"hardware-support-data-collection"}]' \
7475
--limit-time-seconds 600
@@ -136,7 +137,7 @@ This example executes the `mde-agent-information` command without arguments.
136137

137138
```azurecli
138139
az networkcloud baremetalmachine run-data-extract --name "bareMetalMachineName" \
139-
--resource-group "resourceGroupName" \
140+
--resource-group "cluster_MRG" \
140141
--subscription "subscription" \
141142
--commands '[{"command":"mde-agent-information"}]' \
142143
--limit-time-seconds 600
@@ -183,7 +184,7 @@ This example executes the `mde-support-diagnostics` command without arguments.
183184

184185
```azurecli
185186
az networkcloud baremetalmachine run-data-extract --name "bareMetalMachineName" \
186-
--resource-group "resourceGroupName" \
187+
--resource-group "cluster_MRG" \
187188
--subscription "subscription" \
188189
--commands '[{"command":"mde-support-diagnostics"}]' \
189190
--limit-time-seconds 600
@@ -241,7 +242,7 @@ This example executes the `hardware-rollup-status` command without arguments.
241242

242243
```azurecli
243244
az networkcloud baremetalmachine run-data-extract --name "bareMetalMachineName" \
244-
--resource-group "resourceGroupName" \
245+
--resource-group "clusete_MRG" \
245246
--subscription "subscription" \
246247
--commands '[{"command":"hardware-rollup-status"}]' \
247248
--limit-time-seconds 600

0 commit comments

Comments
 (0)