com.pulumi.gcp.compute.kotlin.outputs.RegionUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyAbort.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.compute.kotlin.outputs
import kotlin.Double
import kotlin.Int
import kotlin.Suppress
/**
*
* @property httpStatus The HTTP status code used to abort the request.
* The value must be between 200 and 599 inclusive.
* @property percentage The percentage of traffic (connections/operations/requests) which will be aborted as part of fault injection.
* The value must be between 0.0 and 100.0 inclusive.
*/
public data class RegionUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyAbort(
public val httpStatus: Int,
public val percentage: Double,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.RegionUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyAbort): RegionUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyAbort =
RegionUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicyAbort(
httpStatus = javaType.httpStatus(),
percentage = javaType.percentage(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy