gdcloud compute disks resize - 가상 머신 디스크의 크기를 조절합니다.
개요
gdcloud compute disks resize DISK_NAME [flags]
EXAMPLES
To resize a disk, run:
gdcloud compute disks resize example-disk \
--project example-project \
--size 20GB
선택적 플래그
--size string New size of the disk.
The value must be a whole number followed by a size unit of GB for gigabyte, or TB for terabyte.
For example, "10GB" will produce a 10 gigabyte disk.
The disk size must be a multiple of 1 GB.
--timeout string Maximum time a resize operation can last before it fails as timeout. Default value is "5m". Max value is "2h". (default "5m")
GDCLOUD 전체 플래그
이러한 플래그는 모든 명령어에서 사용할 수 있습니다(--configuration, --format, --help, --project, --quiet).
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-30(UTC)"],[[["Resizes virtual machine disks using the `gdcloud compute disks resize` command."],["Requires the disk name as an argument, such as `example-disk`."],["Allows specifying the new disk size using the `--size` flag, with units in GB or TB, and as a multiple of 1GB."],["Includes an optional `--timeout` flag to set the maximum time for the resize operation, with a default of 5 minutes and a maximum of 2 hours."],["Supports common flags like `--project` and `--help`."]]],[]]