com.pulumi.azure.hdinsight.kotlin.inputs.HadoopClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.hdinsight.kotlin.inputs
import com.pulumi.azure.hdinsight.inputs.HadoopClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs.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 HadoopClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs(
public val days: Output>,
public val targetInstanceCount: Output,
public val time: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.hdinsight.inputs.HadoopClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs =
com.pulumi.azure.hdinsight.inputs.HadoopClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs.builder()
.days(days.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.targetInstanceCount(targetInstanceCount.applyValue({ args0 -> args0 }))
.time(time.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HadoopClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgs].
*/
@PulumiTagMarker
public class HadoopClusterRolesWorkerNodeAutoscaleRecurrenceScheduleArgsBuilder 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("iqbatqovaifkoups")
public suspend fun days(`value`: Output>) {
this.days = value
}
@JvmName("klatqhdcuqbwiapa")
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("wrbaqpgmxgltwiou")
public suspend fun days(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy