[SDK reference](../../index.md) / [Models](../index.md)

# Models.Compute namespace

## Types

| Type | Kind | Description |
|---|---|---|
| [AutoscalerDecision](AutoscalerDecision.md) | class | One thing the autoscaler decided. |
| [AutoscalerDecision_action](AutoscalerDecision_action.md) | enum | SCALE_OUT, SCALE_IN, or HOLD (it wanted another size but could not, or it was paused). |
| [AutoscalerDecision_outcome](AutoscalerDecision_outcome.md) | enum | APPLIED when the group's size was changed; HELD when it was not (see `reason`); REFUSED when the resize itself was refused (the quota, for one). |
| [AutoscalingMetric](AutoscalingMetric.md) | class | What an autoscaled group follows. |
| [AutoscalingMetric_type](AutoscalingMetric_type.md) | enum | CPU_UTILIZATION follows the members' average CPU (a percent of their vCPUs, read from the hypervisor); CUSTOM follows a metric of the project in the platform's metrics (a cell without a metrics backend refuses it: not-implemented). |
| [AutoscalingPolicy](AutoscalingPolicy.md) | class | The autoscaler of a VM group (CMP-9): it changes the group's size by itself, within `minSize` and `maxSize`, to keep the metric at its target, as thehorizontal pod autoscaler does: the members needed are the size times the reading over the target (a reading within 10 % of the target changesnothing). A growth waits for its cool-down since the last growth; a shrink for its cool-down since the last change, and removes at most `scaleInMaxStep`members, never one that scale-in protection holds. The autoscaler pauses while a rolling update is under way. A group that is autoscaled is resized byits policy, not by `:resize`. Every decision, and every hold with its reason, is in the group's `autoscalerDecisions`. |
| [AutoscalingSchedule](AutoscalingSchedule.md) | class | A window in which a group keeps at least `minSize` members: business hours, a sale, a nightly batch. |
| [AutoscalingSchedule_days](AutoscalingSchedule_days.md) | enum |  |
| [AvailabilitySet](AvailabilitySet.md) | class | An availability set (ADR-0494). A fault domain is a host (a cluster member of the cell): a set places each VM that names it on a host that holdsnone of the set's other VMs, as far as the location has hosts. An update domain is a number from 0 to `updateDomainCount - 1` the platform giveseach VM when it is placed (the least used first). When a host is emptied for maintenance, the VMs of a set on it are restarted one update domainat a time, 30 minutes apart, and a VM of the set is never offered a maintenance start before the update domain before it. A location with asingle host has a single fault domain: every VM of the set shares it, and `faultDomainNote` says so. |
| [AvailabilitySetInstance](AvailabilitySetInstance.md) | class | One VM of an availability set with its domains. |
| [AvailabilitySetMergePatchUpdate](AvailabilitySetMergePatchUpdate.md) | class | An availability set (ADR-0494). A fault domain is a host (a cluster member of the cell): a set places each VM that names it on a host that holdsnone of the set's other VMs, as far as the location has hosts. An update domain is a number from 0 to `updateDomainCount - 1` the platform giveseach VM when it is placed (the least used first). When a host is emptied for maintenance, the VMs of a set on it are restarted one update domainat a time, 30 minutes apart, and a VM of the set is never offered a maintenance start before the update domain before it. A location with asingle host has a single fault domain: every VM of the set shares it, and `faultDomainNote` says so. |
| [AvailabilitySetMergePatchUpdate_displayNameMember1](AvailabilitySetMergePatchUpdate_displayNameMember1.md) | class |  |
| [AvailabilitySet_annotations](AvailabilitySet_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [AvailabilitySet_labels](AvailabilitySet_labels.md) | class | At most 64. |
| [AvailabilitySet_mode](AvailabilitySet_mode.md) | enum | STRICT refuses a VM that cannot be placed on a host of its own (capacity-exhausted); BEST_EFFORT places it on a shared host and the set shows as not spread. BEST_EFFORT when omitted. |
| [BatchAutoscale](BatchAutoscale.md) | class | How a pool follows its queue. |
| [BatchAutoscaleMergePatchUpdateOrCreate](BatchAutoscaleMergePatchUpdateOrCreate.md) | class | How a pool follows its queue. |
| [BatchAutoscaleMergePatchUpdateOrCreate_minNodesMember1](BatchAutoscaleMergePatchUpdateOrCreate_minNodesMember1.md) | class |  |
| [BatchAutoscaleMergePatchUpdateOrCreate_scaleInCooldownSecondsMember1](BatchAutoscaleMergePatchUpdateOrCreate_scaleInCooldownSecondsMember1.md) | class |  |
| [BatchFile](BatchFile.md) | class | A file moved between a bucket and the node. |
| [BatchJob](BatchJob.md) | class | A job: tasks to run on a pool. |
| [BatchJobCreate](BatchJobCreate.md) | class | A job: tasks to run on a pool. |
| [BatchJobCreate_annotations](BatchJobCreate_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [BatchJobCreate_labels](BatchJobCreate_labels.md) | class | At most 64. |
| [BatchJob_annotations](BatchJob_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [BatchJob_labels](BatchJob_labels.md) | class | At most 64. |
| [BatchJob_state](BatchJob_state.md) | enum | ACTIVE while a task can still run, then COMPLETED (all succeeded), FAILED (a task failed or was skipped) or CANCELLED. |
| [BatchPool](BatchPool.md) | class | A pool of compute (ADR-0494): the VMs of one VM group made from an instance template, which are the nodes tasks run on. Each node runs`slotsPerNode` tasks at once. The pool's group is named `batch-{pool}`; change the pool through the batch API, not the group. |
| [BatchPoolMergePatchUpdate](BatchPoolMergePatchUpdate.md) | class | A pool of compute (ADR-0494): the VMs of one VM group made from an instance template, which are the nodes tasks run on. Each node runs`slotsPerNode` tasks at once. The pool's group is named `batch-{pool}`; change the pool through the batch API, not the group. |
| [BatchPoolMergePatchUpdate_displayNameMember1](BatchPoolMergePatchUpdate_displayNameMember1.md) | class |  |
| [BatchPoolMergePatchUpdate_slotsPerNodeMember1](BatchPoolMergePatchUpdate_slotsPerNodeMember1.md) | class |  |
| [BatchPoolNode](BatchPoolNode.md) | class | One node of a pool. |
| [BatchPoolNode_state](BatchPoolNode_state.md) | enum | IDLE, BUSY (all slots taken) or UNAVAILABLE (the VM does not run). |
| [BatchPool_annotations](BatchPool_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [BatchPool_labels](BatchPool_labels.md) | class | At most 64. |
| [BatchPool_state](BatchPool_state.md) | enum | ENSURING while nodes are made, READY when every node runs, DEGRADED when nodes are missing, DELETING. |
| [BatchTask](BatchTask.md) | class | One task of a job, with where it stands. |
| [BatchTaskLog](BatchTaskLog.md) | class | The output of a task's last attempt. |
| [BatchTaskSpec](BatchTaskSpec.md) | class | What to run. Give `command` (an argument list), `script` (a shell script) or `image` (a container image; `command` is then its arguments), and`arrayCount` to run it many times with `BATCH_TASK_INDEX` set to 0 to arrayCount - 1 (the tasks are named `{name}-{index}`). |
| [BatchTaskSpec_env](BatchTaskSpec_env.md) | class | Environment variables; at most 64, names of `[A-Za-z_][A-Za-z0-9_]*`. `BATCH_*` names are the platform's. |
| [BatchTask_state](BatchTask_state.md) | enum | PENDING (waiting for dependencies), READY (waiting for a slot), RUNNING, SUCCEEDED, FAILED, SKIPPED (a dependency failed) or CANCELLED. |
| [CloseConsoleSessionRequest](CloseConsoleSessionRequest.md) | class | Close a console session. |
| [CloseConsoleSessionResponse](CloseConsoleSessionResponse.md) | class | Whether a session was closed. |
| [CloseGuestSessionRequest](CloseGuestSessionRequest.md) | class | End a guest login session. |
| [CloudInitResult](CloudInitResult.md) | class | cloud-init's result at the last read. |
| [CommandRun](CommandRun.md) | class | One run of a command. Output is returned by `getCommandRun` only, from `offset`, so a page can follow a run as it streams. |
| [ConsoleInputRequest](ConsoleInputRequest.md) | class | Input, a resize, or both, for an open console session. |
| [ConsoleSession](ConsoleSession.md) | class | An open console session. The ticket is a secret: it is shown once and sent in the Plat-Console-Ticket header of the stream and input calls. |
| [ConsoleSessionInfo](ConsoleSessionInfo.md) | class | One open console session of an instance. |
| [ConsoleSessionInfo_mode](ConsoleSessionInfo_mode.md) | enum |  |
| [ConsoleSession_mode](ConsoleSession_mode.md) | enum |  |
| [GenerateSshKeyRequest](GenerateSshKeyRequest.md) | class | Ask the platform to make a key pair. |
| [GenerateSshKeyRequest_algorithm](GenerateSshKeyRequest_algorithm.md) | enum | `ecdsa-p256` (default) or `rsa-4096`. |
| [GenerateSshKeyRequest_labels](GenerateSshKeyRequest_labels.md) | class |  |
| [GeneratedSshKey](GeneratedSshKey.md) | class | A generated key pair. The private key is in this answer and nowhere else: it is not stored and cannot be read again. |
| [GroupHealthCheck](GroupHealthCheck.md) | class | How a VM group tells that a member works. `INSTANCE_STATE` counts a member healthy while its VM runs. `TCP` and `HTTP` run a probe insidethe member against its own loopback (a TCP connect, or an HTTP GET that must answer 2xx or 3xx); a cell with no guest runtime refuses them(not-implemented). A probe whose tool the image does not have is reported as unknown and never counts against the member. |
| [GroupHealthCheckMergePatchUpdateOrCreate](GroupHealthCheckMergePatchUpdateOrCreate.md) | class | How a VM group tells that a member works. `INSTANCE_STATE` counts a member healthy while its VM runs. `TCP` and `HTTP` run a probe insidethe member against its own loopback (a TCP connect, or an HTTP GET that must answer 2xx or 3xx); a cell with no guest runtime refuses them(not-implemented). A probe whose tool the image does not have is reported as unknown and never counts against the member. |
| [GroupHealthCheckMergePatchUpdateOrCreate_initialDelaySecondsMember1](GroupHealthCheckMergePatchUpdateOrCreate_initialDelaySecondsMember1.md) | class |  |
| [GroupHealthCheckMergePatchUpdateOrCreate_intervalSecondsMember1](GroupHealthCheckMergePatchUpdateOrCreate_intervalSecondsMember1.md) | class |  |
| [GroupHealthCheckMergePatchUpdateOrCreate_pathMember1](GroupHealthCheckMergePatchUpdateOrCreate_pathMember1.md) | class |  |
| [GroupHealthCheckMergePatchUpdateOrCreate_portMember1](GroupHealthCheckMergePatchUpdateOrCreate_portMember1.md) | class |  |
| [GroupHealthCheckMergePatchUpdateOrCreate_type](GroupHealthCheckMergePatchUpdateOrCreate_type.md) | enum | What is checked. |
| [GroupHealthCheckMergePatchUpdateOrCreate_unhealthyThresholdMember1](GroupHealthCheckMergePatchUpdateOrCreate_unhealthyThresholdMember1.md) | class |  |
| [GroupHealthCheck_type](GroupHealthCheck_type.md) | enum | What is checked. |
| [GroupLoadBalancerAttachment](GroupLoadBalancerAttachment.md) | class | Where a VM group's members are served from: the group keeps a tenant load balancer's backend set equal to its ready members. A backend is made foreach member that is running and healthy, named like the member's VM, and removed when the member goes or stops working; each of the `listen` portsof the load balancer sends to the group's backends. The group owns only the backends and ports it made (their description says `vm-group:{name}`);a port the load balancer already has for that protocol and number, which is not the group's, is refused. A load balancer holds at most 16backends, so a group behind one is at most 16. |
| [GroupLoadBalancerListen](GroupLoadBalancerListen.md) | class | One port of a load balancer a VM group serves. |
| [GroupLoadBalancerListen_protocol](GroupLoadBalancerListen_protocol.md) | enum | TCP or UDP. |
| [GroupUpdatePolicy](GroupUpdatePolicy.md) | class | How a VM group moves its members to a new template. At most `maxSurge` members above the size and at least `size - maxUnavailable` servingat any time; a canary of `canarySize` members is updated first and held until a person promotes the update (`:promoteRollout`) or the canarieshave served for `canaryBakeSeconds`. A template whose members never serve stops the update at the canary or after the first replacement, andleaves the old members in place. |
| [GroupUpdatePolicyMergePatchUpdateOrCreate](GroupUpdatePolicyMergePatchUpdateOrCreate.md) | class | How a VM group moves its members to a new template. At most `maxSurge` members above the size and at least `size - maxUnavailable` servingat any time; a canary of `canarySize` members is updated first and held until a person promotes the update (`:promoteRollout`) or the canarieshave served for `canaryBakeSeconds`. A template whose members never serve stops the update at the canary or after the first replacement, andleaves the old members in place. |
| [GroupUpdatePolicyMergePatchUpdateOrCreate_canaryBakeSecondsMember1](GroupUpdatePolicyMergePatchUpdateOrCreate_canaryBakeSecondsMember1.md) | class |  |
| [GroupUpdatePolicyMergePatchUpdateOrCreate_canarySizeMember1](GroupUpdatePolicyMergePatchUpdateOrCreate_canarySizeMember1.md) | class |  |
| [GroupUpdatePolicyMergePatchUpdateOrCreate_maxSurgeMember1](GroupUpdatePolicyMergePatchUpdateOrCreate_maxSurgeMember1.md) | class |  |
| [GroupUpdatePolicyMergePatchUpdateOrCreate_maxUnavailableMember1](GroupUpdatePolicyMergePatchUpdateOrCreate_maxUnavailableMember1.md) | class |  |
| [GroupUpdatePolicyMergePatchUpdateOrCreate_minReadySecondsMember1](GroupUpdatePolicyMergePatchUpdateOrCreate_minReadySecondsMember1.md) | class |  |
| [GuestInventory](GuestInventory.md) | class | What the platform read from the guest at `readTime`. |
| [GuestLoginSession](GuestLoginSession.md) | class | Someone signed in to the guest (an SSH or console login). |
| [GuestPackage](GuestPackage.md) | class | A package on the guest. |
| [IdentityGrant](IdentityGrant.md) | class | A permission the workload identity holds. |
| [Instance](Instance.md) | class | A virtual machine. |
| [InstanceCreate](InstanceCreate.md) | class | A virtual machine. |
| [InstanceCreate_annotations](InstanceCreate_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [InstanceCreate_labels](InstanceCreate_labels.md) | class | At most 64. |
| [InstanceCreate_metadata](InstanceCreate_metadata.md) | class | Key-value metadata the guest reads from the metadata service (`/metadata/v1/instance/metadata` and `…/metadata/{key}`): at most64 keys of `[a-z0-9._-]` (up to 63 characters, none starting with `plat.`), values up to 4096 bytes, 32 KiB in all. Not a place for secrets. |
| [InstanceEvent](InstanceEvent.md) | class | What happened to an instance. |
| [InstanceIdentity](InstanceIdentity.md) | class | The identity the machine presents. |
| [InstanceMergePatchUpdate](InstanceMergePatchUpdate.md) | class | A virtual machine. |
| [InstanceMergePatchUpdate_deletionProtectionMember1](InstanceMergePatchUpdate_deletionProtectionMember1.md) | class |  |
| [InstanceMergePatchUpdate_displayNameMember1](InstanceMergePatchUpdate_displayNameMember1.md) | class |  |
| [InstanceMergePatchUpdate_sshKeysMember1](InstanceMergePatchUpdate_sshKeysMember1.md) | class |  |
| [InstanceNetworkInterface](InstanceNetworkInterface.md) | class | One network interface of a virtual machine, as the platform attached it (read-only). |
| [InstanceState](InstanceState.md) | enum | Instance lifecycle states. |
| [InstanceTemplate](InstanceTemplate.md) | class | An instance template (CMP-9): the machine type, image, boot disk, first-boot data and labels a VM group makes its members from.Immutable: every field but the display name, labels and annotations is fixed when the template is made, so a rolling update toa new template is always a change from one known thing to another. Templates of one `family` are its versions; the platform numbersthem. Members join the project's platform network (the only network a VM joins today), so a template carries no network field. |
| [InstanceTemplateCreate](InstanceTemplateCreate.md) | class | An instance template (CMP-9): the machine type, image, boot disk, first-boot data and labels a VM group makes its members from.Immutable: every field but the display name, labels and annotations is fixed when the template is made, so a rolling update toa new template is always a change from one known thing to another. Templates of one `family` are its versions; the platform numbersthem. Members join the project's platform network (the only network a VM joins today), so a template carries no network field. |
| [InstanceTemplateCreate_annotations](InstanceTemplateCreate_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [InstanceTemplateCreate_labels](InstanceTemplateCreate_labels.md) | class | At most 64. |
| [InstanceTemplateCreate_memberLabels](InstanceTemplateCreate_memberLabels.md) | class | Labels every member gets in addition to the platform's own (`plat.group`). Distinct from the template's own `labels`, which stay on the template. |
| [InstanceTemplateCreate_metadata](InstanceTemplateCreate_metadata.md) | class | Key-value metadata every member reads from the metadata service (the rules of an instance's `metadata`). |
| [InstanceTemplateMergePatchUpdate](InstanceTemplateMergePatchUpdate.md) | class | An instance template (CMP-9): the machine type, image, boot disk, first-boot data and labels a VM group makes its members from.Immutable: every field but the display name, labels and annotations is fixed when the template is made, so a rolling update toa new template is always a change from one known thing to another. Templates of one `family` are its versions; the platform numbersthem. Members join the project's platform network (the only network a VM joins today), so a template carries no network field. |
| [InstanceTemplateMergePatchUpdate_displayNameMember1](InstanceTemplateMergePatchUpdate_displayNameMember1.md) | class |  |
| [InstanceTemplate_annotations](InstanceTemplate_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [InstanceTemplate_labels](InstanceTemplate_labels.md) | class | At most 64. |
| [InstanceTemplate_memberLabels](InstanceTemplate_memberLabels.md) | class | Labels every member gets in addition to the platform's own (`plat.group`). Distinct from the template's own `labels`, which stay on the template. |
| [InstanceTemplate_metadata](InstanceTemplate_metadata.md) | class | Key-value metadata every member reads from the metadata service (the rules of an instance's `metadata`). |
| [Instance_annotations](Instance_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [Instance_desiredPower](Instance_desiredPower.md) | enum | Whether the instance should be running or stopped (`:start` and `:stop`). |
| [Instance_labels](Instance_labels.md) | class | At most 64. |
| [Instance_metadata](Instance_metadata.md) | class | Key-value metadata the guest reads from the metadata service (`/metadata/v1/instance/metadata` and `…/metadata/{key}`): at most64 keys of `[a-z0-9._-]` (up to 63 characters, none starting with `plat.`), values up to 4096 bytes, 32 KiB in all. Not a place for secrets. |
| [Instance_restoreDisks](Instance_restoreDisks.md) | enum | For a VM made by `:restore`: whether its data disks were made from the restore point's snapshots yet (PENDING, DONE or FAILED). |
| [MaintenanceWindow](MaintenanceWindow.md) | class | A weekly window in which the platform may restart a machine for maintenance. |
| [MaintenanceWindowMergePatchUpdateOrCreate](MaintenanceWindowMergePatchUpdateOrCreate.md) | class | A weekly window in which the platform may restart a machine for maintenance. |
| [MaintenanceWindowMergePatchUpdateOrCreate_dayOfWeek](MaintenanceWindowMergePatchUpdateOrCreate_dayOfWeek.md) | enum |  |
| [MaintenanceWindow_dayOfWeek](MaintenanceWindow_dayOfWeek.md) | enum |  |
| [OpenConsoleSessionRequest](OpenConsoleSessionRequest.md) | class | Open a browser terminal or serial console session. |
| [OpenConsoleSessionRequest_mode](OpenConsoleSessionRequest_mode.md) | enum | `shell` (a login shell as the image's user) or `serial` (the virtual serial port, for boot and kernel output). |
| [PlacementPolicy](PlacementPolicy.md) | class | A placement policy. |
| [PlacementPolicyMergePatchUpdate](PlacementPolicyMergePatchUpdate.md) | class | A placement policy. |
| [PlacementPolicyMergePatchUpdate_displayNameMember1](PlacementPolicyMergePatchUpdate_displayNameMember1.md) | class |  |
| [PlacementPolicyMergePatchUpdate_mode](PlacementPolicyMergePatchUpdate_mode.md) | enum | STRICT refuses a placement that would break the policy; BEST_EFFORT places it and the policy shows as not satisfied. |
| [PlacementPolicyMergePatchUpdate_strategy](PlacementPolicyMergePatchUpdate_strategy.md) | enum | SPREAD: no two instances of the policy on one member. |
| [PlacementPolicy_annotations](PlacementPolicy_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [PlacementPolicy_labels](PlacementPolicy_labels.md) | class | At most 64. |
| [PlacementPolicy_mode](PlacementPolicy_mode.md) | enum | STRICT refuses a placement that would break the policy; BEST_EFFORT places it and the policy shows as not satisfied. |
| [PlacementPolicy_strategy](PlacementPolicy_strategy.md) | enum | SPREAD: no two instances of the policy on one member. |
| [PowerSchedule](PowerSchedule.md) | class | Start and stop on a timetable; the compute reconciler runs it (a person's `:start` or `:stop` always wins until the next edge). |
| [PowerScheduleMergePatchUpdateOrCreate](PowerScheduleMergePatchUpdateOrCreate.md) | class | Start and stop on a timetable; the compute reconciler runs it (a person's `:start` or `:stop` always wins until the next edge). |
| [PowerScheduleMergePatchUpdateOrCreate_days](PowerScheduleMergePatchUpdateOrCreate_days.md) | enum |  |
| [PowerScheduleMergePatchUpdateOrCreate_startTimeMember1](PowerScheduleMergePatchUpdateOrCreate_startTimeMember1.md) | class |  |
| [PowerScheduleMergePatchUpdateOrCreate_stopTimeMember1](PowerScheduleMergePatchUpdateOrCreate_stopTimeMember1.md) | class |  |
| [PowerSchedule_days](PowerSchedule_days.md) | enum |  |
| [PowerStats](PowerStats.md) | class | What the machine's power did this month, and the free allowance against it where the cell has one. |
| [PublicImage](PublicImage.md) | class | An image a location offers. |
| [RescueRequest](RescueRequest.md) | class | Enter or leave rescue boot. |
| [ResizeBatchPoolRequest](ResizeBatchPoolRequest.md) | class | Ask the pool for another number of nodes. |
| [ResizeVmGroupRequest](ResizeVmGroupRequest.md) | class | Request to change the number of VMs a group keeps. |
| [RestoreInstanceRequest](RestoreInstanceRequest.md) | class | Request to make a new VM from a restore point (ADR-0502). |
| [RunCommandRequest](RunCommandRequest.md) | class | Run a script in the guest. |
| [ScheduledEvent](ScheduledEvent.md) | class | A maintenance event that affects an instance. |
| [SerialLog](SerialLog.md) | class | The serial console's recent output, read from the hypervisor's console log. |
| [SetScaleInProtectionRequest](SetScaleInProtectionRequest.md) | class | Request to protect a member from scale-in, or to lift the protection. |
| [SignSshKeyRequest](SignSshKeyRequest.md) | class | Ask for a certificate for a public key. |
| [SleepWhenIdle](SleepWhenIdle.md) | class | Sleep after the machine has been idle: stopped with its memory kept where the hypervisor can, started again by `:start`. |
| [SleepWhenIdleMergePatchUpdateOrCreate](SleepWhenIdleMergePatchUpdateOrCreate.md) | class | Sleep after the machine has been idle: stopped with its memory kept where the hypervisor can, started again by `:start`. |
| [SshCa](SshCa.md) | class | The cell's SSH certificate authority, public half. |
| [SshCertificate](SshCertificate.md) | class | A signed certificate. |
| [SshKey](SshKey.md) | class | A saved SSH public key (imported, or generated by the platform whose private key was shown once and is never stored). Weak keys are refused:ssh-dss, and RSA under 3072 bits. A VM that names the key gets the key line at creation; later changes to the key (an expiry, a delete)do not reach VMs that already have it, because the key line is copied into the VM (the response says so on delete). |
| [SshKeyMergePatchUpdate](SshKeyMergePatchUpdate.md) | class | A saved SSH public key (imported, or generated by the platform whose private key was shown once and is never stored). Weak keys are refused:ssh-dss, and RSA under 3072 bits. A VM that names the key gets the key line at creation; later changes to the key (an expiry, a delete)do not reach VMs that already have it, because the key line is copied into the VM (the response says so on delete). |
| [SshKeyMergePatchUpdate_displayNameMember1](SshKeyMergePatchUpdate_displayNameMember1.md) | class |  |
| [SshKeyMergePatchUpdate_expireTimeMember1](SshKeyMergePatchUpdate_expireTimeMember1.md) | class |  |
| [SshKey_annotations](SshKey_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [SshKey_labels](SshKey_labels.md) | class | At most 64. |
| [SshKey_origin](SshKey_origin.md) | enum | IMPORTED for a key a person brought, GENERATED for one this API made (its private key was returned once, in the generate answer, and was not kept). |
| [VmGroup](VmGroup.md) | class | A VM group (CMP-9): keeps `targetSize` VMs made from an instance template, spread across the cell's hosts, and makes a new one for a memberthat stops working. Every member is an ordinary VM of the project: it counts against the project's VM quota and the organisation's vCPUquota, is metered and billed as one, and can be opened from the VM list. The group's whole size counts against the quota when it is made orresized, before the VMs exist, so a resize the quota cannot hold is refused at once and never half done. |
| [VmGroupEvent](VmGroupEvent.md) | class | Something the group did, and why. |
| [VmGroupMember](VmGroupMember.md) | class | One member of a VM group: a VM the group made. |
| [VmGroupMember_desiredPower](VmGroupMember_desiredPower.md) | enum | Whether the VM should be running or stopped. |
| [VmGroupMember_health](VmGroupMember_health.md) | enum | What the group's health check last said. |
| [VmGroupMergePatchUpdate](VmGroupMergePatchUpdate.md) | class | A VM group (CMP-9): keeps `targetSize` VMs made from an instance template, spread across the cell's hosts, and makes a new one for a memberthat stops working. Every member is an ordinary VM of the project: it counts against the project's VM quota and the organisation's vCPUquota, is metered and billed as one, and can be opened from the VM list. The group's whole size counts against the quota when it is made orresized, before the VMs exist, so a resize the quota cannot hold is refused at once and never half done. |
| [VmGroupMergePatchUpdate_autoHealingMember1](VmGroupMergePatchUpdate_autoHealingMember1.md) | class |  |
| [VmGroupMergePatchUpdate_displayNameMember1](VmGroupMergePatchUpdate_displayNameMember1.md) | class |  |
| [VmGroupMergePatchUpdate_spreadMember1](VmGroupMergePatchUpdate_spreadMember1.md) | class |  |
| [VmGroup_annotations](VmGroup_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [VmGroup_labels](VmGroup_labels.md) | class | At most 64. |
| [VmGroup_loadBalancerState](VmGroup_loadBalancerState.md) | enum | SYNCED when the load balancer has the group's ready members as its backends, PENDING while the group has none to offer, FAILED when it could not be done (see `loadBalancerDetail`). Absent when the group is not attached. |
| [VmGroup_rolloutPhase](VmGroup_rolloutPhase.md) | enum | While a rolling update is under way: CANARY (the canary members are made), AWAITING_PROMOTION (they serve; promote to go on), ROLLING, or ROLLING_BACK (an aborted update returns to the old template). Absent otherwise. |
| [VmGroup_spread](VmGroup_spread.md) | enum | NONE puts members wherever there is room; BEST_EFFORT keeps them on different hosts while the cell has room; STRICT refuses to put two on one host. BEST_EFFORT when omitted. |
| [VmGroup_state](VmGroup_state.md) | enum | ENSURING while members are made, STABLE when the group has its size and every member is ready, DEGRADED when it cannot reach its size (see `stateDetails`), DELETING while the group's members are removed. |
