
com.pulumi.gcp.container.kotlin.outputs.ClusterMonitoringConfigAdvancedDatapathObservabilityConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.container.kotlin.outputs
import kotlin.Boolean
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
/**
*
* @property enableMetrics Whether or not to enable advanced datapath metrics.
* @property enableRelay Whether or not Relay is enabled.
* @property relayMode Mode used to make Relay available. Deprecated in favor of `enable_relay` field. Remove this attribute's configuration as this field will be removed in the next major release and `enable_relay` will become a required field.
*/
public data class ClusterMonitoringConfigAdvancedDatapathObservabilityConfig(
public val enableMetrics: Boolean,
public val enableRelay: Boolean? = null,
@Deprecated(
message = """
Deprecated in favor of enable_relay field. Remove this attribute's configuration as this field
will be removed in the next major release and enable_relay will become a required field.
""",
)
public val relayMode: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterMonitoringConfigAdvancedDatapathObservabilityConfig): ClusterMonitoringConfigAdvancedDatapathObservabilityConfig =
ClusterMonitoringConfigAdvancedDatapathObservabilityConfig(
enableMetrics = javaType.enableMetrics(),
enableRelay = javaType.enableRelay().map({ args0 -> args0 }).orElse(null),
relayMode = javaType.relayMode().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy