com.pulumi.gcp.container.kotlin.outputs.ClusterDnsConfig.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.container.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property additiveVpcScopeDnsDomain This will enable Cloud DNS additive VPC scope. Must provide a domain name that is unique within the VPC. For this to work `cluster_dns = "CLOUD_DNS"` and `cluster_dns_scope = "CLUSTER_SCOPE"` must both be set as well.
* @property clusterDns Which in-cluster DNS provider should be used. `PROVIDER_UNSPECIFIED` (default) or `PLATFORM_DEFAULT` or `CLOUD_DNS`.
* @property clusterDnsDomain The suffix used for all cluster service records.
* @property clusterDnsScope The scope of access to cluster DNS records. `DNS_SCOPE_UNSPECIFIED` (default) or `CLUSTER_SCOPE` or `VPC_SCOPE`.
*/
public data class ClusterDnsConfig(
public val additiveVpcScopeDnsDomain: String? = null,
public val clusterDns: String? = null,
public val clusterDnsDomain: String? = null,
public val clusterDnsScope: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterDnsConfig): ClusterDnsConfig = ClusterDnsConfig(
additiveVpcScopeDnsDomain = javaType.additiveVpcScopeDnsDomain().map({ args0 ->
args0
}).orElse(null),
clusterDns = javaType.clusterDns().map({ args0 -> args0 }).orElse(null),
clusterDnsDomain = javaType.clusterDnsDomain().map({ args0 -> args0 }).orElse(null),
clusterDnsScope = javaType.clusterDnsScope().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy