com.pulumi.gcp.compute.kotlin.outputs.InstanceNetworkInterfaceAccessConfig.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 natIp The IP address that will be 1:1 mapped to the instance's
* network ip. If not given, one will be generated.
* @property networkTier The service-level to be provided for IPv6 traffic when the
* subnet has an external subnet. Only PREMIUM or STANDARD tier is valid for IPv6.
* @property publicPtrDomainName The domain name to be used when creating DNSv6
* records for the external IPv6 ranges..
* @property securityPolicy A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
*/
public data class InstanceNetworkInterfaceAccessConfig(
public val natIp: String? = null,
public val networkTier: String? = null,
public val publicPtrDomainName: String? = null,
public val securityPolicy: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceNetworkInterfaceAccessConfig): InstanceNetworkInterfaceAccessConfig = InstanceNetworkInterfaceAccessConfig(
natIp = javaType.natIp().map({ args0 -> args0 }).orElse(null),
networkTier = javaType.networkTier().map({ args0 -> args0 }).orElse(null),
publicPtrDomainName = javaType.publicPtrDomainName().map({ args0 -> args0 }).orElse(null),
securityPolicy = javaType.securityPolicy().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy