def METHOD_NAME(connection_name: Optional[str] = None,
                                             network_virtual_appliance_name: Optional[str] = None,
                                             resource_group_name: Optional[str] = None,
                                             opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkVirtualApplianceConnectionResult:
    """
    Retrieves the details of specified NVA connection.
    :param str connection_name: The name of the NVA connection.
    :param str network_virtual_appliance_name: The name of the Network Virtual Appliance.
    :param str resource_group_name: The name of the resource group.
    """
    __args__ = dict()
    __args__['connectionName'] = connection_name
    __args__['networkVirtualApplianceName'] = network_virtual_appliance_name
    __args__['resourceGroupName'] = resource_group_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:network/v20230401:getNetworkVirtualApplianceConnection', __args__, opts=opts, typ=GetNetworkVirtualApplianceConnectionResult).value
    return AwaitableGetNetworkVirtualApplianceConnectionResult(
        asn=pulumi.get(__ret__, 'asn'),
        bgp_peer_address=pulumi.get(__ret__, 'bgp_peer_address'),
        enable_internet_security=pulumi.get(__ret__, 'enable_internet_security'),
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
        routing_configuration=pulumi.get(__ret__, 'routing_configuration'),
        tunnel_identifier=pulumi.get(__ret__, 'tunnel_identifier'))