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

com.pulumi.googlenative.appengine.v1.kotlin.outputs.ResourcesResponse.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.appengine.v1.kotlin.outputs

import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * Machine resources for a version.
 * @property cpu Number of CPU cores needed.
 * @property diskGb Disk size (GB) needed.
 * @property kmsKeyReference The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk
 * @property memoryGb Memory (GB) needed.
 * @property volumes User specified volumes.
 */
public data class ResourcesResponse(
    public val cpu: Double,
    public val diskGb: Double,
    public val kmsKeyReference: String,
    public val memoryGb: Double,
    public val volumes: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.appengine.v1.outputs.ResourcesResponse): ResourcesResponse = ResourcesResponse(
            cpu = javaType.cpu(),
            diskGb = javaType.diskGb(),
            kmsKeyReference = javaType.kmsKeyReference(),
            memoryGb = javaType.memoryGb(),
            volumes = javaType.volumes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.appengine.v1.kotlin.outputs.VolumeResponse.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy