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

com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentRollout.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.osconfig.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property disruptionBudget The maximum number (or percentage) of VMs
 * per zone to disrupt at any given moment. Structure is
 * documented below.
 * @property minWaitDuration This determines the minimum duration of
 * time to wait after the configuration changes are applied through the current
 * rollout. A VM continues to count towards the `disruption_budget` at least
 * until this duration of time has passed after configuration changes are
 * applied.
 */
public data class OsPolicyAssignmentRollout(
    public val disruptionBudget: OsPolicyAssignmentRolloutDisruptionBudget,
    public val minWaitDuration: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.OsPolicyAssignmentRollout): OsPolicyAssignmentRollout = OsPolicyAssignmentRollout(
            disruptionBudget = javaType.disruptionBudget().let({ args0 ->
                com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentRolloutDisruptionBudget.Companion.toKotlin(args0)
            }),
            minWaitDuration = javaType.minWaitDuration(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy