compute machines delete
tcloud compute machines delete
Delete machine(s)
Synopsis
Delete machine(s) by identity or label selector. This command will delete the machine(s) and all the services associated with it.
tcloud compute machines delete [flags]Examples
tcloud compute machines delete vm-123
tcloud compute machines delete vm-123 vm-456 --wait
tcloud compute machines delete --selector environment=test --forceOptions
--force Force the deletion and skip the confirmation
-h, --help help for delete
-l, --selector string Label selector to filter machines (format: key1=value1,key2=value2)
-w, --wait Wait for the machine(s) to be deleted
--wait-timeout duration Maximum time to wait for the machine(s) to be deleted (default 20m0s)Options inherited from parent commands
--access-token string Access Token authentication (overrides context)
--api string API endpoint (overrides context)
--client-id string OIDC client ID for OIDC authentication (overrides context)
--client-secret string OIDC client secret for OIDC authentication (overrides context)
-c, --context string Context name
--debug Debug mode
--ignore-dir-config Ignore directory-local .thalassa defaults
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)SEE ALSO
- tcloud compute machines - Manage virtual machine instances