# Class Encryption (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    Encryption(value)

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.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `UNDEFINED_ENCRYPTION` | A value indicating that the enum field is not set. |
| `IPSEC` | 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. |
| `NONE` | 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. |