Visibility: internal · public ( OpenAPI Custom Extension: x-visibility )
Update instance metadata and configuration.
Bearer token authentication using OAuth2/OIDC tokens
Region identifier
Project identifier
Unique instance identifier
Request to update a compute instance. Only mutable fields are included.
Instance updated
Compute instance (VM or baremetal).
Server-defined URL for this resource.
"/v1/regions/us-texas-1/projects/project-x9y8z7/compute/instances/instance-d4e5f6"
Server-generated UUID.
Name of the resource. Provided by the client when the resource is created, or generated by the server if not specified. Must be 1-63 characters long and match the pattern a-z? — the first character must be a lowercase letter, and all following characters must be lowercase letters, digits, or hyphens, with the last character being a letter or digit. Cannot be changed after the resource is created.
1 - 63^[a-z]([-a-z0-9]*[a-z0-9])?$"instance-d4e5f6"
Optional human-friendly display name for the instance.
An optional description of this resource.
Labels to apply to this resource.
URI of the instance type resource to use for this instance. Immutable after creation.
(TODO): support for custom types similar to
GCP
or user-defined types via project-based machineType like
/v1/regions/us-texas-1/projects/project-x9y8z7/compute/instance-types/user-type-1.
"/v1/regions/us-texas-1/zones/us1-a/instance-types/g1-xlarge"
Instance metadata assigned to this instance, exposed via metadata service. Including, but not limited to, SSH keys and cloud-init metadata.
Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant.
If not specified, the default hostname will be generated.
(TBD): hostname template similar to [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal; may change based on CSP configuration.
(TBD): this is a specialized version of GCP instance.guestAccelerators.
Using list & count at the same time leaves this API open for extension, e.g.: