VpnClientIPsecParametersInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. VpnClientIPsecParametersInner
- com.
Implements
public final class VpnClientIPsecParametersInner
implements JsonSerializable<VpnClientIPsecParametersInner>
An IPSec parameters for a virtual network gateway P2S connection.
Constructor Summary
Constructor | Description |
---|---|
VpnClientIPsecParametersInner() |
Creates an instance of Vpn |
Method Summary
Modifier and Type | Method and Description |
---|---|
Dh |
dhGroup()
Get the dh |
static
Vpn |
fromJson(JsonReader jsonReader)
Reads an instance of Vpn |
Ike |
ikeEncryption()
Get the ike |
Ike |
ikeIntegrity()
Get the ike |
Ipsec |
ipsecEncryption()
Get the ipsec |
Ipsec |
ipsecIntegrity()
Get the ipsec |
Pfs |
pfsGroup()
Get the pfs |
int |
saDataSizeKilobytes()
Get the sa |
int |
saLifeTimeSeconds()
Get the sa |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Vpn |
withDhGroup(DhGroup dhGroup)
Set the dh |
Vpn |
withIkeEncryption(IkeEncryption ikeEncryption)
Set the ike |
Vpn |
withIkeIntegrity(IkeIntegrity ikeIntegrity)
Set the ike |
Vpn |
withIpsecEncryption(IpsecEncryption ipsecEncryption)
Set the ipsec |
Vpn |
withIpsecIntegrity(IpsecIntegrity ipsecIntegrity)
Set the ipsec |
Vpn |
withPfsGroup(PfsGroup pfsGroup)
Set the pfs |
Vpn |
withSaDataSizeKilobytes(int saDataSizeKilobytes)
Set the sa |
Vpn |
withSaLifeTimeSeconds(int saLifeTimeSeconds)
Set the sa |
Methods inherited from java.lang.Object
Constructor Details
VpnClientIPsecParametersInner
public VpnClientIPsecParametersInner()
Creates an instance of VpnClientIPsecParametersInner class.
Method Details
dhGroup
public DhGroup dhGroup()
Get the dhGroup property: The DH Group used in IKE Phase 1 for initial SA.
Returns:
fromJson
public static VpnClientIPsecParametersInner fromJson(JsonReader jsonReader)
Reads an instance of VpnClientIPsecParametersInner from the JsonReader.
Parameters:
Returns:
Throws:
ikeEncryption
public IkeEncryption ikeEncryption()
Get the ikeEncryption property: The IKE encryption algorithm (IKE phase 2).
Returns:
ikeIntegrity
public IkeIntegrity ikeIntegrity()
Get the ikeIntegrity property: The IKE integrity algorithm (IKE phase 2).
Returns:
ipsecEncryption
public IpsecEncryption ipsecEncryption()
Get the ipsecEncryption property: The IPSec encryption algorithm (IKE phase 1).
Returns:
ipsecIntegrity
public IpsecIntegrity ipsecIntegrity()
Get the ipsecIntegrity property: The IPSec integrity algorithm (IKE phase 1).
Returns:
pfsGroup
public PfsGroup pfsGroup()
Get the pfsGroup property: The Pfs Group used in IKE Phase 2 for new child SA.
Returns:
saDataSizeKilobytes
public int saDataSizeKilobytes()
Get the saDataSizeKilobytes property: The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for P2S client..
Returns:
saLifeTimeSeconds
public int saLifeTimeSeconds()
Get the saLifeTimeSeconds property: The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDhGroup
public VpnClientIPsecParametersInner withDhGroup(DhGroup dhGroup)
Set the dhGroup property: The DH Group used in IKE Phase 1 for initial SA.
Parameters:
Returns:
withIkeEncryption
public VpnClientIPsecParametersInner withIkeEncryption(IkeEncryption ikeEncryption)
Set the ikeEncryption property: The IKE encryption algorithm (IKE phase 2).
Parameters:
Returns:
withIkeIntegrity
public VpnClientIPsecParametersInner withIkeIntegrity(IkeIntegrity ikeIntegrity)
Set the ikeIntegrity property: The IKE integrity algorithm (IKE phase 2).
Parameters:
Returns:
withIpsecEncryption
public VpnClientIPsecParametersInner withIpsecEncryption(IpsecEncryption ipsecEncryption)
Set the ipsecEncryption property: The IPSec encryption algorithm (IKE phase 1).
Parameters:
Returns:
withIpsecIntegrity
public VpnClientIPsecParametersInner withIpsecIntegrity(IpsecIntegrity ipsecIntegrity)
Set the ipsecIntegrity property: The IPSec integrity algorithm (IKE phase 1).
Parameters:
Returns:
withPfsGroup
public VpnClientIPsecParametersInner withPfsGroup(PfsGroup pfsGroup)
Set the pfsGroup property: The Pfs Group used in IKE Phase 2 for new child SA.
Parameters:
Returns:
withSaDataSizeKilobytes
public VpnClientIPsecParametersInner withSaDataSizeKilobytes(int saDataSizeKilobytes)
Set the saDataSizeKilobytes property: The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for P2S client..
Parameters:
Returns:
withSaLifeTimeSeconds
public VpnClientIPsecParametersInner withSaLifeTimeSeconds(int saLifeTimeSeconds)
Set the saLifeTimeSeconds property: The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client.
Parameters:
Returns:
Applies to
Azure SDK for Java