UNPKG

@spacelift-io/pulumi-spacelift

Version:

A Pulumi package for creating and managing Spacelift resources.

41 lines (40 loc) 1.19 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * `spacelift.getSpaces` can find all spaces in the spacelift organization. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as spacelift from "@pulumi/spacelift"; * * const this = spacelift.getSpaces({}); * export const spaces = _this.then(_this => _this.spaces); * ``` */ export declare function getSpaces(opts?: pulumi.InvokeOptions): Promise<GetSpacesResult>; /** * A collection of values returned by getSpaces. */ export interface GetSpacesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly spaces: outputs.GetSpacesSpace[]; } /** * `spacelift.getSpaces` can find all spaces in the spacelift organization. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as spacelift from "@pulumi/spacelift"; * * const this = spacelift.getSpaces({}); * export const spaces = _this.then(_this => _this.spaces); * ``` */ export declare function getSpacesOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetSpacesResult>;