![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.networkservices.kotlin.outputs.ServiceLbPoliciesAutoCapacityDrain.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.networkservices.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
*
* @property enable Optional. If set to 'True', an unhealthy MIG/NEG will be set as drained. - An MIG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the MIG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
*/
public data class ServiceLbPoliciesAutoCapacityDrain(
public val enable: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.ServiceLbPoliciesAutoCapacityDrain): ServiceLbPoliciesAutoCapacityDrain = ServiceLbPoliciesAutoCapacityDrain(
enable = javaType.enable().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy