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

com.pulumi.gcp.composer.kotlin.outputs.EnvironmentConfigWorkloadsConfigWebServer.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.composer.kotlin.outputs

import kotlin.Double
import kotlin.Suppress

/**
 *
 * @property cpu CPU request and limit for Airflow web server.
 * @property memoryGb Memory (GB) request and limit for Airflow web server.
 * @property storageGb Storage (GB) request and limit for Airflow web server.
 */
public data class EnvironmentConfigWorkloadsConfigWebServer(
    public val cpu: Double? = null,
    public val memoryGb: Double? = null,
    public val storageGb: Double? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.composer.outputs.EnvironmentConfigWorkloadsConfigWebServer): EnvironmentConfigWorkloadsConfigWebServer = EnvironmentConfigWorkloadsConfigWebServer(
            cpu = javaType.cpu().map({ args0 -> args0 }).orElse(null),
            memoryGb = javaType.memoryGb().map({ args0 -> args0 }).orElse(null),
            storageGb = javaType.storageGb().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy