Class IpsecPolicy
java.lang.Object
com.microsoft.azure.management.network.IpsecPolicy
An IPSec Policy configuration for a virtual network gateway connection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondhGroup()
Get the DH Group used in IKE Phase 1 for initial SA.Get the IKE encryption algorithm (IKE phase 2).Get the IKE integrity algorithm (IKE phase 2).Get the IPSec encryption algorithm (IKE phase 1).Get the IPSec integrity algorithm (IKE phase 1).pfsGroup()
Get the Pfs Group used in IKE Phase 2 for new child SA.int
Get the IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.int
Get the IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.withDhGroup
(DhGroup dhGroup) Set the DH Group used in IKE Phase 1 for initial SA.withIkeEncryption
(IkeEncryption ikeEncryption) Set the IKE encryption algorithm (IKE phase 2).withIkeIntegrity
(IkeIntegrity ikeIntegrity) Set the IKE integrity algorithm (IKE phase 2).withIpsecEncryption
(IpsecEncryption ipsecEncryption) Set the IPSec encryption algorithm (IKE phase 1).withIpsecIntegrity
(IpsecIntegrity ipsecIntegrity) Set the IPSec integrity algorithm (IKE phase 1).withPfsGroup
(PfsGroup pfsGroup) Set the Pfs Group used in IKE Phase 2 for new child SA.withSaDataSizeKilobytes
(int saDataSizeKilobytes) Set the IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.withSaLifeTimeSeconds
(int saLifeTimeSeconds) Set the IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
-
Constructor Details
-
IpsecPolicy
public IpsecPolicy()
-
-
Method Details
-
saLifeTimeSeconds
public int saLifeTimeSeconds()Get the IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.- Returns:
- the saLifeTimeSeconds value
-
withSaLifeTimeSeconds
Set the IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.- Parameters:
saLifeTimeSeconds
- the saLifeTimeSeconds value to set- Returns:
- the IpsecPolicy object itself.
-
saDataSizeKilobytes
public int saDataSizeKilobytes()Get the IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.- Returns:
- the saDataSizeKilobytes value
-
withSaDataSizeKilobytes
Set the IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.- Parameters:
saDataSizeKilobytes
- the saDataSizeKilobytes value to set- Returns:
- the IpsecPolicy object itself.
-
ipsecEncryption
Get the IPSec encryption algorithm (IKE phase 1). Possible values include: 'None', 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES128', 'GCMAES192', 'GCMAES256'.- Returns:
- the ipsecEncryption value
-
withIpsecEncryption
Set the IPSec encryption algorithm (IKE phase 1). Possible values include: 'None', 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES128', 'GCMAES192', 'GCMAES256'.- Parameters:
ipsecEncryption
- the ipsecEncryption value to set- Returns:
- the IpsecPolicy object itself.
-
ipsecIntegrity
Get the IPSec integrity algorithm (IKE phase 1). Possible values include: 'MD5', 'SHA1', 'SHA256', 'GCMAES128', 'GCMAES192', 'GCMAES256'.- Returns:
- the ipsecIntegrity value
-
withIpsecIntegrity
Set the IPSec integrity algorithm (IKE phase 1). Possible values include: 'MD5', 'SHA1', 'SHA256', 'GCMAES128', 'GCMAES192', 'GCMAES256'.- Parameters:
ipsecIntegrity
- the ipsecIntegrity value to set- Returns:
- the IpsecPolicy object itself.
-
ikeEncryption
Get the IKE encryption algorithm (IKE phase 2). Possible values include: 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES256', 'GCMAES128'.- Returns:
- the ikeEncryption value
-
withIkeEncryption
Set the IKE encryption algorithm (IKE phase 2). Possible values include: 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES256', 'GCMAES128'.- Parameters:
ikeEncryption
- the ikeEncryption value to set- Returns:
- the IpsecPolicy object itself.
-
ikeIntegrity
Get the IKE integrity algorithm (IKE phase 2). Possible values include: 'MD5', 'SHA1', 'SHA256', 'SHA384', 'GCMAES256', 'GCMAES128'.- Returns:
- the ikeIntegrity value
-
withIkeIntegrity
Set the IKE integrity algorithm (IKE phase 2). Possible values include: 'MD5', 'SHA1', 'SHA256', 'SHA384', 'GCMAES256', 'GCMAES128'.- Parameters:
ikeIntegrity
- the ikeIntegrity value to set- Returns:
- the IpsecPolicy object itself.
-
dhGroup
Get the DH Group used in IKE Phase 1 for initial SA. Possible values include: 'None', 'DHGroup1', 'DHGroup2', 'DHGroup14', 'DHGroup2048', 'ECP256', 'ECP384', 'DHGroup24'.- Returns:
- the dhGroup value
-
withDhGroup
Set the DH Group used in IKE Phase 1 for initial SA. Possible values include: 'None', 'DHGroup1', 'DHGroup2', 'DHGroup14', 'DHGroup2048', 'ECP256', 'ECP384', 'DHGroup24'.- Parameters:
dhGroup
- the dhGroup value to set- Returns:
- the IpsecPolicy object itself.
-
pfsGroup
Get the Pfs Group used in IKE Phase 2 for new child SA. Possible values include: 'None', 'PFS1', 'PFS2', 'PFS2048', 'ECP256', 'ECP384', 'PFS24', 'PFS14', 'PFSMM'.- Returns:
- the pfsGroup value
-
withPfsGroup
Set the Pfs Group used in IKE Phase 2 for new child SA. Possible values include: 'None', 'PFS1', 'PFS2', 'PFS2048', 'ECP256', 'ECP384', 'PFS24', 'PFS14', 'PFSMM'.- Parameters:
pfsGroup
- the pfsGroup value to set- Returns:
- the IpsecPolicy object itself.
-