delete
Delete a Virtual Data Center and everything inside it
Usage
ionosctl compute datacenter delete [flags]Aliases
For datacenter command:
[d dc vdc]For delete command:
[d]Description
Delete a Virtual Data Center. This removes the VDC object AND every resource it contains - servers, volumes (and their data), LANs, NICs, firewall rules - in a single cascading operation.
NOTE: This is a highly destructive, irreversible operation. Deleted volumes cannot be recovered unless you have snapshots or backups stored elsewhere. Use with extreme caution.
You must identify the VDC either with --datacenter-id (delete one) or with --all (delete every VDC on the account) - the two are mutually exclusive. Combine with --force (-f) to skip the interactive confirmation prompt (useful in scripts) and --wait (-w) to block until deletion completes.
Required values to run command:
Data Center Id (or --all)
Options
Examples
Last updated
Was this helpful?