Class: Azure::Network::Mgmt::V2018_08_01::Models::IpsecPolicy

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb

Overview

An IPSec Policy configuration for a virtual network gateway connection

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#dh_groupDhGroup

Possible values include: 'None', 'DHGroup1', 'DHGroup2', 'DHGroup14', 'DHGroup2048', 'ECP256', 'ECP384', 'DHGroup24'

Returns:

  • (DhGroup)

    The DH Groups used in IKE Phase 1 for initial SA.


46
47
48
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb', line 46

def dh_group
  @dh_group
end

#ike_encryptionIkeEncryption

Possible values include: 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES256', 'GCMAES128'

Returns:

  • (IkeEncryption)

    The IKE encryption algorithm (IKE phase 2).


36
37
38
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb', line 36

def ike_encryption
  @ike_encryption
end

#ike_integrityIkeIntegrity

Possible values include: 'MD5', 'SHA1', 'SHA256', 'SHA384', 'GCMAES256', 'GCMAES128'

Returns:

  • (IkeIntegrity)

    The IKE integrity algorithm (IKE phase 2).


41
42
43
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb', line 41

def ike_integrity
  @ike_integrity
end

#ipsec_encryptionIpsecEncryption

Possible values include: 'None', 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES128', 'GCMAES192', 'GCMAES256'

Returns:


26
27
28
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb', line 26

def ipsec_encryption
  @ipsec_encryption
end

#ipsec_integrityIpsecIntegrity

Possible values include: 'MD5', 'SHA1', 'SHA256', 'GCMAES128', 'GCMAES192', 'GCMAES256'

Returns:


31
32
33
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb', line 31

def ipsec_integrity
  @ipsec_integrity
end

#pfs_groupPfsGroup

Possible values include: 'None', 'PFS1', 'PFS2', 'PFS2048', 'ECP256', 'ECP384', 'PFS24', 'PFS14', 'PFSMM'

Returns:

  • (PfsGroup)

    The Pfs Groups used in IKE Phase 2 for new child SA.


51
52
53
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb', line 51

def pfs_group
  @pfs_group
end

#sa_data_size_kilobytesInteger

Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.

Returns:

  • (Integer)

    The IPSec Security Association (also called Quick


21
22
23
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb', line 21

def sa_data_size_kilobytes
  @sa_data_size_kilobytes
end

#sa_life_time_secondsInteger

Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.

Returns:

  • (Integer)

    The IPSec Security Association (also called Quick


17
18
19
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb', line 17

def sa_life_time_seconds
  @sa_life_time_seconds
end

Class Method Details

.mapperObject

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


58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb', line 58

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