gdcloud compute instances delete

NAME

gdcloud compute instances delete - Delete virtual machine instances.

SYNOPSIS

gdcloud compute instances delete INSTANCE_NAME [flags]

EXAMPLES

To delete an instance named "example-instance" in project "example-project", run:

    gdcloud compute instances delete example-instance --project example-project

OPTIONAL FLAGS

      --delete-disks DISK_TYPE   The types of disks to delete with instance deletion regardless of the
                                 disks' auto-delete configuration on the VM instance. When this flag is
                                 provided, the auto-delete bits on the attached disks are modified
                                 accordingly before the instance deletion request is issued.
                                 
                                 DISK_TYPE must be one of:
                                 all: All disks
                                 boot: Only the disks where first partition is reserved for the root filesystem
                                 data: Only non-boot disks
                                 The default is to leave the auto-delete bits on the attached disks unchanged.
      --keep-disks DISK_TYPE     The types of disks to NOT delete with instance deletion regardless of
                                 the disks' auto-delete configuration on the VM instance. When this flag
                                 is provided, the auto-delete bits on the attached disks are modified
                                 accordingly before the instance deletion request is issued.
                                 
                                 DISK_TYPE must be one of:
                                 all: All disks
                                 boot: Only the disks where first partition is reserved for the root filesystem
                                 data: Only non-boot disks
                                 The default is to leave the auto-delete bits on the attached disks unchanged.

GDCLOUD WIDE FLAGS

These flags are available to all commands: --configuration, --format, --help, --project, --quiet.

For more information, see the gdcloud CLI reference overview page.