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

com.pulumi.gcp.compute.kotlin.outputs.RegionPerInstanceConfigPreservedStateInternalIp.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.compute.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property autoDelete These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted.
 * Default value is `NEVER`.
 * Possible values are: `NEVER`, `ON_PERMANENT_INSTANCE_DELETION`.
 * @property interfaceName The identifier for this object. Format specified above.
 * @property ipAddress Ip address representation
 * Structure is documented below.
 */
public data class RegionPerInstanceConfigPreservedStateInternalIp(
    public val autoDelete: String? = null,
    public val interfaceName: String,
    public val ipAddress: RegionPerInstanceConfigPreservedStateInternalIpIpAddress? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.RegionPerInstanceConfigPreservedStateInternalIp): RegionPerInstanceConfigPreservedStateInternalIp =
            RegionPerInstanceConfigPreservedStateInternalIp(
                autoDelete = javaType.autoDelete().map({ args0 -> args0 }).orElse(null),
                interfaceName = javaType.interfaceName(),
                ipAddress = javaType.ipAddress().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.compute.kotlin.outputs.RegionPerInstanceConfigPreservedStateInternalIpIpAddress.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy