com.pulumi.gcp.cloudrunv2.kotlin.inputs.ServiceTemplateContainerLivenessProbeHttpGetArgs.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.cloudrunv2.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudrunv2.inputs.ServiceTemplateContainerLivenessProbeHttpGetArgs.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. Defaults to '/'.
* @property port Port number to access on the container. Must be in the range 1 to 65535.
* If not specified, defaults to the same value as container.ports[0].containerPort.
*/
public data class ServiceTemplateContainerLivenessProbeHttpGetArgs(
public val httpHeaders: Output>? =
null,
public val path: Output? = null,
public val port: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudrunv2.inputs.ServiceTemplateContainerLivenessProbeHttpGetArgs =
com.pulumi.gcp.cloudrunv2.inputs.ServiceTemplateContainerLivenessProbeHttpGetArgs.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 [ServiceTemplateContainerLivenessProbeHttpGetArgs].
*/
@PulumiTagMarker
public class ServiceTemplateContainerLivenessProbeHttpGetArgsBuilder 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("cynsuvnbknxythfq")
public suspend fun httpHeaders(`value`: Output>) {
this.httpHeaders = value
}
@JvmName("mmlwnxkbycwikeyx")
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("dngrebxpvnqhjhoy")
public suspend fun httpHeaders(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy