Autoscaling Policy Args
data class AutoscalingPolicyArgs(val coolDownPeriodSec: Output<Int>? = null, val cpuUtilization: Output<AutoscalingPolicyCpuUtilizationArgs>? = null, val customMetricUtilizations: Output<List<AutoscalingPolicyCustomMetricUtilizationArgs>>? = null, val loadBalancingUtilization: Output<AutoscalingPolicyLoadBalancingUtilizationArgs>? = null, val maxNumReplicas: Output<Int>? = null, val minNumReplicas: Output<Int>? = null, val mode: Output<AutoscalingPolicyMode>? = null, val scaleInControl: Output<AutoscalingPolicyScaleInControlArgs>? = null, val scalingSchedules: Output<Map<String, String>>? = null) : ConvertibleToJava<AutoscalingPolicyArgs>
Cloud Autoscaler policy.
Constructors
Link copied to clipboard
fun AutoscalingPolicyArgs(coolDownPeriodSec: Output<Int>? = null, cpuUtilization: Output<AutoscalingPolicyCpuUtilizationArgs>? = null, customMetricUtilizations: Output<List<AutoscalingPolicyCustomMetricUtilizationArgs>>? = null, loadBalancingUtilization: Output<AutoscalingPolicyLoadBalancingUtilizationArgs>? = null, maxNumReplicas: Output<Int>? = null, minNumReplicas: Output<Int>? = null, mode: Output<AutoscalingPolicyMode>? = null, scaleInControl: Output<AutoscalingPolicyScaleInControlArgs>? = null, scalingSchedules: Output<Map<String, String>>? = null)
Functions
Properties
Link copied to clipboard
The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process.
Link copied to clipboard