pulumi-logtail
Version:
A Pulumi provider for managing Logtail log management and analytics resources, dynamically bridged from the Terraform Logtail provider with support for sources, metrics, and log aggregation.
124 lines • 7.8 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 __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 });
exports.types = exports.config = exports.WarehouseTimeSeries = exports.WarehouseSourceGroup = exports.WarehouseSource = exports.WarehouseEmbedding = exports.SourceGroup = exports.Source = exports.Metric = exports.getWarehouseSourceGroupOutput = exports.getWarehouseSourceGroup = exports.getWarehouseSourceOutput = exports.getWarehouseSource = exports.getWarehouseEmbeddingOutput = exports.getWarehouseEmbedding = exports.getSourceGroupOutput = exports.getSourceGroup = exports.getSourceOutput = exports.getSource = exports.getMetricOutput = exports.getMetric = exports.getErrorsApplicationGroupOutput = exports.getErrorsApplicationGroup = exports.getErrorsApplicationOutput = exports.getErrorsApplication = exports.getConnectionOutput = exports.getConnection = exports.ErrorsApplicationGroup = exports.ErrorsApplication = exports.Connection = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
exports.Connection = null;
utilities.lazyLoad(exports, ["Connection"], () => require("./connection"));
exports.ErrorsApplication = null;
utilities.lazyLoad(exports, ["ErrorsApplication"], () => require("./errorsApplication"));
exports.ErrorsApplicationGroup = null;
utilities.lazyLoad(exports, ["ErrorsApplicationGroup"], () => require("./errorsApplicationGroup"));
exports.getConnection = null;
exports.getConnectionOutput = null;
utilities.lazyLoad(exports, ["getConnection", "getConnectionOutput"], () => require("./getConnection"));
exports.getErrorsApplication = null;
exports.getErrorsApplicationOutput = null;
utilities.lazyLoad(exports, ["getErrorsApplication", "getErrorsApplicationOutput"], () => require("./getErrorsApplication"));
exports.getErrorsApplicationGroup = null;
exports.getErrorsApplicationGroupOutput = null;
utilities.lazyLoad(exports, ["getErrorsApplicationGroup", "getErrorsApplicationGroupOutput"], () => require("./getErrorsApplicationGroup"));
exports.getMetric = null;
exports.getMetricOutput = null;
utilities.lazyLoad(exports, ["getMetric", "getMetricOutput"], () => require("./getMetric"));
exports.getSource = null;
exports.getSourceOutput = null;
utilities.lazyLoad(exports, ["getSource", "getSourceOutput"], () => require("./getSource"));
exports.getSourceGroup = null;
exports.getSourceGroupOutput = null;
utilities.lazyLoad(exports, ["getSourceGroup", "getSourceGroupOutput"], () => require("./getSourceGroup"));
exports.getWarehouseEmbedding = null;
exports.getWarehouseEmbeddingOutput = null;
utilities.lazyLoad(exports, ["getWarehouseEmbedding", "getWarehouseEmbeddingOutput"], () => require("./getWarehouseEmbedding"));
exports.getWarehouseSource = null;
exports.getWarehouseSourceOutput = null;
utilities.lazyLoad(exports, ["getWarehouseSource", "getWarehouseSourceOutput"], () => require("./getWarehouseSource"));
exports.getWarehouseSourceGroup = null;
exports.getWarehouseSourceGroupOutput = null;
utilities.lazyLoad(exports, ["getWarehouseSourceGroup", "getWarehouseSourceGroupOutput"], () => require("./getWarehouseSourceGroup"));
exports.Metric = null;
utilities.lazyLoad(exports, ["Metric"], () => require("./metric"));
__exportStar(require("./provider"), exports);
const provider_1 = require("./provider");
exports.Source = null;
utilities.lazyLoad(exports, ["Source"], () => require("./source"));
exports.SourceGroup = null;
utilities.lazyLoad(exports, ["SourceGroup"], () => require("./sourceGroup"));
exports.WarehouseEmbedding = null;
utilities.lazyLoad(exports, ["WarehouseEmbedding"], () => require("./warehouseEmbedding"));
exports.WarehouseSource = null;
utilities.lazyLoad(exports, ["WarehouseSource"], () => require("./warehouseSource"));
exports.WarehouseSourceGroup = null;
utilities.lazyLoad(exports, ["WarehouseSourceGroup"], () => require("./warehouseSourceGroup"));
exports.WarehouseTimeSeries = null;
utilities.lazyLoad(exports, ["WarehouseTimeSeries"], () => require("./warehouseTimeSeries"));
// Export sub-modules:
const config = require("./config");
exports.config = config;
const types = require("./types");
exports.types = types;
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "logtail:index/connection:Connection":
return new exports.Connection(name, undefined, { urn });
case "logtail:index/errorsApplication:ErrorsApplication":
return new exports.ErrorsApplication(name, undefined, { urn });
case "logtail:index/errorsApplicationGroup:ErrorsApplicationGroup":
return new exports.ErrorsApplicationGroup(name, undefined, { urn });
case "logtail:index/metric:Metric":
return new exports.Metric(name, undefined, { urn });
case "logtail:index/source:Source":
return new exports.Source(name, undefined, { urn });
case "logtail:index/sourceGroup:SourceGroup":
return new exports.SourceGroup(name, undefined, { urn });
case "logtail:index/warehouseEmbedding:WarehouseEmbedding":
return new exports.WarehouseEmbedding(name, undefined, { urn });
case "logtail:index/warehouseSource:WarehouseSource":
return new exports.WarehouseSource(name, undefined, { urn });
case "logtail:index/warehouseSourceGroup:WarehouseSourceGroup":
return new exports.WarehouseSourceGroup(name, undefined, { urn });
case "logtail:index/warehouseTimeSeries:WarehouseTimeSeries":
return new exports.WarehouseTimeSeries(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("logtail", "index/connection", _module);
pulumi.runtime.registerResourceModule("logtail", "index/errorsApplication", _module);
pulumi.runtime.registerResourceModule("logtail", "index/errorsApplicationGroup", _module);
pulumi.runtime.registerResourceModule("logtail", "index/metric", _module);
pulumi.runtime.registerResourceModule("logtail", "index/source", _module);
pulumi.runtime.registerResourceModule("logtail", "index/sourceGroup", _module);
pulumi.runtime.registerResourceModule("logtail", "index/warehouseEmbedding", _module);
pulumi.runtime.registerResourceModule("logtail", "index/warehouseSource", _module);
pulumi.runtime.registerResourceModule("logtail", "index/warehouseSourceGroup", _module);
pulumi.runtime.registerResourceModule("logtail", "index/warehouseTimeSeries", _module);
pulumi.runtime.registerResourcePackage("logtail", {
version: utilities.getVersion(),
constructProvider: (name, type, urn) => {
if (type !== "pulumi:providers:logtail") {
throw new Error(`unknown provider type ${type}`);
}
return new provider_1.Provider(name, undefined, { urn });
},
});
//# sourceMappingURL=index.js.map