SDK reference / Models / Compute

AutoscalingMetric

Kind: class

Namespace: Egulu.Sdk.Models.Compute

What an autoscaled group follows.

Properties

NameTypeJSON nameDescription
MetricNamestring?metricNameFor CUSTOM: the metric's name in the project's metrics.
Targetdouble?targetFor 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.
TypeModels.Compute.AutoscalingMetric_type?typeCPU_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).