com.pulumi.gcp.monitoring.kotlin.outputs.UptimeCheckConfigTcpCheck.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.monitoring.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property pingConfig Contains information needed to add pings to a TCP check.
* Structure is documented below.
* @property port The port to the page to run the check against. Will be combined with host (specified within the `monitored_resource`) to construct the full URL.
*/
public data class UptimeCheckConfigTcpCheck(
public val pingConfig: UptimeCheckConfigTcpCheckPingConfig? = null,
public val port: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.monitoring.outputs.UptimeCheckConfigTcpCheck): UptimeCheckConfigTcpCheck = UptimeCheckConfigTcpCheck(
pingConfig = javaType.pingConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.monitoring.kotlin.outputs.UptimeCheckConfigTcpCheckPingConfig.Companion.toKotlin(args0)
})
}).orElse(null),
port = javaType.port(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy