com.pulumi.gcp.compute.kotlin.outputs.GetBackendServiceLogConfig.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.Boolean
import kotlin.Double
import kotlin.Suppress
/**
*
* @property enable Whether to enable logging for the load balancer traffic served by this backend service.
* @property sampleRate This field can only be specified if logging is enabled for this backend service. The value of
* the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer
* where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported.
* The default value is 1.0.
*/
public data class GetBackendServiceLogConfig(
public val enable: Boolean,
public val sampleRate: Double,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetBackendServiceLogConfig): GetBackendServiceLogConfig = GetBackendServiceLogConfig(
enable = javaType.enable(),
sampleRate = javaType.sampleRate(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy