com.pulumi.azure.hdinsight.kotlin.outputs.SparkClusterRolesWorkerNodeAutoscaleRecurrenceSchedule.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.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 SparkClusterRolesWorkerNodeAutoscaleRecurrenceSchedule(
public val days: List,
public val targetInstanceCount: Int,
public val time: String,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.hdinsight.outputs.SparkClusterRolesWorkerNodeAutoscaleRecurrenceSchedule):
SparkClusterRolesWorkerNodeAutoscaleRecurrenceSchedule =
SparkClusterRolesWorkerNodeAutoscaleRecurrenceSchedule(
days = javaType.days().map({ args0 -> args0 }),
targetInstanceCount = javaType.targetInstanceCount(),
time = javaType.time(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy