IpsecPolicy Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IpsecPolicy() |
Initializes a new instance of the IpsecPolicy class. |
IpsecPolicy(Int32, Int32, IpsecEncryption, IpsecIntegrity, IkeEncryption, IkeIntegrity, DhGroup, PfsGroup) |
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, IpsecEncryption, IpsecIntegrity, IkeEncryption, IkeIntegrity, DhGroup, PfsGroup)
Initializes a new instance of the IpsecPolicy class.
public IpsecPolicy (int saLifeTimeSeconds, int saDataSizeKilobytes, Microsoft.Azure.Management.Network.Fluent.Models.IpsecEncryption ipsecEncryption, Microsoft.Azure.Management.Network.Fluent.Models.IpsecIntegrity ipsecIntegrity, Microsoft.Azure.Management.Network.Fluent.Models.IkeEncryption ikeEncryption, Microsoft.Azure.Management.Network.Fluent.Models.IkeIntegrity ikeIntegrity, Microsoft.Azure.Management.Network.Fluent.Models.DhGroup dhGroup, Microsoft.Azure.Management.Network.Fluent.Models.PfsGroup pfsGroup);
new Microsoft.Azure.Management.Network.Fluent.Models.IpsecPolicy : int * int * Microsoft.Azure.Management.Network.Fluent.Models.IpsecEncryption * Microsoft.Azure.Management.Network.Fluent.Models.IpsecIntegrity * Microsoft.Azure.Management.Network.Fluent.Models.IkeEncryption * Microsoft.Azure.Management.Network.Fluent.Models.IkeIntegrity * Microsoft.Azure.Management.Network.Fluent.Models.DhGroup * Microsoft.Azure.Management.Network.Fluent.Models.PfsGroup -> Microsoft.Azure.Management.Network.Fluent.Models.IpsecPolicy
Public Sub New (saLifeTimeSeconds As Integer, saDataSizeKilobytes As Integer, ipsecEncryption As IpsecEncryption, ipsecIntegrity As IpsecIntegrity, ikeEncryption As IkeEncryption, ikeIntegrity As IkeIntegrity, dhGroup As DhGroup, pfsGroup As PfsGroup)
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
- IpsecEncryption
The IPSec encryption algorithm (IKE phase 1). Possible values include: 'None', 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES128', 'GCMAES192', 'GCMAES256'
- ipsecIntegrity
- IpsecIntegrity
The IPSec integrity algorithm (IKE phase 1). Possible values include: 'MD5', 'SHA1', 'SHA256', 'GCMAES128', 'GCMAES192', 'GCMAES256'
- ikeEncryption
- IkeEncryption
The IKE encryption algorithm (IKE phase 2). Possible values include: 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES256', 'GCMAES128'
- ikeIntegrity
- IkeIntegrity
The IKE integrity algorithm (IKE phase 2). Possible values include: 'MD5', 'SHA1', 'SHA256', 'SHA384', 'GCMAES256', 'GCMAES128'
- dhGroup
- DhGroup
The DH Group used in IKE Phase 1 for initial SA. Possible values include: 'None', 'DHGroup1', 'DHGroup2', 'DHGroup14', 'DHGroup2048', 'ECP256', 'ECP384', 'DHGroup24'
- pfsGroup
- PfsGroup
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
Azure SDK for .NET