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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy