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

com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentRolloutDisruptionBudget.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.Int
import kotlin.Suppress

/**
 *
 * @property fixed Specifies a fixed value.
 * @property percent Specifies the relative value defined as a percentage,
 * which will be multiplied by a reference value.
 * --------------------------------------------------------------------------------
 */
public data class OsPolicyAssignmentRolloutDisruptionBudget(
    public val fixed: Int? = null,
    public val percent: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.OsPolicyAssignmentRolloutDisruptionBudget): OsPolicyAssignmentRolloutDisruptionBudget = OsPolicyAssignmentRolloutDisruptionBudget(
            fixed = javaType.fixed().map({ args0 -> args0 }).orElse(null),
            percent = javaType.percent().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy