All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.containerservice.kotlin.inputs.GroupContainerLivenessProbeHttpGetArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.inputs

import com.pulumi.azure.containerservice.inputs.GroupContainerLivenessProbeHttpGetArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 *
 * @property httpHeaders A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
 * @property path Path to access on the HTTP server. Changing this forces a new resource to be created.
 * @property port Number of the port to access on the container. Changing this forces a new resource to be created.
 * @property scheme Scheme to use for connecting to the host. Possible values are `Http` and `Https`. Changing this forces a new resource to be created.
 */
public data class GroupContainerLivenessProbeHttpGetArgs(
    public val httpHeaders: Output>? = null,
    public val path: Output? = null,
    public val port: Output? = null,
    public val scheme: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.containerservice.inputs.GroupContainerLivenessProbeHttpGetArgs =
        com.pulumi.azure.containerservice.inputs.GroupContainerLivenessProbeHttpGetArgs.builder()
            .httpHeaders(
                httpHeaders?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .path(path?.applyValue({ args0 -> args0 }))
            .port(port?.applyValue({ args0 -> args0 }))
            .scheme(scheme?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [GroupContainerLivenessProbeHttpGetArgs].
 */
@PulumiTagMarker
public class GroupContainerLivenessProbeHttpGetArgsBuilder internal constructor() {
    private var httpHeaders: Output>? = null

    private var path: Output? = null

    private var port: Output? = null

    private var scheme: Output? = null

    /**
     * @param value A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
     */
    @JvmName("jstvlitfyefgfcfm")
    public suspend fun httpHeaders(`value`: Output>) {
        this.httpHeaders = value
    }

    /**
     * @param value Path to access on the HTTP server. Changing this forces a new resource to be created.
     */
    @JvmName("natlrtshelhymdqb")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value Number of the port to access on the container. Changing this forces a new resource to be created.
     */
    @JvmName("rmjffmndklhyulxe")
    public suspend fun port(`value`: Output) {
        this.port = value
    }

    /**
     * @param value Scheme to use for connecting to the host. Possible values are `Http` and `Https`. Changing this forces a new resource to be created.
     */
    @JvmName("wieckibshdpciuic")
    public suspend fun scheme(`value`: Output) {
        this.scheme = value
    }

    /**
     * @param value A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
     */
    @JvmName("hxmvepbxgupevlve")
    public suspend fun httpHeaders(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.httpHeaders = mapped
    }

    /**
     * @param values A map of HTTP headers used to access on the container. Changing this forces a new resource to be created.
     */
    @JvmName("kupmcqseokftjqww")
    public fun httpHeaders(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.httpHeaders = mapped
    }

    /**
     * @param value Path to access on the HTTP server. Changing this forces a new resource to be created.
     */
    @JvmName("aewtgwwfpmpwpmga")
    public suspend fun path(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.path = mapped
    }

    /**
     * @param value Number of the port to access on the container. Changing this forces a new resource to be created.
     */
    @JvmName("nxaybtkiognganvx")
    public suspend fun port(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.port = mapped
    }

    /**
     * @param value Scheme to use for connecting to the host. Possible values are `Http` and `Https`. Changing this forces a new resource to be created.
     */
    @JvmName("bfxkxtitnhewuobv")
    public suspend fun scheme(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scheme = mapped
    }

    internal fun build(): GroupContainerLivenessProbeHttpGetArgs =
        GroupContainerLivenessProbeHttpGetArgs(
            httpHeaders = httpHeaders,
            path = path,
            port = port,
            scheme = scheme,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy