
com.pulumi.azure.containerapp.kotlin.outputs.GetAppIngressTrafficWeight.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerapp.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property label The label to apply to the revision as a name prefix for routing traffic.
* @property latestRevision This traffic Weight relates to the latest stable Container Revision.
* @property percentage The percentage of traffic which should be sent this revision.
* @property revisionSuffix The suffix string to which this `traffic_weight` applies.
*/
public data class GetAppIngressTrafficWeight(
public val label: String,
public val latestRevision: Boolean,
public val percentage: Int,
public val revisionSuffix: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerapp.outputs.GetAppIngressTrafficWeight):
GetAppIngressTrafficWeight = GetAppIngressTrafficWeight(
label = javaType.label(),
latestRevision = javaType.latestRevision(),
percentage = javaType.percentage(),
revisionSuffix = javaType.revisionSuffix(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy