@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
70 lines • 3.92 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** 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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInvoicesOutput = exports.getInvoices = exports.getConsumptionsOutput = exports.getConsumptions = exports.getBudgetAlertNotificationOutput = exports.getBudgetAlertNotification = exports.getBudgetAlertOutput = exports.getBudgetAlert = exports.getBudgetOutput = exports.getBudget = exports.BudgetAlertNotification = exports.BudgetAlert = exports.Budget = void 0;
const pulumi = __importStar(require("@pulumi/pulumi"));
const utilities = __importStar(require("../utilities"));
exports.Budget = null;
utilities.lazyLoad(exports, ["Budget"], () => require("./budget"));
exports.BudgetAlert = null;
utilities.lazyLoad(exports, ["BudgetAlert"], () => require("./budgetAlert"));
exports.BudgetAlertNotification = null;
utilities.lazyLoad(exports, ["BudgetAlertNotification"], () => require("./budgetAlertNotification"));
exports.getBudget = null;
exports.getBudgetOutput = null;
utilities.lazyLoad(exports, ["getBudget", "getBudgetOutput"], () => require("./getBudget"));
exports.getBudgetAlert = null;
exports.getBudgetAlertOutput = null;
utilities.lazyLoad(exports, ["getBudgetAlert", "getBudgetAlertOutput"], () => require("./getBudgetAlert"));
exports.getBudgetAlertNotification = null;
exports.getBudgetAlertNotificationOutput = null;
utilities.lazyLoad(exports, ["getBudgetAlertNotification", "getBudgetAlertNotificationOutput"], () => require("./getBudgetAlertNotification"));
exports.getConsumptions = null;
exports.getConsumptionsOutput = null;
utilities.lazyLoad(exports, ["getConsumptions", "getConsumptionsOutput"], () => require("./getConsumptions"));
exports.getInvoices = null;
exports.getInvoicesOutput = null;
utilities.lazyLoad(exports, ["getInvoices", "getInvoicesOutput"], () => require("./getInvoices"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "scaleway:billing/budget:Budget":
return new exports.Budget(name, undefined, { urn });
case "scaleway:billing/budgetAlert:BudgetAlert":
return new exports.BudgetAlert(name, undefined, { urn });
case "scaleway:billing/budgetAlertNotification:BudgetAlertNotification":
return new exports.BudgetAlertNotification(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("scaleway", "billing/budget", _module);
pulumi.runtime.registerResourceModule("scaleway", "billing/budgetAlert", _module);
pulumi.runtime.registerResourceModule("scaleway", "billing/budgetAlertNotification", _module);
//# sourceMappingURL=index.js.map