VpnClientConnectionHealthDetail Class

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

Implements

public final class VpnClientConnectionHealthDetail
implements JsonSerializable<VpnClientConnectionHealthDetail>

VPN client connection health detail.

Constructor Summary

Constructor Description
VpnClientConnectionHealthDetail()

Creates an instance of VpnClientConnectionHealthDetail class.

Method Summary

Modifier and Type Method and Description
Long egressBytesTransferred()

Get the egressBytesTransferred property: The egress bytes per second.

Long egressPacketsTransferred()

Get the egressPacketsTransferred property: The egress packets per second.

static VpnClientConnectionHealthDetail fromJson(JsonReader jsonReader)

Reads an instance of VpnClientConnectionHealthDetail from the JsonReader.

Long ingressBytesTransferred()

Get the ingressBytesTransferred property: The ingress bytes per second.

Long ingressPacketsTransferred()

Get the ingressPacketsTransferred property: The ingress packets per second.

Long maxBandwidth()

Get the maxBandwidth property: The max band width.

Long maxPacketsPerSecond()

Get the maxPacketsPerSecond property: The max packets transferred per second.

String privateIpAddress()

Get the privateIpAddress property: The assigned private Ip of a connected vpn client.

String publicIpAddress()

Get the publicIpAddress property: The public Ip of a connected vpn client.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Long vpnConnectionDuration()

Get the vpnConnectionDuration property: The duration time of a connected vpn client.

String vpnConnectionId()

Get the vpnConnectionId property: The vpn client Id.

String vpnConnectionTime()

Get the vpnConnectionTime property: The start time of a connected vpn client.

String vpnUsername()

Get the vpnUsername property: The user name of a connected vpn client.

Methods inherited from java.lang.Object

Constructor Details

VpnClientConnectionHealthDetail

public VpnClientConnectionHealthDetail()

Creates an instance of VpnClientConnectionHealthDetail class.

Method Details

egressBytesTransferred

public Long egressBytesTransferred()

Get the egressBytesTransferred property: The egress bytes per second.

Returns:

the egressBytesTransferred value.

egressPacketsTransferred

public Long egressPacketsTransferred()

Get the egressPacketsTransferred property: The egress packets per second.

Returns:

the egressPacketsTransferred value.

fromJson

public static VpnClientConnectionHealthDetail fromJson(JsonReader jsonReader)

Reads an instance of VpnClientConnectionHealthDetail from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VpnClientConnectionHealthDetail 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 VpnClientConnectionHealthDetail.

ingressBytesTransferred

public Long ingressBytesTransferred()

Get the ingressBytesTransferred property: The ingress bytes per second.

Returns:

the ingressBytesTransferred value.

ingressPacketsTransferred

public Long ingressPacketsTransferred()

Get the ingressPacketsTransferred property: The ingress packets per second.

Returns:

the ingressPacketsTransferred value.

maxBandwidth

public Long maxBandwidth()

Get the maxBandwidth property: The max band width.

Returns:

the maxBandwidth value.

maxPacketsPerSecond

public Long maxPacketsPerSecond()

Get the maxPacketsPerSecond property: The max packets transferred per second.

Returns:

the maxPacketsPerSecond value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: The assigned private Ip of a connected vpn client.

Returns:

the privateIpAddress value.

publicIpAddress

public String publicIpAddress()

Get the publicIpAddress property: The public Ip of a connected vpn client.

Returns:

the publicIpAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vpnConnectionDuration

public Long vpnConnectionDuration()

Get the vpnConnectionDuration property: The duration time of a connected vpn client.

Returns:

the vpnConnectionDuration value.

vpnConnectionId

public String vpnConnectionId()

Get the vpnConnectionId property: The vpn client Id.

Returns:

the vpnConnectionId value.

vpnConnectionTime

public String vpnConnectionTime()

Get the vpnConnectionTime property: The start time of a connected vpn client.

Returns:

the vpnConnectionTime value.

vpnUsername

public String vpnUsername()

Get the vpnUsername property: The user name of a connected vpn client.

Returns:

the vpnUsername value.

Applies to