SDK reference / Models / Compute
AutoscalingMetric
Kind: class
Namespace: Egulu.Sdk.Models.Compute
What an autoscaled group follows.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
MetricName | string? | metricName | For CUSTOM: the metric's name in the project's metrics. |
Target | double? | target | For CPU_UTILIZATION the percent the members should average (10 to 95); for CUSTOM the value one member should carry: the metric's value divided by this is the number of members needed. |
Type | Models.Compute.AutoscalingMetric_type? | type | 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). |