@komminarlabs/influxdb
Version:
A Pulumi package for creating and managing InfluxDB resources.
24 lines • 1.13 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! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBucketsOutput = exports.getBuckets = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Lists buckets. InfluxDB retrieves buckets owned by the organization associated with the authorization (API token).
*/
function getBuckets(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("influxdb:index/getBuckets:getBuckets", {}, opts);
}
exports.getBuckets = getBuckets;
/**
* Lists buckets. InfluxDB retrieves buckets owned by the organization associated with the authorization (API token).
*/
function getBucketsOutput(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("influxdb:index/getBuckets:getBuckets", {}, opts);
}
exports.getBucketsOutput = getBucketsOutput;
//# sourceMappingURL=getBuckets.js.map