com.pulumi.cloudflare.kotlin.ZeroTrustLocalFallbackDomainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin
import com.pulumi.cloudflare.ZeroTrustLocalFallbackDomainArgs.builder
import com.pulumi.cloudflare.kotlin.inputs.ZeroTrustLocalFallbackDomainDomainArgs
import com.pulumi.cloudflare.kotlin.inputs.ZeroTrustLocalFallbackDomainDomainArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Provides a Cloudflare Fallback Domain resource. Fallback domains are
* used to ignore DNS requests to a given list of domains. These DNS
* requests will be passed back to other DNS servers configured on
* existing network interfaces on the device.
* @property accountId The account identifier to target for the resource.
* @property domains
* @property policyId The settings policy for which to configure this fallback domain policy.
*/
public data class ZeroTrustLocalFallbackDomainArgs(
public val accountId: Output? = null,
public val domains: Output>? = null,
public val policyId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.ZeroTrustLocalFallbackDomainArgs =
com.pulumi.cloudflare.ZeroTrustLocalFallbackDomainArgs.builder()
.accountId(accountId?.applyValue({ args0 -> args0 }))
.domains(
domains?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.policyId(policyId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZeroTrustLocalFallbackDomainArgs].
*/
@PulumiTagMarker
public class ZeroTrustLocalFallbackDomainArgsBuilder internal constructor() {
private var accountId: Output? = null
private var domains: Output>? = null
private var policyId: Output? = null
/**
* @param value The account identifier to target for the resource.
*/
@JvmName("lxttdcphftabmpou")
public suspend fun accountId(`value`: Output) {
this.accountId = value
}
/**
* @param value
*/
@JvmName("mtojetsvchjacedf")
public suspend fun domains(`value`: Output>) {
this.domains = value
}
@JvmName("mvbyqmnhavogvaou")
public suspend fun domains(vararg values: Output) {
this.domains = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("oylwcmjvgfrhkglj")
public suspend fun domains(values: List