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

com.pulumi.gcp.compute.kotlin.outputs.InstanceGroupManagerStatefulDisk.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.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 InstanceGroupManagerStatefulDisk(
    public val deleteRule: String? = null,
    public val deviceName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceGroupManagerStatefulDisk): InstanceGroupManagerStatefulDisk = InstanceGroupManagerStatefulDisk(
            deleteRule = javaType.deleteRule().map({ args0 -> args0 }).orElse(null),
            deviceName = javaType.deviceName(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy