Skip to main content

virtual_network_gateways_vpnclient_connection_health

Creates, updates, deletes, gets or lists a virtual_network_gateways_vpnclient_connection_health resource.

Overview

Namevirtual_network_gateways_vpnclient_connection_health
TypeResource
Idazure.network.virtual_network_gateways_vpnclient_connection_health

Fields

The following fields are returned by SELECT queries:

List of VPN client connection health details.

NameDatatypeDescription
egressBytesTransferredinteger (int64)The egress bytes per second.
egressPacketsTransferredinteger (int64)The egress packets per second.
ingressBytesTransferredinteger (int64)The ingress bytes per second.
ingressPacketsTransferredinteger (int64)The ingress packets per second.
maxBandwidthinteger (int64)The max band width.
maxPacketsPerSecondinteger (int64)The max packets transferred per second.
privateIpAddressstringThe assigned private Ip of a connected vpn client.
publicIpAddressstringThe public Ip of a connected vpn client.
vpnConnectionDurationinteger (int64)The duration time of a connected vpn client.
vpnConnectionIdstringThe vpn client Id.
vpnConnectionTimestringThe start time of a connected vpn client.
vpnUserNamestringThe user name of a connected vpn client.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, virtualNetworkGatewayName, subscriptionIdGet VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
virtualNetworkGatewayNamestringThe name of the virtual network gateway.

SELECT examples

Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.

SELECT
egressBytesTransferred,
egressPacketsTransferred,
ingressBytesTransferred,
ingressPacketsTransferred,
maxBandwidth,
maxPacketsPerSecond,
privateIpAddress,
publicIpAddress,
vpnConnectionDuration,
vpnConnectionId,
vpnConnectionTime,
vpnUserName
FROM azure.network.virtual_network_gateways_vpnclient_connection_health
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND virtualNetworkGatewayName = '{{ virtualNetworkGatewayName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;