com.pulumi.gcp.cloudrunv2.kotlin.outputs.ServiceTrafficStatus.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 (Output)
* Specifies percent of the traffic to this Revision.
* @property revision (Output)
* Revision to which this traffic is sent.
* @property tag (Output)
* Indicates the string used in the URI to exclusively reference this target.
* @property type (Output)
* The allocation type for this traffic target.
* @property uri (Output)
* Displays the target URI.
*/
public data class ServiceTrafficStatus(
public val percent: Int? = null,
public val revision: String? = null,
public val tag: String? = null,
public val type: String? = null,
public val uri: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.ServiceTrafficStatus): ServiceTrafficStatus = ServiceTrafficStatus(
percent = javaType.percent().map({ args0 -> args0 }).orElse(null),
revision = javaType.revision().map({ args0 -> args0 }).orElse(null),
tag = javaType.tag().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
uri = javaType.uri().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy