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

com.pulumi.gcp.dns.kotlin.outputs.PolicyAlternativeNameServerConfigTargetNameServer.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.dns.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property forwardingPath Forwarding path for this TargetNameServer. If unset or `default` Cloud DNS will make forwarding
 * decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go
 * to the Internet. When set to `private`, Cloud DNS will always send queries through VPC for this target
 * Possible values are: `default`, `private`.
 * @property ipv4Address IPv4 address to forward to.
 */
public data class PolicyAlternativeNameServerConfigTargetNameServer(
    public val forwardingPath: String? = null,
    public val ipv4Address: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dns.outputs.PolicyAlternativeNameServerConfigTargetNameServer): PolicyAlternativeNameServerConfigTargetNameServer =
            PolicyAlternativeNameServerConfigTargetNameServer(
                forwardingPath = javaType.forwardingPath().map({ args0 -> args0 }).orElse(null),
                ipv4Address = javaType.ipv4Address(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy