com.pulumi.googlenative.gkeonprem.v1.kotlin.outputs.BareMetalMachineDrainStatusResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.gkeonprem.v1.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
* Represents the status of node machines that are undergoing drain operations.
* @property drainedMachines The list of drained machines.
* @property drainingMachines The list of draning machines.
*/
public data class BareMetalMachineDrainStatusResponse(
public val drainedMachines: List,
public val drainingMachines: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalMachineDrainStatusResponse): BareMetalMachineDrainStatusResponse = BareMetalMachineDrainStatusResponse(
drainedMachines = javaType.drainedMachines().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.gkeonprem.v1.kotlin.outputs.BareMetalDrainedMachineResponse.Companion.toKotlin(args0)
})
}),
drainingMachines = javaType.drainingMachines().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.gkeonprem.v1.kotlin.outputs.BareMetalDrainingMachineResponse.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy