AutoscalingPolicyArgs

data class AutoscalingPolicyArgs(val basicAlgorithm: Output<BasicAutoscalingAlgorithmArgs>? = null, val id: Output<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, location: Output<String>? = null, project: Output<String>? = null, secondaryWorkerConfig: Output<InstanceGroupAutoscalingPolicyConfigArgs>? = null, workerConfig: Output<InstanceGroupAutoscalingPolicyConfigArgs>? = null)

Functions

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

Properties

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

The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.

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

Optional. Describes how the autoscaler will operate for secondary workers.

Link copied to clipboard

Describes how the autoscaler will operate for primary workers.