@pulumiverse/cockroach
Version:
A Pulumi package to create and managed Cockroach DB resources in Pulumi programs.
49 lines (48 loc) • 1.26 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Information about the organization associated with the user's API key.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as cockroach from "@pulumi/cockroach";
*
* const prod = cockroach.getOrganization({});
* ```
*/
export declare function getOrganization(opts?: pulumi.InvokeOptions): Promise<GetOrganizationResult>;
/**
* A collection of values returned by getOrganization.
*/
export interface GetOrganizationResult {
/**
* Indicates when the organization was created.
*/
readonly createdAt: string;
/**
* Organization ID.
*/
readonly id: string;
/**
* A short ID used by CockroachDB Support.
*/
readonly label: string;
/**
* Name of the organization.
*/
readonly name: string;
}
/**
* Information about the organization associated with the user's API key.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as cockroach from "@pulumi/cockroach";
*
* const prod = cockroach.getOrganization({});
* ```
*/
export declare function getOrganizationOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationResult>;