Daemon: resize

cua.daemon.v1 ResizeSandbox: give a local VM another shape.

The messages of SandboxService.ResizeSandbox: a local VM stops and boots again from its own disk with new vCPUs, memory and a larger disk.

Source: libs/cua/proto/cua/daemon/v1/resize.proto.

Types in cua/daemon/v1/resize.proto#

ResizeSandboxRequest#

Request for SandboxService.ResizeSandbox.

Field#TypeDescription
name1stringSandbox ref ("local:<name>", "cloud:<name>", "direct:<host:port>", a legacy id) or a name that is unique across locations.
cpus2optional uint32New vCPU count; unset keeps it.
memory_mb3optional uint64New memory in MiB; unset keeps it.
disk_gb4optional uint32Grow the disk to this many GiB; unset keeps it. A disk never shrinks.

ResizeSandboxResponse#

Response for SandboxService.ResizeSandbox.

No fields.