이름
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 참조 개요 페이지를 참고하세요.