com.pulumi.gcp.clouddeploy.kotlin.outputs.AutomationRuleAdvanceRolloutRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.clouddeploy.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property id Required. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `a-z{0,62}`.
* @property sourcePhases Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^a-z?$`.
* - - -
* @property wait Optional. How long to wait after a rollout is finished.
*/
public data class AutomationRuleAdvanceRolloutRule(
public val id: String,
public val sourcePhases: List? = null,
public val wait: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.clouddeploy.outputs.AutomationRuleAdvanceRolloutRule): AutomationRuleAdvanceRolloutRule = AutomationRuleAdvanceRolloutRule(
id = javaType.id(),
sourcePhases = javaType.sourcePhases().map({ args0 -> args0 }),
wait = javaType.wait_().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy