com.pulumi.kubernetes.auditregistration.v1alpha1.kotlin.outputs.WebhookThrottleConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.auditregistration.v1alpha1.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
* WebhookThrottleConfig holds the configuration for throttling events
* @property burst ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS
* @property qps ThrottleQPS maximum number of batches per second default 10 QPS
*/
public data class WebhookThrottleConfig(
public val burst: Int? = null,
public val qps: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.auditregistration.v1alpha1.outputs.WebhookThrottleConfig): WebhookThrottleConfig = WebhookThrottleConfig(
burst = javaType.burst().map({ args0 -> args0 }).orElse(null),
qps = javaType.qps().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy