@spacelift-io/pulumi-spacelift
Version:
A Pulumi package for creating and managing Spacelift resources.
109 lines (108 loc) • 3.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class Blueprint extends pulumi.CustomResource {
/**
* Get an existing Blueprint resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BlueprintState, opts?: pulumi.CustomResourceOptions): Blueprint;
/**
* Returns true if the given object is an instance of Blueprint. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Blueprint;
/**
* Description of the blueprint
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Labels of the blueprint
*/
readonly labels: pulumi.Output<string[] | undefined>;
/**
* Name of the blueprint
*/
readonly name: pulumi.Output<string>;
/**
* ID of the space the blueprint is in
*/
readonly space: pulumi.Output<string>;
/**
* State of the blueprint. Value can be `DRAFT` or `PUBLISHED`.
*/
readonly state: pulumi.Output<string>;
/**
* Body of the blueprint. If `state` is set to `PUBLISHED`, this field is required.
*/
readonly template: pulumi.Output<string | undefined>;
/**
* Create a Blueprint resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: BlueprintArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Blueprint resources.
*/
export interface BlueprintState {
/**
* Description of the blueprint
*/
description?: pulumi.Input<string>;
/**
* Labels of the blueprint
*/
labels?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Name of the blueprint
*/
name?: pulumi.Input<string>;
/**
* ID of the space the blueprint is in
*/
space?: pulumi.Input<string>;
/**
* State of the blueprint. Value can be `DRAFT` or `PUBLISHED`.
*/
state?: pulumi.Input<string>;
/**
* Body of the blueprint. If `state` is set to `PUBLISHED`, this field is required.
*/
template?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Blueprint resource.
*/
export interface BlueprintArgs {
/**
* Description of the blueprint
*/
description?: pulumi.Input<string>;
/**
* Labels of the blueprint
*/
labels?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Name of the blueprint
*/
name?: pulumi.Input<string>;
/**
* ID of the space the blueprint is in
*/
space: pulumi.Input<string>;
/**
* State of the blueprint. Value can be `DRAFT` or `PUBLISHED`.
*/
state: pulumi.Input<string>;
/**
* Body of the blueprint. If `state` is set to `PUBLISHED`, this field is required.
*/
template?: pulumi.Input<string>;
}