ArmNetworkModelFactory.VpnClientIPsecParameters Method
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.
public static Azure.ResourceManager.Network.Models.VpnClientIPsecParameters VpnClientIPsecParameters(int saLifeTimeSeconds = 0, int saDataSizeKilobytes = 0, Azure.ResourceManager.Network.Models.IPsecEncryption ipsecEncryption = default, Azure.ResourceManager.Network.Models.IPsecIntegrity ipsecIntegrity = default, Azure.ResourceManager.Network.Models.IkeEncryption ikeEncryption = default, Azure.ResourceManager.Network.Models.IkeIntegrity ikeIntegrity = default, Azure.ResourceManager.Network.Models.DHGroup dhGroup = default, Azure.ResourceManager.Network.Models.PfsGroup pfsGroup = default);
static member VpnClientIPsecParameters : 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.VpnClientIPsecParameters
Public Shared Function VpnClientIPsecParameters (Optional saLifeTimeSeconds As Integer = 0, Optional saDataSizeKilobytes As Integer = 0, Optional ipsecEncryption As IPsecEncryption = Nothing, Optional ipsecIntegrity As IPsecIntegrity = Nothing, Optional ikeEncryption As IkeEncryption = Nothing, Optional ikeIntegrity As IkeIntegrity = Nothing, Optional dhGroup As DHGroup = Nothing, Optional pfsGroup As PfsGroup = Nothing) As VpnClientIPsecParameters
Parameters
- saLifeTimeSeconds
- Int32
The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client.
- saDataSizeKilobytes
- Int32
The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for P2S client..
- 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.
Returns
A new VpnClientIPsecParameters instance for mocking.