
com.pulumi.azure.hdinsight.kotlin.inputs.HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.hdinsight.kotlin.inputs
import com.pulumi.azure.hdinsight.inputs.HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property days The days of the week to perform autoscale. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
* @property targetInstanceCount The number of worker nodes to autoscale at the specified time.
* @property time The time of day to perform the autoscale in 24hour format.
*/
public data class HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs(
public val days: Output>,
public val targetInstanceCount: Output,
public val time: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.hdinsight.inputs.HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs =
com.pulumi.azure.hdinsight.inputs.HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs.builder()
.days(days.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.targetInstanceCount(targetInstanceCount.applyValue({ args0 -> args0 }))
.time(time.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs].
*/
@PulumiTagMarker
public class HBaseClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgsBuilder internal constructor() {
private var days: Output>? = null
private var targetInstanceCount: Output? = null
private var time: Output? = null
/**
* @param value The days of the week to perform autoscale. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
*/
@JvmName("rmumytqmnxxkgvse")
public suspend fun days(`value`: Output>) {
this.days = value
}
@JvmName("hgkkqhlbvjbsynjv")
public suspend fun days(vararg values: Output) {
this.days = Output.all(values.asList())
}
/**
* @param values The days of the week to perform autoscale. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
*/
@JvmName("msttmwrojhbyktbc")
public suspend fun days(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy