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

com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpecContainerPort.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.12.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 containerPort Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
 * @property name The name of the Cloud Run Service.
 * @property protocol Protocol for port. Must be "TCP". Defaults to "TCP".
 */
public data class GetServiceTemplateSpecContainerPort(
    public val containerPort: Int,
    public val name: String,
    public val protocol: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.GetServiceTemplateSpecContainerPort): GetServiceTemplateSpecContainerPort = GetServiceTemplateSpecContainerPort(
            containerPort = javaType.containerPort(),
            name = javaType.name(),
            protocol = javaType.protocol(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy