com.pulumi.gcp.composer.kotlin.outputs.EnvironmentConfigWorkloadsConfigWebServer.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.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