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

com.pulumi.gcp.compute.kotlin.outputs.InstanceFromMachineImageNetworkInterfaceAccessConfig.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 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 InstanceFromMachineImageNetworkInterfaceAccessConfig(
    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.InstanceFromMachineImageNetworkInterfaceAccessConfig): InstanceFromMachineImageNetworkInterfaceAccessConfig =
            InstanceFromMachineImageNetworkInterfaceAccessConfig(
                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