com.pulumi.cloudflare.kotlin.inputs.ZeroTrustDeviceManagedNetworksConfigArgs.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.ZeroTrustDeviceManagedNetworksConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property sha256 The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.
* @property tlsSockaddr A network address of the form "host:port" that the WARP client will use to detect the presence of a TLS host.
*/
public data class ZeroTrustDeviceManagedNetworksConfigArgs(
public val sha256: Output,
public val tlsSockaddr: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustDeviceManagedNetworksConfigArgs =
com.pulumi.cloudflare.inputs.ZeroTrustDeviceManagedNetworksConfigArgs.builder()
.sha256(sha256.applyValue({ args0 -> args0 }))
.tlsSockaddr(tlsSockaddr.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZeroTrustDeviceManagedNetworksConfigArgs].
*/
@PulumiTagMarker
public class ZeroTrustDeviceManagedNetworksConfigArgsBuilder internal constructor() {
private var sha256: Output? = null
private var tlsSockaddr: Output? = null
/**
* @param value The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.
*/
@JvmName("wniogkhnqwnthknu")
public suspend fun sha256(`value`: Output) {
this.sha256 = value
}
/**
* @param value A network address of the form "host:port" that the WARP client will use to detect the presence of a TLS host.
*/
@JvmName("rqtkssmjvcnkkmib")
public suspend fun tlsSockaddr(`value`: Output) {
this.tlsSockaddr = value
}
/**
* @param value The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.
*/
@JvmName("mbocxksklqgoxnjg")
public suspend fun sha256(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sha256 = mapped
}
/**
* @param value A network address of the form "host:port" that the WARP client will use to detect the presence of a TLS host.
*/
@JvmName("wygvvxhwrdeyjxdn")
public suspend fun tlsSockaddr(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tlsSockaddr = mapped
}
internal fun build(): ZeroTrustDeviceManagedNetworksConfigArgs =
ZeroTrustDeviceManagedNetworksConfigArgs(
sha256 = sha256 ?: throw PulumiNullFieldException("sha256"),
tlsSockaddr = tlsSockaddr ?: throw PulumiNullFieldException("tlsSockaddr"),
)
}