waldur-cli openstack instance terminate
Terminate openstack instances (vms) via a marketplace order.
Usage
| waldur-cli openstack instance terminate <MARKETPLACE_RESOURCE_UUID> [OPTIONS]
|
| Flag |
Type |
Description |
<MARKETPLACE_RESOURCE_UUID> |
positional, required |
The resource's marketplace_resource_uuid field (from get/list) -- not its own uuid. |
--request JSON |
string |
Optional termination attributes as inline JSON. |
--no-wait |
flag |
Submit and return immediately, without polling the order to completion. |
--timeout N |
integer |
Seconds to wait for termination before giving up (default 600). |
--interval N |
integer |
Seconds between polls (default 3). |
Examples
| waldur-cli openstack instance terminate <marketplace-resource-uuid>
|
With termination attributes:
| waldur-cli openstack instance terminate <marketplace-resource-uuid> --request '{"delete_volumes": true}'
|
Global options
Every command also accepts --api-url, --token, --profile, --format, and --debug; mutating commands additionally accept --dry-run. See Getting started for what each does.