com.pulumi.gcp.compute.kotlin.outputs.InstanceFromTemplateNetworkInterfaceAccessConfig.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 is be 1:1 mapped to the instance's network ip.
* @property networkTier The networking tier used for configuring this instance. One of PREMIUM or STANDARD.
* @property publicPtrDomainName The DNS domain name for the public PTR record.
* @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 InstanceFromTemplateNetworkInterfaceAccessConfig(
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.InstanceFromTemplateNetworkInterfaceAccessConfig): InstanceFromTemplateNetworkInterfaceAccessConfig =
InstanceFromTemplateNetworkInterfaceAccessConfig(
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