import * as pulumi from "@pulumi/pulumi"; /** * The `scaleway.getCockpitPlan` data source is used to fetch details about a specific Scaleway Cockpit pricing plan. This information can then be used to configure resources like `scaleway.Cockpit`. * * Find out more about [pricing plans](https://console.scaleway.com/cockpit/plans) in the Scaleway console. * * Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information. * * ## Fetch and associate a pricing plan to a Cockpit * * The following command shows how to fetch information about the `premium` pricing plan and how to associate it with the Cockpit of your Scaleway default Project. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@ediri/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; /** * A collection of arguments for invoking getCockpitPlan. */ export interface GetCockpitPlanArgs { /** * Name of the pricing plan you want to retrieve information about. */ 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; } /** * The `scaleway.getCockpitPlan` data source is used to fetch details about a specific Scaleway Cockpit pricing plan. This information can then be used to configure resources like `scaleway.Cockpit`. * * Find out more about [pricing plans](https://console.scaleway.com/cockpit/plans) in the Scaleway console. * * Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information. * * ## Fetch and associate a pricing plan to a Cockpit * * The following command shows how to fetch information about the `premium` pricing plan and how to associate it with the Cockpit of your Scaleway default Project. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@ediri/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.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCockpitPlan. */ export interface GetCockpitPlanOutputArgs { /** * Name of the pricing plan you want to retrieve information about. */ name: pulumi.Input; }