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

com.pulumi.nomad.kotlin.outputs.QuoteSpecificationLimitRegionLimit.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: 2.4.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.nomad.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property cpu `(int: 0)` - The amount of CPU to limit allocations to. A value of zero
 * is treated as unlimited, and a negative value is treated as fully disallowed.
 * @property memoryMb `(int: 0)` - The amount of memory (in megabytes) to limit
 * allocations to. A value of zero is treated as unlimited, and a negative value
 * is treated as fully disallowed.
 */
public data class QuoteSpecificationLimitRegionLimit(
    public val cpu: Int? = null,
    public val memoryMb: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.nomad.outputs.QuoteSpecificationLimitRegionLimit): QuoteSpecificationLimitRegionLimit = QuoteSpecificationLimitRegionLimit(
            cpu = javaType.cpu().map({ args0 -> args0 }).orElse(null),
            memoryMb = javaType.memoryMb().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy