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

com.pulumi.gcp.compute.kotlin.outputs.InstanceGroupManagerStatefulInternalIp.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 internal ip when the VM instance is deleted. The available options are `NEVER` and `ON_PERMANENT_INSTANCE_DELETION`. `NEVER` - detach the ip when the VM is deleted, but do not delete the ip. `ON_PERMANENT_INSTANCE_DELETION` will delete the internal ip when the VM is permanently deleted from the instance group.
 * @property interfaceName , The network interface name of the internal Ip. Possible value: `nic0`
 */
public data class InstanceGroupManagerStatefulInternalIp(
    public val deleteRule: String? = null,
    public val interfaceName: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceGroupManagerStatefulInternalIp): InstanceGroupManagerStatefulInternalIp = InstanceGroupManagerStatefulInternalIp(
            deleteRule = javaType.deleteRule().map({ args0 -> args0 }).orElse(null),
            interfaceName = javaType.interfaceName().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy