UNPKG

@komminarlabs/influxdb

Version:

A Pulumi package for creating and managing InfluxDB resources.

28 lines 1.14 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getBucketOutput = exports.getBucket = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Retrieves a bucket. Use this data source to retrieve information for a specific bucket. */ function getBucket(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("influxdb:index/getBucket:getBucket", { "name": args.name, }, opts); } exports.getBucket = getBucket; /** * Retrieves a bucket. Use this data source to retrieve information for a specific bucket. */ function getBucketOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("influxdb:index/getBucket:getBucket", { "name": args.name, }, opts); } exports.getBucketOutput = getBucketOutput; //# sourceMappingURL=getBucket.js.map