com.pulumi.cloudflare.kotlin.outputs.GetZeroTrustTunnelCloudflaredResult.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.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getZeroTrustTunnelCloudflared.
* @property accountId The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
* @property id ID of the tunnel.
* @property isDeleted If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. **Modifying this attribute will force creation of a new resource.**
* @property name Name of the tunnel. **Modifying this attribute will force creation of a new resource.**
* @property remoteConfig Whether the tunnel can be configured remotely from the Zero Trust dashboard.
* @property status The status of the tunnel. Available values: `inactive`, `degraded`, `healthy`, `down`.
* @property tunnelType The type of the tunnel. Available values: `cfd_tunnel`, `warp_connector`.
*/
public data class GetZeroTrustTunnelCloudflaredResult(
public val accountId: String,
public val id: String,
public val isDeleted: Boolean? = null,
public val name: String,
public val remoteConfig: Boolean,
public val status: String,
public val tunnelType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetZeroTrustTunnelCloudflaredResult): GetZeroTrustTunnelCloudflaredResult = GetZeroTrustTunnelCloudflaredResult(
accountId = javaType.accountId(),
id = javaType.id(),
isDeleted = javaType.isDeleted().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
remoteConfig = javaType.remoteConfig(),
status = javaType.status(),
tunnelType = javaType.tunnelType(),
)
}
}