com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceTrafficStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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