com.pulumi.gcp.composer.kotlin.outputs.EnvironmentConfigWorkloadsConfigScheduler.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.Int
import kotlin.Suppress
/**
*
* @property count The number of schedulers.
* @property cpu CPU request and limit for a single Airflow scheduler replica
* @property memoryGb Memory (GB) request and limit for a single Airflow scheduler replica.
* @property storageGb Storage (GB) request and limit for a single Airflow scheduler replica.
*/
public data class EnvironmentConfigWorkloadsConfigScheduler(
public val count: Int? = null,
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.EnvironmentConfigWorkloadsConfigScheduler): EnvironmentConfigWorkloadsConfigScheduler = EnvironmentConfigWorkloadsConfigScheduler(
count = javaType.count().map({ args0 -> args0 }).orElse(null),
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 - 2025 Weber Informatics LLC | Privacy Policy