You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `--all` | `-A` | (Controller mode, VirtualMachine only) List all VMs from CloudStack including unmanaged ones. Without this flag only DB-managed VMs are returned. |
215
+
| `--all-vms` | `-A` | (Controller mode, VirtualMachine only) List all VMs from CloudStack including unmanaged ones. Without this flag only DB-managed VMs are returned. |
216
+
| `--all-projects` | `-P` | List resources across all CloudStack projects (and resources not in any project). |
217
+
| `--project` | `-p` | Filter results to a specific CloudStack project by name. |
214
218
| `--application` | `-a` | Filter results by application name. Applies to `Application`, `Component`, and `VirtualMachine` resources in controller mode. |
215
219
216
220
Examples:
@@ -222,11 +226,43 @@ Examples:
222
226
# List all VMs from CloudStack (including unmanaged)
223
227
./cloudstackctl get VirtualMachine -A
224
228
229
+
# List VMs in a specific project
230
+
./cloudstackctl get VirtualMachine -p my-project
231
+
232
+
# List VMs across all projects
233
+
./cloudstackctl get VirtualMachine -P
234
+
235
+
# List all projects
236
+
./cloudstackctl get Project
237
+
225
238
# List components belonging to a specific application
226
239
./cloudstackctl get Component -a my-app
227
240
```
228
241
229
-
### `reconcile` command
242
+
### `describe` command flags
243
+
244
+
| Flag | Short | Description |
245
+
|---|---|---|
246
+
| `--all-vms` | `-A` | (Controller mode, VirtualMachine only) Describe a VM directly from CloudStack rather than from the DB. |
247
+
| `--project` | `-p` | Look up the resource within a specific CloudStack project by name. |
0 commit comments