# 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 .acl import *
from .attachment import *
from .backend_server import *
from .ca_certificate import *
from .domain_extension import *
from .get_acls import *
from .get_attachments import *
from .get_backend_servers import *
from .get_ca_certificates import *
from .get_domain_extensions import *
from .get_listeners import *
from .get_load_balancers import *
from .get_master_slave_server_groups import *
from .get_rules import *
from .get_server_certificates import *
from .get_server_groups import *
from .get_zones import *
from .listener import *
from .load_balancer import *
from .master_slave_server_group import *
from .rule import *
from .server_certificate import *
from .server_group 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:slb/acl:Acl":
                return Acl(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:slb/attachment:Attachment":
                return Attachment(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:slb/backendServer:BackendServer":
                return BackendServer(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:slb/caCertificate:CaCertificate":
                return CaCertificate(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:slb/domainExtension:DomainExtension":
                return DomainExtension(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:slb/listener:Listener":
                return Listener(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:slb/loadBalancer:LoadBalancer":
                return LoadBalancer(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:slb/masterSlaveServerGroup:MasterSlaveServerGroup":
                return MasterSlaveServerGroup(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:slb/rule:Rule":
                return Rule(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:slb/serverCertificate:ServerCertificate":
                return ServerCertificate(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:slb/serverGroup:ServerGroup":
                return ServerGroup(name, pulumi.ResourceOptions(urn=urn))
            else:
                raise Exception(f"unknown resource type {typ}")


    _module_instance = Module()
    pulumi.runtime.register_resource_module("alicloud", "slb/acl", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "slb/attachment", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "slb/backendServer", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "slb/caCertificate", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "slb/domainExtension", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "slb/listener", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "slb/loadBalancer", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "slb/masterSlaveServerGroup", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "slb/rule", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "slb/serverCertificate", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "slb/serverGroup", _module_instance)

_register_module()
