![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.hdinsight.kotlin.inputs.HadoopClusterRolesWorkerNodeAutoscaleRecurrenceArgs.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.HadoopClusterRolesWorkerNodeAutoscaleRecurrenceArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property schedules A list of `schedule` blocks as defined below.
* @property timezone The time zone for the autoscale schedule times.
*/
public data class HadoopClusterRolesWorkerNodeAutoscaleRecurrenceArgs(
public val schedules: Output>,
public val timezone: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.hdinsight.inputs.HadoopClusterRolesWorkerNodeAutoscaleRecurrenceArgs =
com.pulumi.azure.hdinsight.inputs.HadoopClusterRolesWorkerNodeAutoscaleRecurrenceArgs.builder()
.schedules(
schedules.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.timezone(timezone.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HadoopClusterRolesWorkerNodeAutoscaleRecurrenceArgs].
*/
@PulumiTagMarker
public class HadoopClusterRolesWorkerNodeAutoscaleRecurrenceArgsBuilder internal constructor() {
private var schedules: Output>? =
null
private var timezone: Output? = null
/**
* @param value A list of `schedule` blocks as defined below.
*/
@JvmName("olctgbqmyvcqdhnm")
public suspend fun schedules(`value`: Output>) {
this.schedules = value
}
@JvmName("pplqauvhsjgwpsxh")
public suspend fun schedules(vararg values: Output) {
this.schedules = Output.all(values.asList())
}
/**
* @param values A list of `schedule` blocks as defined below.
*/
@JvmName("utkixpldroaruduj")
public suspend fun schedules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy