@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
88 lines • 5.15 kB
JavaScript
;
// *** 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! ***
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
// Export members:
__exportStar(require("./api"), exports);
__exportStar(require("./apiPublishment"), exports);
__exportStar(require("./application"), exports);
__exportStar(require("./customAuthorizer"), exports);
__exportStar(require("./environment"), exports);
__exportStar(require("./getEnvironments"), exports);
__exportStar(require("./group"), exports);
__exportStar(require("./instance"), exports);
__exportStar(require("./response"), exports);
__exportStar(require("./throttlingPolicy"), exports);
__exportStar(require("./throttlingPolicyAssociate"), exports);
__exportStar(require("./vpcChannel"), exports);
// Import resources to register:
const api_1 = require("./api");
const apiPublishment_1 = require("./apiPublishment");
const application_1 = require("./application");
const customAuthorizer_1 = require("./customAuthorizer");
const environment_1 = require("./environment");
const group_1 = require("./group");
const instance_1 = require("./instance");
const response_1 = require("./response");
const throttlingPolicy_1 = require("./throttlingPolicy");
const throttlingPolicyAssociate_1 = require("./throttlingPolicyAssociate");
const vpcChannel_1 = require("./vpcChannel");
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "huaweicloud:DedicatedApig/api:Api":
return new api_1.Api(name, undefined, { urn });
case "huaweicloud:DedicatedApig/apiPublishment:ApiPublishment":
return new apiPublishment_1.ApiPublishment(name, undefined, { urn });
case "huaweicloud:DedicatedApig/application:Application":
return new application_1.Application(name, undefined, { urn });
case "huaweicloud:DedicatedApig/customAuthorizer:CustomAuthorizer":
return new customAuthorizer_1.CustomAuthorizer(name, undefined, { urn });
case "huaweicloud:DedicatedApig/environment:Environment":
return new environment_1.Environment(name, undefined, { urn });
case "huaweicloud:DedicatedApig/group:Group":
return new group_1.Group(name, undefined, { urn });
case "huaweicloud:DedicatedApig/instance:Instance":
return new instance_1.Instance(name, undefined, { urn });
case "huaweicloud:DedicatedApig/response:Response":
return new response_1.Response(name, undefined, { urn });
case "huaweicloud:DedicatedApig/throttlingPolicy:ThrottlingPolicy":
return new throttlingPolicy_1.ThrottlingPolicy(name, undefined, { urn });
case "huaweicloud:DedicatedApig/throttlingPolicyAssociate:ThrottlingPolicyAssociate":
return new throttlingPolicyAssociate_1.ThrottlingPolicyAssociate(name, undefined, { urn });
case "huaweicloud:DedicatedApig/vpcChannel:VpcChannel":
return new vpcChannel_1.VpcChannel(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("huaweicloud", "DedicatedApig/api", _module);
pulumi.runtime.registerResourceModule("huaweicloud", "DedicatedApig/apiPublishment", _module);
pulumi.runtime.registerResourceModule("huaweicloud", "DedicatedApig/application", _module);
pulumi.runtime.registerResourceModule("huaweicloud", "DedicatedApig/customAuthorizer", _module);
pulumi.runtime.registerResourceModule("huaweicloud", "DedicatedApig/environment", _module);
pulumi.runtime.registerResourceModule("huaweicloud", "DedicatedApig/group", _module);
pulumi.runtime.registerResourceModule("huaweicloud", "DedicatedApig/instance", _module);
pulumi.runtime.registerResourceModule("huaweicloud", "DedicatedApig/response", _module);
pulumi.runtime.registerResourceModule("huaweicloud", "DedicatedApig/throttlingPolicy", _module);
pulumi.runtime.registerResourceModule("huaweicloud", "DedicatedApig/throttlingPolicyAssociate", _module);
pulumi.runtime.registerResourceModule("huaweicloud", "DedicatedApig/vpcChannel", _module);
//# sourceMappingURL=index.js.map