VpnClientConnectionHealth Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.VpnClientConnectionHealth

Implements

public final class VpnClientConnectionHealth
implements JsonSerializable<VpnClientConnectionHealth>

VpnClientConnectionHealth properties.

Constructor Summary

Constructor Description
VpnClientConnectionHealth()

Creates an instance of VpnClientConnectionHealth class.

Method Summary

Modifier and Type Method and Description
List<String> allocatedIpAddresses()

Get the allocatedIpAddresses property: List of allocated ip addresses to the connected p2s vpn clients.

static VpnClientConnectionHealth fromJson(JsonReader jsonReader)

Reads an instance of VpnClientConnectionHealth from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
Long totalEgressBytesTransferred()

Get the totalEgressBytesTransferred property: Total of the Egress Bytes Transferred in this connection.

Long totalIngressBytesTransferred()

Get the totalIngressBytesTransferred property: Total of the Ingress Bytes Transferred in this P2S Vpn connection.

void validate()

Validates the instance.

Integer vpnClientConnectionsCount()

Get the vpnClientConnectionsCount property: The total of p2s vpn clients connected at this time to this P2SVpnGateway.

VpnClientConnectionHealth withAllocatedIpAddresses(List<String> allocatedIpAddresses)

Set the allocatedIpAddresses property: List of allocated ip addresses to the connected p2s vpn clients.

VpnClientConnectionHealth withVpnClientConnectionsCount(Integer vpnClientConnectionsCount)

Set the vpnClientConnectionsCount property: The total of p2s vpn clients connected at this time to this P2SVpnGateway.

Methods inherited from java.lang.Object

Constructor Details

VpnClientConnectionHealth

public VpnClientConnectionHealth()

Creates an instance of VpnClientConnectionHealth class.

Method Details

allocatedIpAddresses

public List allocatedIpAddresses()

Get the allocatedIpAddresses property: List of allocated ip addresses to the connected p2s vpn clients.

Returns:

the allocatedIpAddresses value.

fromJson

public static VpnClientConnectionHealth fromJson(JsonReader jsonReader)

Reads an instance of VpnClientConnectionHealth from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VpnClientConnectionHealth if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VpnClientConnectionHealth.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalEgressBytesTransferred

public Long totalEgressBytesTransferred()

Get the totalEgressBytesTransferred property: Total of the Egress Bytes Transferred in this connection.

Returns:

the totalEgressBytesTransferred value.

totalIngressBytesTransferred

public Long totalIngressBytesTransferred()

Get the totalIngressBytesTransferred property: Total of the Ingress Bytes Transferred in this P2S Vpn connection.

Returns:

the totalIngressBytesTransferred value.

validate

public void validate()

Validates the instance.

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.

withAllocatedIpAddresses

public VpnClientConnectionHealth withAllocatedIpAddresses(List 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.

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.

Applies to