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