All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.clouddeploy.kotlin.outputs.AutomationRuleAdvanceRolloutRule.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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