com.pulumi.gcp.compute.kotlin.outputs.RegionPerInstanceConfigPreservedStateInternalIp.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 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 - 2024 Weber Informatics LLC | Privacy Policy