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 | # | Type | Description |
|---|---|---|---|
name | 1 | string | Sandbox ref ("local:<name>", "cloud:<name>", "direct:<host:port>", a legacy id) or a name that is unique across locations. |
cpus | 2 | optional uint32 | New vCPU count; unset keeps it. |
memory_mb | 3 | optional uint64 | New memory in MiB; unset keeps it. |
disk_gb | 4 | optional uint32 | Grow the disk to this many GiB; unset keeps it. A disk never shrinks. |
ResizeSandboxResponse#
Response for SandboxService.ResizeSandbox.
No fields.