# coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
from . import outputs

__all__ = [
    'GetVirtualNetworkGatewayVpnclientConnectionHealthResult',
    'AwaitableGetVirtualNetworkGatewayVpnclientConnectionHealthResult',
    'get_virtual_network_gateway_vpnclient_connection_health',
    'get_virtual_network_gateway_vpnclient_connection_health_output',
]

@pulumi.output_type
class GetVirtualNetworkGatewayVpnclientConnectionHealthResult:
    """
    List of virtual network gateway vpn client connection health.
    """
    def __init__(__self__, value=None):
        if value and not isinstance(value, list):
            raise TypeError("Expected argument 'value' to be a list")
        pulumi.set(__self__, "value", value)

    @property
    @pulumi.getter
    def value(self) -> Optional[Sequence['outputs.VpnClientConnectionHealthDetailResponse']]:
        """
        List of vpn client connection health.
        """
        return pulumi.get(self, "value")


class AwaitableGetVirtualNetworkGatewayVpnclientConnectionHealthResult(GetVirtualNetworkGatewayVpnclientConnectionHealthResult):
    # pylint: disable=using-constant-test
    def __await__(self):
        if False:
            yield self
        return GetVirtualNetworkGatewayVpnclientConnectionHealthResult(
            value=self.value)


def get_virtual_network_gateway_vpnclient_connection_health(resource_group_name: Optional[str] = None,
                                                            virtual_network_gateway_name: Optional[str] = None,
                                                            opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVirtualNetworkGatewayVpnclientConnectionHealthResult:
    """
    List of virtual network gateway vpn client connection health.


    :param str resource_group_name: The name of the resource group.
    :param str virtual_network_gateway_name: The name of the virtual network gateway.
    """
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['virtualNetworkGatewayName'] = virtual_network_gateway_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:network/v20191101:getVirtualNetworkGatewayVpnclientConnectionHealth', __args__, opts=opts, typ=GetVirtualNetworkGatewayVpnclientConnectionHealthResult).value

    return AwaitableGetVirtualNetworkGatewayVpnclientConnectionHealthResult(
        value=__ret__.value)


@_utilities.lift_output_func(get_virtual_network_gateway_vpnclient_connection_health)
def get_virtual_network_gateway_vpnclient_connection_health_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                                                   virtual_network_gateway_name: Optional[pulumi.Input[str]] = None,
                                                                   opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualNetworkGatewayVpnclientConnectionHealthResult]:
    """
    List of virtual network gateway vpn client connection health.


    :param str resource_group_name: The name of the resource group.
    :param str virtual_network_gateway_name: The name of the virtual network gateway.
    """
    ...
