# 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 .get_service import *
from .get_vpc_endpoint_connections import *
from .get_vpc_endpoint_service_resources import *
from .get_vpc_endpoint_service_users import *
from .get_vpc_endpoint_services import *
from .get_vpc_endpoint_zones import *
from .get_vpc_endpoints import *
from .vpc_endpoint import *
from .vpc_endpoint_service import *
from .vpc_endpoint_service_connection import *
from .vpc_endpoint_service_resource import *
from .vpc_endpoint_service_user import *
from .vpc_endpoint_zone 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:privatelink/vpcEndpoint:VpcEndpoint":
                return VpcEndpoint(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:privatelink/vpcEndpointService:VpcEndpointService":
                return VpcEndpointService(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:privatelink/vpcEndpointServiceConnection:VpcEndpointServiceConnection":
                return VpcEndpointServiceConnection(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:privatelink/vpcEndpointServiceResource:VpcEndpointServiceResource":
                return VpcEndpointServiceResource(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:privatelink/vpcEndpointServiceUser:VpcEndpointServiceUser":
                return VpcEndpointServiceUser(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:privatelink/vpcEndpointZone:VpcEndpointZone":
                return VpcEndpointZone(name, pulumi.ResourceOptions(urn=urn))
            else:
                raise Exception(f"unknown resource type {typ}")


    _module_instance = Module()
    pulumi.runtime.register_resource_module("alicloud", "privatelink/vpcEndpoint", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "privatelink/vpcEndpointService", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "privatelink/vpcEndpointServiceConnection", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "privatelink/vpcEndpointServiceResource", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "privatelink/vpcEndpointServiceUser", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "privatelink/vpcEndpointZone", _module_instance)

_register_module()
