com.pulumi.cloudflare.kotlin.outputs.ZeroTrustDexTestData.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 host The host URL for `http` test `kind`. For `traceroute`, it must be a valid hostname or IP address.
* @property kind The type of Device Dex Test. Available values: `http`, `traceroute`.
* @property method The http request method. Available values: `GET`.
*/
public data class ZeroTrustDexTestData(
public val host: String,
public val kind: String,
public val method: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ZeroTrustDexTestData): ZeroTrustDexTestData = ZeroTrustDexTestData(
host = javaType.host(),
kind = javaType.kind(),
method = javaType.method().map({ args0 -> args0 }).orElse(null),
)
}
}