Dela via


IPsecPolicy Constructor

Definition

Initializes a new instance of IPsecPolicy.

public IPsecPolicy (int saLifeTimeSeconds, int saDataSizeKilobytes, Azure.ResourceManager.Network.Models.IPsecEncryption ipsecEncryption, Azure.ResourceManager.Network.Models.IPsecIntegrity ipsecIntegrity, Azure.ResourceManager.Network.Models.IkeEncryption ikeEncryption, Azure.ResourceManager.Network.Models.IkeIntegrity ikeIntegrity, Azure.ResourceManager.Network.Models.DHGroup dhGroup, Azure.ResourceManager.Network.Models.PfsGroup pfsGroup);
new Azure.ResourceManager.Network.Models.IPsecPolicy : int * int * Azure.ResourceManager.Network.Models.IPsecEncryption * Azure.ResourceManager.Network.Models.IPsecIntegrity * Azure.ResourceManager.Network.Models.IkeEncryption * Azure.ResourceManager.Network.Models.IkeIntegrity * Azure.ResourceManager.Network.Models.DHGroup * Azure.ResourceManager.Network.Models.PfsGroup -> Azure.ResourceManager.Network.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).

ipsecIntegrity
IPsecIntegrity

The IPSec integrity algorithm (IKE phase 1).

ikeEncryption
IkeEncryption

The IKE encryption algorithm (IKE phase 2).

ikeIntegrity
IkeIntegrity

The IKE integrity algorithm (IKE phase 2).

dhGroup
DHGroup

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

pfsGroup
PfsGroup

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

Applies to