UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

88 lines (87 loc) 2.88 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Import * * Cockpits can be imported using the `{project_id}`, e.g. bash * * ```sh * $ pulumi import scaleway:index/cockpit:Cockpit main 11111111-1111-1111-1111-111111111111 * ``` */ export declare class Cockpit extends pulumi.CustomResource { /** * Get an existing Cockpit 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?: CockpitState, opts?: pulumi.CustomResourceOptions): Cockpit; /** * Returns true if the given object is an instance of Cockpit. 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 Cockpit; /** * Endpoints */ readonly endpoints: pulumi.Output<outputs.CockpitEndpoint[]>; /** * Name or ID of the plan to use. */ readonly plan: pulumi.Output<string | undefined>; /** * The ID of the current plan */ readonly planId: pulumi.Output<string>; /** * `projectId`) The ID of the project the cockpit is associated with. */ readonly projectId: pulumi.Output<string>; /** * Create a Cockpit 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?: CockpitArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Cockpit resources. */ export interface CockpitState { /** * Endpoints */ endpoints?: pulumi.Input<pulumi.Input<inputs.CockpitEndpoint>[]>; /** * Name or ID of the plan to use. */ plan?: pulumi.Input<string>; /** * The ID of the current plan */ planId?: pulumi.Input<string>; /** * `projectId`) The ID of the project the cockpit is associated with. */ projectId?: pulumi.Input<string>; } /** * The set of arguments for constructing a Cockpit resource. */ export interface CockpitArgs { /** * Name or ID of the plan to use. */ plan?: pulumi.Input<string>; /** * `projectId`) The ID of the project the cockpit is associated with. */ projectId?: pulumi.Input<string>; }