com.pulumi.gcp.compute.kotlin.outputs.RegionInstanceGroupManagerStatefulDisk.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.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property deleteRule , A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are `NEVER` and `ON_PERMANENT_INSTANCE_DELETION`. `NEVER` - detach the disk when the VM is deleted, but do not delete the disk. `ON_PERMANENT_INSTANCE_DELETION` will delete the stateful disk when the VM is permanently deleted from the instance group. The default is `NEVER`.
* @property deviceName , The device name of the disk to be attached.
*/
public data class RegionInstanceGroupManagerStatefulDisk(
public val deleteRule: String? = null,
public val deviceName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.RegionInstanceGroupManagerStatefulDisk): RegionInstanceGroupManagerStatefulDisk = RegionInstanceGroupManagerStatefulDisk(
deleteRule = javaType.deleteRule().map({ args0 -> args0 }).orElse(null),
deviceName = javaType.deviceName(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy