Options
--auto-restart-policy
neverbest_effort
The auto-restart policy for this instance.
This policy determines whether the instance should be automatically restarted by the control plane on failure. If this is `null`, no auto-restart policy will be explicitly configured for this instance, and the control plane will select the default policy when determining whether the instance can be automatically restarted.
Currently, the global default auto-restart policy is "best-effort", so instances with `null` auto-restart policies will be automatically restarted. However, in the future, the default policy may be configurable through other mechanisms, such as on a per-project basis. In that case, any configured default policy will be used if this is `null`.
--description
--hostname
The hostname to be assigned to the instance
--json-body
Path to a file that contains the full json body.
--json-body-template
XXX
--memory
The amount of RAM to be allocated to the instance; unit suffixes are in powers of two (1k = 1024 bytes) for example: 6GiB, 512k, 2048mib
--name
--ncpus
The number of vCPUs to be allocated to the instance
--profile
Configuration profile to use for commands
--project
Name or ID of the project
--start
truefalse
Should this instance be started upon creation; true by default.
--user-data
User data for instance initialization systems (such as cloud-init). Must be a Base64-encoded string, as specified in RFC 4648 ยง 4 (+ and / characters with padding). Maximum 32 KiB unencoded data.