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

com.pulumi.gcp.workbench.kotlin.outputs.InstanceGceSetupBootDisk.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.workbench.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property diskEncryption Optional. Input only. Disk encryption method used on the boot and
 * data disks, defaults to GMEK.
 * Possible values are: `GMEK`, `CMEK`.
 * @property diskSizeGb Optional. The size of the boot disk in GB attached to this instance,
 * up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the
 * recommended value of 150GB.
 * @property diskType Optional. Indicates the type of the disk.
 * Possible values are: `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`.
 * @property kmsKey 'Optional. The KMS key used to encrypt the disks, only
 * applicable if disk_encryption is CMEK. Format: `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
 * Learn more about using your own encryption keys.'
 */
public data class InstanceGceSetupBootDisk(
    public val diskEncryption: String? = null,
    public val diskSizeGb: String? = null,
    public val diskType: String? = null,
    public val kmsKey: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.workbench.outputs.InstanceGceSetupBootDisk): InstanceGceSetupBootDisk = InstanceGceSetupBootDisk(
            diskEncryption = javaType.diskEncryption().map({ args0 -> args0 }).orElse(null),
            diskSizeGb = javaType.diskSizeGb().map({ args0 -> args0 }).orElse(null),
            diskType = javaType.diskType().map({ args0 -> args0 }).orElse(null),
            kmsKey = javaType.kmsKey().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy