@pulumi/confluent
Version:
A Pulumi package for creating and managing confluent cloud resources.
24 lines • 931 B
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! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getEnvironmentOutput = exports.getEnvironment = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
function getEnvironment(args, opts) {
if (!opts) {
opts = {};
}
if (!opts.version) {
opts.version = utilities.getVersion();
}
return pulumi.runtime.invoke("confluent:index/getEnvironment:getEnvironment", {
"name": args.name,
}, opts);
}
exports.getEnvironment = getEnvironment;
function getEnvironmentOutput(args, opts) {
return pulumi.output(args).apply(a => getEnvironment(a, opts));
}
exports.getEnvironmentOutput = getEnvironmentOutput;
//# sourceMappingURL=getEnvironment.js.map
;