# 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 .access_policy import *
from .certifiate import *
from .certificate import *
from .certificate_issuer import *
from .get_access_policy import *
from .get_certificate import *
from .get_certificate_data import *
from .get_certificate_issuer import *
from .get_key import *
from .get_key_vault import *
from .get_secret import *
from .key import *
from .key_vault import *
from .secret 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 == "azure:keyvault/accessPolicy:AccessPolicy":
                return AccessPolicy(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "azure:keyvault/certifiate:Certifiate":
                return Certifiate(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "azure:keyvault/certificate:Certificate":
                return Certificate(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "azure:keyvault/certificateIssuer:CertificateIssuer":
                return CertificateIssuer(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "azure:keyvault/key:Key":
                return Key(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "azure:keyvault/keyVault:KeyVault":
                return KeyVault(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "azure:keyvault/secret:Secret":
                return Secret(name, pulumi.ResourceOptions(urn=urn))
            else:
                raise Exception(f"unknown resource type {typ}")


    _module_instance = Module()
    pulumi.runtime.register_resource_module("azure", "keyvault/accessPolicy", _module_instance)
    pulumi.runtime.register_resource_module("azure", "keyvault/certifiate", _module_instance)
    pulumi.runtime.register_resource_module("azure", "keyvault/certificate", _module_instance)
    pulumi.runtime.register_resource_module("azure", "keyvault/certificateIssuer", _module_instance)
    pulumi.runtime.register_resource_module("azure", "keyvault/key", _module_instance)
    pulumi.runtime.register_resource_module("azure", "keyvault/keyVault", _module_instance)
    pulumi.runtime.register_resource_module("azure", "keyvault/secret", _module_instance)

_register_module()
