# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

# Export this package's modules as members:
from .connection import *
from .customer_gateway import *
from .gateway import *
from .get_connections import *
from .get_customer_gateways import *
from .get_gateways import *
from .route_entry import *
from .ssl_vpn_client_cert import *
from .ssl_vpn_server import *
from ._inputs import *
from . import outputs

def _register_module():
    import pulumi
    from .. import _utilities


    class Module(pulumi.runtime.ResourceModule):
        _version = _utilities.get_semver_version()

        def version(self):
            return Module._version

        def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource:
            if typ == "alicloud:vpn/connection:Connection":
                return Connection(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:vpn/customerGateway:CustomerGateway":
                return CustomerGateway(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:vpn/gateway:Gateway":
                return Gateway(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:vpn/routeEntry:RouteEntry":
                return RouteEntry(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:vpn/sslVpnClientCert:SslVpnClientCert":
                return SslVpnClientCert(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:vpn/sslVpnServer:SslVpnServer":
                return SslVpnServer(name, pulumi.ResourceOptions(urn=urn))
            else:
                raise Exception(f"unknown resource type {typ}")


    _module_instance = Module()
    pulumi.runtime.register_resource_module("alicloud", "vpn/connection", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "vpn/customerGateway", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "vpn/gateway", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "vpn/routeEntry", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "vpn/sslVpnClientCert", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "vpn/sslVpnServer", _module_instance)

_register_module()
