com.pulumi.gcp.cloudrun.kotlin.inputs.ServiceTemplateSpecContainerLivenessProbeHttpGetArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudrun.inputs.ServiceTemplateSpecContainerLivenessProbeHttpGetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property httpHeaders Custom headers to set in the request. HTTP allows repeated headers.
* Structure is documented below.
* @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 ServiceTemplateSpecContainerLivenessProbeHttpGetArgs(
public val httpHeaders: Output>? = null,
public val path: Output? = null,
public val port: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudrun.inputs.ServiceTemplateSpecContainerLivenessProbeHttpGetArgs =
com.pulumi.gcp.cloudrun.inputs.ServiceTemplateSpecContainerLivenessProbeHttpGetArgs.builder()
.httpHeaders(
httpHeaders?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.path(path?.applyValue({ args0 -> args0 }))
.port(port?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceTemplateSpecContainerLivenessProbeHttpGetArgs].
*/
@PulumiTagMarker
public class ServiceTemplateSpecContainerLivenessProbeHttpGetArgsBuilder internal constructor() {
private var httpHeaders:
Output>? = null
private var path: Output? = null
private var port: Output? = null
/**
* @param value Custom headers to set in the request. HTTP allows repeated headers.
* Structure is documented below.
*/
@JvmName("bwcujhxbbikxencm")
public suspend fun httpHeaders(`value`: Output>) {
this.httpHeaders = value
}
@JvmName("uuitnblwtleukacl")
public suspend fun httpHeaders(vararg values: Output) {
this.httpHeaders = Output.all(values.asList())
}
/**
* @param values Custom headers to set in the request. HTTP allows repeated headers.
* Structure is documented below.
*/
@JvmName("fclghumbtuqrqixr")
public suspend fun httpHeaders(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy