com.pulumi.gcp.gkehub.kotlin.outputs.FeatureSpecFleetobservabilityLoggingConfig.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.gkehub.kotlin.outputs
import kotlin.Suppress
/**
*
* @property defaultConfig Specified if applying the default routing config to logs not specified in other configs.
* Structure is documented below.
* @property fleetScopeLogsConfig Specified if applying the routing config to all logs for all fleet scopes.
* Structure is documented below.
*/
public data class FeatureSpecFleetobservabilityLoggingConfig(
public val defaultConfig: FeatureSpecFleetobservabilityLoggingConfigDefaultConfig? = null,
public val fleetScopeLogsConfig: FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig? =
null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkehub.outputs.FeatureSpecFleetobservabilityLoggingConfig): FeatureSpecFleetobservabilityLoggingConfig = FeatureSpecFleetobservabilityLoggingConfig(
defaultConfig = javaType.defaultConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkehub.kotlin.outputs.FeatureSpecFleetobservabilityLoggingConfigDefaultConfig.Companion.toKotlin(args0)
})
}).orElse(null),
fleetScopeLogsConfig = javaType.fleetScopeLogsConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkehub.kotlin.outputs.FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy