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

com.pulumi.gcp.memcache.kotlin.outputs.InstanceNodeConfig.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.memcache.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property cpuCount Number of CPUs per node.
 * @property memorySizeMb Memory size in Mebibytes for each memcache node.
 * - - -
 */
public data class InstanceNodeConfig(
    public val cpuCount: Int,
    public val memorySizeMb: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.memcache.outputs.InstanceNodeConfig): InstanceNodeConfig = InstanceNodeConfig(
            cpuCount = javaType.cpuCount(),
            memorySizeMb = javaType.memorySizeMb(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy