@komminarlabs/influxdb
Version:
A Pulumi package for creating and managing InfluxDB resources.
65 lines (64 loc) • 1.58 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves a bucket. Use this data source to retrieve information for a specific bucket.
*/
export declare function getBucket(args: GetBucketArgs, opts?: pulumi.InvokeOptions): Promise<GetBucketResult>;
/**
* A collection of arguments for invoking getBucket.
*/
export interface GetBucketArgs {
/**
* A Bucket name.
*/
name: string;
}
/**
* A collection of values returned by getBucket.
*/
export interface GetBucketResult {
/**
* Bucket creation date.
*/
readonly createdAt: string;
/**
* A description of the bucket.
*/
readonly description: string;
/**
* A Bucket ID.
*/
readonly id: string;
/**
* A Bucket name.
*/
readonly name: string;
/**
* An organization ID.
*/
readonly orgId: string;
/**
* The duration in seconds for how long data will be kept in the database. `0` represents infinite retention.
*/
readonly retentionPeriod: number;
/**
* The Bucket type.
*/
readonly type: string;
/**
* Last bucket update date.
*/
readonly updatedAt: string;
}
/**
* Retrieves a bucket. Use this data source to retrieve information for a specific bucket.
*/
export declare function getBucketOutput(args: GetBucketOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBucketResult>;
/**
* A collection of arguments for invoking getBucket.
*/
export interface GetBucketOutputArgs {
/**
* A Bucket name.
*/
name: pulumi.Input<string>;
}