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

com.pulumi.gcp.composer.kotlin.outputs.EnvironmentConfigWorkloadsConfigScheduler.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.12.0.0
Show newest version
@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