All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.oracledatabase.kotlin.inputs.CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.oracledatabase.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.oracledatabase.inputs.CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property diagnosticsEventsEnabled Indicates whether diagnostic collection is enabled for the VM cluster
 * @property healthMonitoringEnabled Indicates whether health monitoring is enabled for the VM cluster
 * @property incidentLogsEnabled Indicates whether incident logs and trace collection are enabled for the VM
 * cluster
 */
public data class CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs(
    public val diagnosticsEventsEnabled: Output? = null,
    public val healthMonitoringEnabled: Output? = null,
    public val incidentLogsEnabled: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.oracledatabase.inputs.CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs =
        com.pulumi.gcp.oracledatabase.inputs.CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs.builder()
            .diagnosticsEventsEnabled(diagnosticsEventsEnabled?.applyValue({ args0 -> args0 }))
            .healthMonitoringEnabled(healthMonitoringEnabled?.applyValue({ args0 -> args0 }))
            .incidentLogsEnabled(incidentLogsEnabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs].
 */
@PulumiTagMarker
public class CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgsBuilder internal constructor() {
    private var diagnosticsEventsEnabled: Output? = null

    private var healthMonitoringEnabled: Output? = null

    private var incidentLogsEnabled: Output? = null

    /**
     * @param value Indicates whether diagnostic collection is enabled for the VM cluster
     */
    @JvmName("fxaydcrneyomguhy")
    public suspend fun diagnosticsEventsEnabled(`value`: Output) {
        this.diagnosticsEventsEnabled = value
    }

    /**
     * @param value Indicates whether health monitoring is enabled for the VM cluster
     */
    @JvmName("smsbwcwegkbkxrfn")
    public suspend fun healthMonitoringEnabled(`value`: Output) {
        this.healthMonitoringEnabled = value
    }

    /**
     * @param value Indicates whether incident logs and trace collection are enabled for the VM
     * cluster
     */
    @JvmName("vlagmpalgsvmujba")
    public suspend fun incidentLogsEnabled(`value`: Output) {
        this.incidentLogsEnabled = value
    }

    /**
     * @param value Indicates whether diagnostic collection is enabled for the VM cluster
     */
    @JvmName("wfucyyoqukcmnflt")
    public suspend fun diagnosticsEventsEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.diagnosticsEventsEnabled = mapped
    }

    /**
     * @param value Indicates whether health monitoring is enabled for the VM cluster
     */
    @JvmName("qqykujydmjyrdcib")
    public suspend fun healthMonitoringEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.healthMonitoringEnabled = mapped
    }

    /**
     * @param value Indicates whether incident logs and trace collection are enabled for the VM
     * cluster
     */
    @JvmName("bxvjqxeyfsuixtvv")
    public suspend fun incidentLogsEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.incidentLogsEnabled = mapped
    }

    internal fun build(): CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs =
        CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs(
            diagnosticsEventsEnabled = diagnosticsEventsEnabled,
            healthMonitoringEnabled = healthMonitoringEnabled,
            incidentLogsEnabled = incidentLogsEnabled,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy