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

com.pulumi.gcp.cloudrunv2.kotlin.outputs.ServiceTemplateContainerStartupProbeHttpGet.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudrunv2.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.
 * 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 ServiceTemplateContainerStartupProbeHttpGet(
    public val httpHeaders: List? = null,
    public val path: String? = null,
    public val port: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.ServiceTemplateContainerStartupProbeHttpGet): ServiceTemplateContainerStartupProbeHttpGet = ServiceTemplateContainerStartupProbeHttpGet(
            httpHeaders = javaType.httpHeaders().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrunv2.kotlin.outputs.ServiceTemplateContainerStartupProbeHttpGetHttpHeader.Companion.toKotlin(args0)
                })
            }),
            path = javaType.path().map({ args0 -> args0 }).orElse(null),
            port = javaType.port().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy