UNPKG

@mapped/pulumi-astra

Version:

A Pulumi package for creating and managing astra cloud resources.

44 lines (43 loc) 1.33 kB
import * as pulumi from "@pulumi/pulumi"; /** * `astra.Keyspace` provides a datasource for a particular keyspace. See `astra.getKeyspaces` if you're looking to fetch all the keyspaces for a particular database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as astra from "@pulumi/astra"; * * const dev = pulumi.output(astra.getKeyspace({ * databaseId: "f9f4b1e0-4c05-451e-9bba-d631295a7f73", * name: "puppies", * })); * ``` */ export declare function getKeyspace(args: GetKeyspaceArgs, opts?: pulumi.InvokeOptions): Promise<GetKeyspaceResult>; /** * A collection of arguments for invoking getKeyspace. */ export interface GetKeyspaceArgs { databaseId: string; name: string; } /** * A collection of values returned by getKeyspace. */ export interface GetKeyspaceResult { readonly databaseId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; } export declare function getKeyspaceOutput(args: GetKeyspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKeyspaceResult>; /** * A collection of arguments for invoking getKeyspace. */ export interface GetKeyspaceOutputArgs { databaseId: pulumi.Input<string>; name: pulumi.Input<string>; }