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

com.pulumi.googlenative.compute.alpha.kotlin.enums.InterconnectAttachmentEncryption.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.compute.alpha.kotlin.enums

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

/**
 * Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option.
 */
public enum class InterconnectAttachmentEncryption(
    public val javaValue: com.pulumi.googlenative.compute.alpha.enums.InterconnectAttachmentEncryption,
) : ConvertibleToJava {
    /**
     * The interconnect attachment will carry only encrypted traffic that is encrypted by an IPsec device such as HA VPN gateway; VMs cannot directly send traffic to or receive traffic from such an interconnect attachment. To use HA VPN over Cloud Interconnect, the interconnect attachment must be created with this option.
     */
    Ipsec(com.pulumi.googlenative.compute.alpha.enums.InterconnectAttachmentEncryption.Ipsec),

    /**
     * This is the default value, which means the Interconnect Attachment will carry unencrypted traffic. VMs will be able to send traffic to or receive traffic from such interconnect attachment.
     */
    None(com.pulumi.googlenative.compute.alpha.enums.InterconnectAttachmentEncryption.None),
    ;

    override fun toJava(): com.pulumi.googlenative.compute.alpha.enums.InterconnectAttachmentEncryption = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.compute.alpha.enums.InterconnectAttachmentEncryption): InterconnectAttachmentEncryption =
            InterconnectAttachmentEncryption.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy