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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.containerservice.inputs.GroupContainerReadinessProbeHttpGetArgs.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 GroupContainerReadinessProbeHttpGetArgs(
    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.GroupContainerReadinessProbeHttpGetArgs =
        com.pulumi.azure.containerservice.inputs.GroupContainerReadinessProbeHttpGetArgs.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 [GroupContainerReadinessProbeHttpGetArgs].
 */
@PulumiTagMarker
public class GroupContainerReadinessProbeHttpGetArgsBuilder 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("wtooypvqbjfggqxe")
    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("egdbtyvrtlqkrsej")
    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("dfcwgpyebtucqynh")
    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("bedxukthdmrqdcqs")
    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("ysnftsarhufapbpe")
    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("gmyfptgqwsumoifa")
    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("ursplbnonrexmmbl")
    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("aifdqsabvgkulrnn")
    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("mjuqewljmehvdvov")
    public suspend fun scheme(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scheme = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy