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

com.pulumi.googlenative.notebooks.v1.kotlin.enums.InstanceDiskEncryption.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.notebooks.v1.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
 */
public enum class InstanceDiskEncryption(
    public val javaValue: com.pulumi.googlenative.notebooks.v1.enums.InstanceDiskEncryption,
) : ConvertibleToJava {
    /**
     * Disk encryption is not specified.
     */
    DiskEncryptionUnspecified(com.pulumi.googlenative.notebooks.v1.enums.InstanceDiskEncryption.DiskEncryptionUnspecified),

    /**
     * Use Google managed encryption keys to encrypt the boot disk.
     */
    Gmek(com.pulumi.googlenative.notebooks.v1.enums.InstanceDiskEncryption.Gmek),

    /**
     * Use customer managed encryption keys to encrypt the boot disk.
     */
    Cmek(com.pulumi.googlenative.notebooks.v1.enums.InstanceDiskEncryption.Cmek),
    ;

    override fun toJava(): com.pulumi.googlenative.notebooks.v1.enums.InstanceDiskEncryption =
        javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.notebooks.v1.enums.InstanceDiskEncryption): InstanceDiskEncryption = InstanceDiskEncryption.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy