SDK reference / Models / Compute

VmGroup

Kind: class

Namespace: Egulu.Sdk.Models.Compute

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.

Properties

NameTypeJSON nameDescription
AnnotationsModels.Compute.VmGroup_annotations?annotationsAt most 256 KiB in all; never policy input.
AutoHealingbool?autoHealingWhether a member that stops working is deleted and replaced. True when omitted.
AutoscalerDetailstring?autoscalerDetailWhat the autoscaler last said, in words, when the group is autoscaled.
AutoscalerValuedouble?autoscalerValueThe reading the autoscaler last acted on (the members' average CPU percent, or the custom metric's value), when it had one.
AutoscalingModels.Compute.AutoscalingPolicy?autoscalingThe autoscaler. Omitted: the group keeps `targetSize` until `:resize`. Set to null to turn autoscaling off for good (the size stays where it is).
CreateTimeDateTimeOffset?createTimeThe createTime property
CurrentSizeint?currentSizeHow many members the group has (VMs being made included).
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
HealthCheckModels.Compute.GroupHealthCheck?healthCheckHow a member's health is told. Omitted: `INSTANCE_STATE`.
LabelsModels.Compute.VmGroup_labels?labelsAt most 64.
LoadBalancerAttachmentModels.Compute.GroupLoadBalancerAttachment?loadBalancerAttachmentThe load balancer whose backend set is the group's ready members. Set to null to detach: the group's backends and ports are removed from the load balancer.
LoadBalancerBackendsint?loadBalancerBackendsHow many backends of the group the load balancer has.
LoadBalancerDetailstring?loadBalancerDetailWhy the load balancer is not synced, in words.
LoadBalancerStateModels.Compute.VmGroup_loadBalancerState?loadBalancerStateSYNCED 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.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
QuotaHeldint?quotaHeldHow many VMs' worth of quota the group holds for members it has not made yet.
ReadySizeint?readySizeHow many members are running and healthy.
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RolloutFromTemplatestring?rolloutFromTemplateThe template the update moves the members away from (the one an abort returns to), while an update is under way.
RolloutPhaseModels.Compute.VmGroup_rolloutPhase?rolloutPhaseWhile 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.
SpreadModels.Compute.VmGroup_spread?spreadNONE 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.
StateModels.Compute.VmGroup_state?stateENSURING 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.
StateDetailsstring?stateDetailsWhy the group is not stable, in words, when it is not.
TargetSizeint?targetSizeHow many VMs the group keeps (0 to 200). Change it with `:resize`.
Templatestring?templateThe instance template (ID, same project and location) new members are made from. Changing it starts a rolling update of the members to the new template (`updatePolicy`); not while an update is under way.
Uidstring?uidUUIDv7, never reused.
UpdatePolicyModels.Compute.GroupUpdatePolicy?updatePolicyHow a change of `template` rolls out. Omitted: one extra member, one unavailable, no canary.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
UpdatedSizeint?updatedSizeHow many members are made from the group's current `template`.