UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

64 lines (63 loc) 1.77 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about a Scaleway Cockpit plan. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@lbrlabs/pulumi-scaleway"; * import * as scaleway from "@pulumi/scaleway"; * * const premium = scaleway.getCockpitPlan({ * name: "premium", * }); * const main = new scaleway.Cockpit("main", {plan: premium.then(premium => premium.id)}); * ``` */ export declare function getCockpitPlan(args: GetCockpitPlanArgs, opts?: pulumi.InvokeOptions): Promise<GetCockpitPlanResult>; /** * A collection of arguments for invoking getCockpitPlan. */ export interface GetCockpitPlanArgs { /** * The name of the plan. */ name: string; } /** * A collection of values returned by getCockpitPlan. */ export interface GetCockpitPlanResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; } /** * Gets information about a Scaleway Cockpit plan. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@lbrlabs/pulumi-scaleway"; * import * as scaleway from "@pulumi/scaleway"; * * const premium = scaleway.getCockpitPlan({ * name: "premium", * }); * const main = new scaleway.Cockpit("main", {plan: premium.then(premium => premium.id)}); * ``` */ export declare function getCockpitPlanOutput(args: GetCockpitPlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCockpitPlanResult>; /** * A collection of arguments for invoking getCockpitPlan. */ export interface GetCockpitPlanOutputArgs { /** * The name of the plan. */ name: pulumi.Input<string>; }