class Azure::Network::Mgmt::V2018_08_01::Models::IpsecPolicy

An IPSec Policy configuration for a virtual network gateway connection

Attributes

dh_group[RW]

@return [DhGroup] The DH Groups used in IKE Phase 1 for initial SA. Possible values include: 'None', 'DHGroup1', 'DHGroup2', 'DHGroup14', 'DHGroup2048', 'ECP256', 'ECP384', 'DHGroup24'

ike_encryption[RW]

@return [IkeEncryption] The IKE encryption algorithm (IKE phase 2). Possible values include: 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES256', 'GCMAES128'

ike_integrity[RW]

@return [IkeIntegrity] The IKE integrity algorithm (IKE phase 2). Possible values include: 'MD5', 'SHA1', 'SHA256', 'SHA384', 'GCMAES256', 'GCMAES128'

ipsec_encryption[RW]

@return [IpsecEncryption] The IPSec encryption algorithm (IKE phase 1). Possible values include: 'None', 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES128', 'GCMAES192', 'GCMAES256'

ipsec_integrity[RW]

@return [IpsecIntegrity] The IPSec integrity algorithm (IKE phase 1). Possible values include: 'MD5', 'SHA1', 'SHA256', 'GCMAES128', 'GCMAES192', 'GCMAES256'

pfs_group[RW]

@return [PfsGroup] The Pfs Groups used in IKE Phase 2 for new child SA. Possible values include: 'None', 'PFS1', 'PFS2', 'PFS2048', 'ECP256', 'ECP384', 'PFS24', 'PFS14', 'PFSMM'

sa_data_size_kilobytes[RW]

@return [Integer] The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.

sa_life_time_seconds[RW]

@return [Integer] The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.

Public Class Methods

mapper() click to toggle source

Mapper for IpsecPolicy class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb, line 57
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IpsecPolicy',
    type: {
      name: 'Composite',
      class_name: 'IpsecPolicy',
      model_properties: {
        sa_life_time_seconds: {
          client_side_validation: true,
          required: true,
          serialized_name: 'saLifeTimeSeconds',
          type: {
            name: 'Number'
          }
        },
        sa_data_size_kilobytes: {
          client_side_validation: true,
          required: true,
          serialized_name: 'saDataSizeKilobytes',
          type: {
            name: 'Number'
          }
        },
        ipsec_encryption: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ipsecEncryption',
          type: {
            name: 'String'
          }
        },
        ipsec_integrity: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ipsecIntegrity',
          type: {
            name: 'String'
          }
        },
        ike_encryption: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ikeEncryption',
          type: {
            name: 'String'
          }
        },
        ike_integrity: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ikeIntegrity',
          type: {
            name: 'String'
          }
        },
        dh_group: {
          client_side_validation: true,
          required: true,
          serialized_name: 'dhGroup',
          type: {
            name: 'String'
          }
        },
        pfs_group: {
          client_side_validation: true,
          required: true,
          serialized_name: 'pfsGroup',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end