com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceTraffic.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. This defaults to zero if unspecified.
* @property revision Revision to which to send this portion of traffic, if traffic allocation is by revision.
* @property tag Indicates a string to be part of the URI to exclusively reference this target.
* @property type The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"]
*/
public data class GetServiceTraffic(
public val percent: Int,
public val revision: String,
public val tag: String,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.GetServiceTraffic): GetServiceTraffic = GetServiceTraffic(
percent = javaType.percent(),
revision = javaType.revision(),
tag = javaType.tag(),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy