put
Replace the configuration of an existing VM Auto Scaling group
Usage
ionosctl vm-autoscaling group put [flags]Aliases
For vm-autoscaling command:
[vmas vm-as vmasc vm-asc vmautoscaling]For group command:
[g groups]For put command:
[p update]Description
Replace the properties of an existing VM Auto Scaling group (HTTP PUT). This is a full replacement, not a patch: the JSON 'properties' object you pass becomes the group's new configuration in its entirety, so include every field you want to keep. A common workflow is to 'group get' the current group, edit the properties, and pass them back here.
Typical reasons to update a group:
Change the replica bounds (minReplicaCount / maxReplicaCount) to widen or narrow how far it can scale. Lowering maxReplicaCount below the current replica count triggers scale-in; raising minReplicaCount above it triggers scale-out.
Retune the policy - e.g. adjust scaleInThreshold / scaleOutThreshold, switch the metric or unit, or change the scale action amount and cooldownPeriod.
Update the replicaConfiguration template (image, cores, ram, NICs). Note this affects replicas created AFTER the change; existing replicas are not re-provisioned.
See the field-by-field reference under 'group create' for the meaning and valid values of each property.
Options
Examples
Last updated
Was this helpful?