com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpecContainerLivenessProbeHttpGet.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.cloudrun.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property httpHeaders Custom headers to set in the request. HTTP allows repeated headers.
* @property path Path to access on the HTTP server. If set, it should not be empty string.
* @property port Port number to access on the container. Number must be in the range 1 to 65535.
* If not specified, defaults to the same value as container.ports[0].containerPort.
*/
public data class GetServiceTemplateSpecContainerLivenessProbeHttpGet(
public val httpHeaders: List,
public val path: String,
public val port: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.GetServiceTemplateSpecContainerLivenessProbeHttpGet): GetServiceTemplateSpecContainerLivenessProbeHttpGet =
GetServiceTemplateSpecContainerLivenessProbeHttpGet(
httpHeaders = javaType.httpHeaders().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpecContainerLivenessProbeHttpGetHttpHeader.Companion.toKotlin(args0)
})
}),
path = javaType.path(),
port = javaType.port(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy