名前
gdcloud compute instances delete - 仮想マシン インスタンスを削除します。
概要
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
オプションのフラグ
--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 ワイドフラグ
これらのフラグは、すべてのコマンドで使用できます: --configuration
、--format
、--help
、--project
、--quiet
。
詳細については、gdcloud CLI リファレンスの概要ページをご覧ください。