다음을 통해 공유


IpsecPolicy Constructors

Definition

Overloads

IpsecPolicy()

Initializes a new instance of the IpsecPolicy class.

IpsecPolicy(Int32, Int32, String, String, String, String, String, String)

Initializes a new instance of the IpsecPolicy class.

IpsecPolicy()

Initializes a new instance of the IpsecPolicy class.

public IpsecPolicy ();
Public Sub New ()

Applies to

IpsecPolicy(Int32, Int32, String, String, String, String, String, String)

Initializes a new instance of the IpsecPolicy class.

public IpsecPolicy (int saLifeTimeSeconds, int saDataSizeKilobytes, string ipsecEncryption, string ipsecIntegrity, string ikeEncryption, string ikeIntegrity, string dhGroup, string pfsGroup);
new Microsoft.Azure.Management.Network.Models.IpsecPolicy : int * int * string * string * string * string * string * string -> Microsoft.Azure.Management.Network.Models.IpsecPolicy
Public Sub New (saLifeTimeSeconds As Integer, saDataSizeKilobytes As Integer, ipsecEncryption As String, ipsecIntegrity As String, ikeEncryption As String, ikeIntegrity As String, dhGroup As String, pfsGroup As String)

Parameters

saLifeTimeSeconds
Int32

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

saDataSizeKilobytes
Int32

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

ipsecEncryption
String

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

ipsecIntegrity
String

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

ikeEncryption
String

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

ikeIntegrity
String

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

dhGroup
String

The DH Group used in IKE Phase 1 for initial SA. Possible values include: 'None', 'DHGroup1', 'DHGroup2', 'DHGroup14', 'DHGroup2048', 'ECP256', 'ECP384', 'DHGroup24'

pfsGroup
String

The Pfs Group used in IKE Phase 2 for new child SA. Possible values include: 'None', 'PFS1', 'PFS2', 'PFS2048', 'ECP256', 'ECP384', 'PFS24', 'PFS14', 'PFSMM'

Applies to