com.pulumi.cloudflare.kotlin.outputs.DeviceManagedNetworksConfig.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.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @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 DeviceManagedNetworksConfig(
public val sha256: String,
public val tlsSockaddr: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.DeviceManagedNetworksConfig): DeviceManagedNetworksConfig = DeviceManagedNetworksConfig(
sha256 = javaType.sha256(),
tlsSockaddr = javaType.tlsSockaddr(),
)
}
}