com.pulumi.gcp.container.kotlin.outputs.GetClusterMonitoringConfig.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.container.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property advancedDatapathObservabilityConfigs Configuration of Advanced Datapath Observability features.
* @property enableComponents GKE components exposing metrics. Valid values include SYSTEM_COMPONENTS, APISERVER, SCHEDULER, CONTROLLER_MANAGER, STORAGE, HPA, POD, DAEMONSET, DEPLOYMENT, STATEFULSET, WORKLOADS, KUBELET and CADVISOR.
* @property managedPrometheuses Configuration for Google Cloud Managed Services for Prometheus.
*/
public data class GetClusterMonitoringConfig(
public val advancedDatapathObservabilityConfigs: List,
public val enableComponents: List,
public val managedPrometheuses: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterMonitoringConfig): GetClusterMonitoringConfig = GetClusterMonitoringConfig(
advancedDatapathObservabilityConfigs = javaType.advancedDatapathObservabilityConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterMonitoringConfigAdvancedDatapathObservabilityConfig.Companion.toKotlin(args0)
})
}),
enableComponents = javaType.enableComponents().map({ args0 -> args0 }),
managedPrometheuses = javaType.managedPrometheuses().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterMonitoringConfigManagedPrometheus.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy