UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

122 lines (121 loc) 5.16 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Import * * This section explains how to import a Cockpit using its `{project_id}`. * * bash * * ```sh * $ pulumi import scaleway:index/cockpit:Cockpit main 11111111-1111-1111-1111-111111111111 * ``` * * @deprecated scaleway.index/cockpit.Cockpit has been deprecated in favor of scaleway.observability/cockpit.Cockpit */ 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; /** * (Deprecated) A list of [endpoints](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#endpoints) related to Cockpit, each with specific URLs: * * @deprecated Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases. */ readonly endpoints: pulumi.Output<outputs.CockpitEndpoint[]>; /** * Name of the plan to use. Available plans are: free, premium, and custom. * > **Important:** The plan field is deprecated. Any modification or selection will have no effect. * * @deprecated The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely. */ readonly plan: pulumi.Output<string | undefined>; /** * (Deprecated) The ID of the current pricing plan. * * @deprecated The 'plan_id' attribute is deprecated and will be removed in a future release. */ readonly planId: pulumi.Output<string>; /** * ) The ID of the Project the Cockpit is associated with. */ readonly projectId: pulumi.Output<string>; /** * [DEPRECATED] Push_url * * @deprecated Please use `scaleway.observability.Source` instead */ readonly pushUrls: pulumi.Output<outputs.CockpitPushUrl[]>; /** * 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. */ /** @deprecated scaleway.index/cockpit.Cockpit has been deprecated in favor of scaleway.observability/cockpit.Cockpit */ constructor(name: string, args?: CockpitArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Cockpit resources. */ export interface CockpitState { /** * (Deprecated) A list of [endpoints](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#endpoints) related to Cockpit, each with specific URLs: * * @deprecated Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases. */ endpoints?: pulumi.Input<pulumi.Input<inputs.CockpitEndpoint>[]>; /** * Name of the plan to use. Available plans are: free, premium, and custom. * > **Important:** The plan field is deprecated. Any modification or selection will have no effect. * * @deprecated The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely. */ plan?: pulumi.Input<string>; /** * (Deprecated) The ID of the current pricing plan. * * @deprecated The 'plan_id' attribute is deprecated and will be removed in a future release. */ planId?: pulumi.Input<string>; /** * ) The ID of the Project the Cockpit is associated with. */ projectId?: pulumi.Input<string>; /** * [DEPRECATED] Push_url * * @deprecated Please use `scaleway.observability.Source` instead */ pushUrls?: pulumi.Input<pulumi.Input<inputs.CockpitPushUrl>[]>; } /** * The set of arguments for constructing a Cockpit resource. */ export interface CockpitArgs { /** * Name of the plan to use. Available plans are: free, premium, and custom. * > **Important:** The plan field is deprecated. Any modification or selection will have no effect. * * @deprecated The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely. */ plan?: pulumi.Input<string>; /** * ) The ID of the Project the Cockpit is associated with. */ projectId?: pulumi.Input<string>; }