Class VpnClientConnectionHealth
- java.lang.Object
-
- com.azure.resourcemanager.network.models.VpnClientConnectionHealth
-
public final class VpnClientConnectionHealth extends Object
VpnClientConnectionHealth properties.
-
-
Constructor Summary
Constructors Constructor Description VpnClientConnectionHealth()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>allocatedIpAddresses()Get the allocatedIpAddresses property: List of allocated ip addresses to the connected p2s vpn clients.LongtotalEgressBytesTransferred()Get the totalEgressBytesTransferred property: Total of the Egress Bytes Transferred in this connection.LongtotalIngressBytesTransferred()Get the totalIngressBytesTransferred property: Total of the Ingress Bytes Transferred in this P2S Vpn connection.voidvalidate()Validates the instance.IntegervpnClientConnectionsCount()Get the vpnClientConnectionsCount property: The total of p2s vpn clients connected at this time to this P2SVpnGateway.VpnClientConnectionHealthwithAllocatedIpAddresses(List<String> allocatedIpAddresses)Set the allocatedIpAddresses property: List of allocated ip addresses to the connected p2s vpn clients.VpnClientConnectionHealthwithVpnClientConnectionsCount(Integer vpnClientConnectionsCount)Set the vpnClientConnectionsCount property: The total of p2s vpn clients connected at this time to this P2SVpnGateway.
-
-
-
Method Detail
-
totalIngressBytesTransferred
public Long totalIngressBytesTransferred()
Get the totalIngressBytesTransferred property: Total of the Ingress Bytes Transferred in this P2S Vpn connection.- Returns:
- the totalIngressBytesTransferred value.
-
totalEgressBytesTransferred
public Long totalEgressBytesTransferred()
Get the totalEgressBytesTransferred property: Total of the Egress Bytes Transferred in this connection.- Returns:
- the totalEgressBytesTransferred value.
-
vpnClientConnectionsCount
public Integer vpnClientConnectionsCount()
Get the vpnClientConnectionsCount property: The total of p2s vpn clients connected at this time to this P2SVpnGateway.- Returns:
- the vpnClientConnectionsCount value.
-
withVpnClientConnectionsCount
public VpnClientConnectionHealth withVpnClientConnectionsCount(Integer vpnClientConnectionsCount)
Set the vpnClientConnectionsCount property: The total of p2s vpn clients connected at this time to this P2SVpnGateway.- Parameters:
vpnClientConnectionsCount- the vpnClientConnectionsCount value to set.- Returns:
- the VpnClientConnectionHealth object itself.
-
allocatedIpAddresses
public List<String> allocatedIpAddresses()
Get the allocatedIpAddresses property: List of allocated ip addresses to the connected p2s vpn clients.- Returns:
- the allocatedIpAddresses value.
-
withAllocatedIpAddresses
public VpnClientConnectionHealth withAllocatedIpAddresses(List<String> allocatedIpAddresses)
Set the allocatedIpAddresses property: List of allocated ip addresses to the connected p2s vpn clients.- Parameters:
allocatedIpAddresses- the allocatedIpAddresses value to set.- Returns:
- the VpnClientConnectionHealth object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-