RegionAutoscalerAutoscalingPolicyMetricArgs

data class RegionAutoscalerAutoscalingPolicyMetricArgs(val filter: Output<String>? = null, val name: Output<String>, val singleInstanceAssignment: Output<Double>? = null, val target: Output<Double>? = null, val type: Output<String>? = null) : ConvertibleToJava<RegionAutoscalerAutoscalingPolicyMetricArgs>

Constructors

fun RegionAutoscalerAutoscalingPolicyMetricArgs(filter: Output<String>? = null, name: Output<String>, singleInstanceAssignment: Output<Double>? = null, target: Output<Double>? = null, type: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): RegionAutoscalerAutoscalingPolicyMetricArgs

Properties

Link copied to clipboard
val filter: Output<String>? = null
Link copied to clipboard
val name: Output<String>

The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE.

Link copied to clipboard
val singleInstanceAssignment: Output<Double>? = null
Link copied to clipboard
val target: Output<Double>? = null

The target value of the metric that autoscaler should maintain. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilizationTarget is www.googleapis.com/compute/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.

Link copied to clipboard
val type: Output<String>? = null

Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Possible values are GAUGE, DELTA_PER_SECOND, and DELTA_PER_MINUTE.