SDK reference / Models / Compute
AutoscalerDecision
Kind: class
Namespace: Egulu.Sdk.Models.Compute
One thing the autoscaler decided.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Action | Models.Compute.AutoscalerDecision_action? | action | SCALE_OUT, SCALE_IN, or HOLD (it wanted another size but could not, or it was paused). |
FromSize | int? | fromSize | The size the group had. |
Id | string? | id | Decision ID, unique in the group. |
Name | string? | name | The decision's name, projects/{p}/locations/{l}/vmGroups/{group}/autoscalerDecisions/{id}. |
Outcome | Models.Compute.AutoscalerDecision_outcome? | outcome | 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). |
Reason | string? | reason | Why, in words. |
Time | DateTimeOffset? | time | The time property |
ToSize | int? | toSize | The size the autoscaler asked for. |
Value | double? | value | The reading it acted on, when it had one. |