@lbrlabs/pulumi-cockroach
Version:
A Pulumi package to create and managed cockroach db resources in Pulumi programs.
42 lines (41 loc) • 1.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* CockroachDB Cloud cluster. Can be Dedicated or Serverless.
*/
export declare function getCockroachCluster(args: GetCockroachClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetCockroachClusterResult>;
/**
* A collection of arguments for invoking getCockroachCluster.
*/
export interface GetCockroachClusterArgs {
id: string;
}
/**
* A collection of values returned by getCockroachCluster.
*/
export interface GetCockroachClusterResult {
readonly accountId: string;
readonly cloudProvider: string;
readonly cockroachVersion: string;
readonly creatorId: string;
readonly dedicated: outputs.GetCockroachClusterDedicated;
readonly id: string;
readonly name: string;
readonly operationStatus: string;
readonly parentId: string;
readonly plan: string;
readonly regions: outputs.GetCockroachClusterRegion[];
readonly serverless: outputs.GetCockroachClusterServerless;
readonly state: string;
readonly upgradeStatus: string;
}
/**
* CockroachDB Cloud cluster. Can be Dedicated or Serverless.
*/
export declare function getCockroachClusterOutput(args: GetCockroachClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCockroachClusterResult>;
/**
* A collection of arguments for invoking getCockroachCluster.
*/
export interface GetCockroachClusterOutputArgs {
id: pulumi.Input<string>;
}