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

com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpecContainerLivenessProbeGrpc.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.cloudrun.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @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.
 * @property service The name of the service to place in the gRPC HealthCheckRequest
 * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
 * If this is not specified, the default behavior is defined by gRPC.
 */
public data class GetServiceTemplateSpecContainerLivenessProbeGrpc(
    public val port: Int,
    public val service: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.GetServiceTemplateSpecContainerLivenessProbeGrpc): GetServiceTemplateSpecContainerLivenessProbeGrpc =
            GetServiceTemplateSpecContainerLivenessProbeGrpc(
                port = javaType.port(),
                service = javaType.service(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy