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

com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceTrafficStatus.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.cloudrunv2.kotlin.outputs

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

/**
 *
 * @property percent Specifies percent of the traffic to this Revision.
 * @property revision Revision to which this traffic is sent.
 * @property tag Indicates the string used in the URI to exclusively reference this target.
 * @property type The allocation type for this traffic target.
 * @property uri Displays the target URI.
 */
public data class GetServiceTrafficStatus(
    public val percent: Int,
    public val revision: String,
    public val tag: String,
    public val type: String,
    public val uri: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.GetServiceTrafficStatus): GetServiceTrafficStatus = GetServiceTrafficStatus(
            percent = javaType.percent(),
            revision = javaType.revision(),
            tag = javaType.tag(),
            type = javaType.type(),
            uri = javaType.uri(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy