com.pulumi.googlenative.osconfig.v1alpha.kotlin.outputs.OSPolicyAssignmentRolloutResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.osconfig.v1alpha.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Message to configure the rollout at the zonal level for the OS policy assignment.
* @property disruptionBudget The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
* @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 OSPolicyAssignmentRolloutResponse(
public val disruptionBudget: FixedOrPercentResponse,
public val minWaitDuration: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.osconfig.v1alpha.outputs.OSPolicyAssignmentRolloutResponse): OSPolicyAssignmentRolloutResponse = OSPolicyAssignmentRolloutResponse(
disruptionBudget = javaType.disruptionBudget().let({ args0 ->
com.pulumi.googlenative.osconfig.v1alpha.kotlin.outputs.FixedOrPercentResponse.Companion.toKotlin(args0)
}),
minWaitDuration = javaType.minWaitDuration(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy