Autoscaling Policy Args
data class AutoscalingPolicyArgs(val basicAlgorithm: Output<BasicAutoscalingAlgorithmArgs>? = null, val id: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val secondaryWorkerConfig: Output<InstanceGroupAutoscalingPolicyConfigArgs>? = null, val workerConfig: Output<InstanceGroupAutoscalingPolicyConfigArgs>? = null) : ConvertibleToJava<AutoscalingPolicyArgs>
Creates new autoscaling policy. Auto-naming is currently not supported for this resource.
Constructors
Link copied to clipboard
fun AutoscalingPolicyArgs(basicAlgorithm: Output<BasicAutoscalingAlgorithmArgs>? = null, id: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, project: Output<String>? = null, secondaryWorkerConfig: Output<InstanceGroupAutoscalingPolicyConfigArgs>? = null, workerConfig: Output<InstanceGroupAutoscalingPolicyConfigArgs>? = null)
Functions
Properties
Link copied to clipboard
Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.