<reponame>bob-bins/pulumi-newrelic
# 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 .alert_condition import *
from .application_settings import *
from .get_plugin import *
from .get_plugin_component import *
from .workload 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 == "newrelic:plugins/alertCondition:AlertCondition":
                return AlertCondition(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "newrelic:plugins/applicationSettings:ApplicationSettings":
                return ApplicationSettings(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "newrelic:plugins/workload:Workload":
                return Workload(name, pulumi.ResourceOptions(urn=urn))
            else:
                raise Exception(f"unknown resource type {typ}")


    _module_instance = Module()
    pulumi.runtime.register_resource_module("newrelic", "plugins/alertCondition", _module_instance)
    pulumi.runtime.register_resource_module("newrelic", "plugins/applicationSettings", _module_instance)
    pulumi.runtime.register_resource_module("newrelic", "plugins/workload", _module_instance)

_register_module()
