Autoscaling Policy Response
data class AutoscalingPolicyResponse(val coolDownPeriodSec: Int, val cpuUtilization: AutoscalingPolicyCpuUtilizationResponse, val customMetricUtilizations: List<AutoscalingPolicyCustomMetricUtilizationResponse>, val loadBalancingUtilization: AutoscalingPolicyLoadBalancingUtilizationResponse, val maxNumReplicas: Int, val minNumReplicas: Int, val mode: String, val scaleDownControl: AutoscalingPolicyScaleDownControlResponse, val scaleInControl: AutoscalingPolicyScaleInControlResponse, val scalingSchedules: Map<String, String>)
Cloud Autoscaler policy.
Constructors
Link copied to clipboard
fun AutoscalingPolicyResponse(coolDownPeriodSec: Int, cpuUtilization: AutoscalingPolicyCpuUtilizationResponse, customMetricUtilizations: List<AutoscalingPolicyCustomMetricUtilizationResponse>, loadBalancingUtilization: AutoscalingPolicyLoadBalancingUtilizationResponse, maxNumReplicas: Int, minNumReplicas: Int, mode: String, scaleDownControl: AutoscalingPolicyScaleDownControlResponse, scaleInControl: AutoscalingPolicyScaleInControlResponse, scalingSchedules: Map<String, String>)
Types
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
Link copied to clipboard