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

com.pulumi.gcp.compute.kotlin.outputs.RegionInstanceTemplateNetworkInterfaceIpv6AccessConfig.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 externalIpv6 The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
 * @property externalIpv6PrefixLength The prefix length of the external IPv6 range.
 * @property name The name of this access configuration.
 * @property networkTier The service-level to be provided for IPv6 traffic when the subnet has an external subnet. Only PREMIUM tier is valid for IPv6
 * @property publicPtrDomainName The domain name to be used when creating DNSv6 records for the external IPv6 ranges.
 */
public data class RegionInstanceTemplateNetworkInterfaceIpv6AccessConfig(
    public val externalIpv6: String? = null,
    public val externalIpv6PrefixLength: String? = null,
    public val name: String? = null,
    public val networkTier: String,
    public val publicPtrDomainName: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.RegionInstanceTemplateNetworkInterfaceIpv6AccessConfig): RegionInstanceTemplateNetworkInterfaceIpv6AccessConfig =
            RegionInstanceTemplateNetworkInterfaceIpv6AccessConfig(
                externalIpv6 = javaType.externalIpv6().map({ args0 -> args0 }).orElse(null),
                externalIpv6PrefixLength = javaType.externalIpv6PrefixLength().map({ args0 -> args0 }).orElse(null),
                name = javaType.name().map({ args0 -> args0 }).orElse(null),
                networkTier = javaType.networkTier(),
                publicPtrDomainName = javaType.publicPtrDomainName().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy