1. Packages
  2. Packages
  3. Scaleway
  4. API Docs
  5. observability
  6. Cockpit
Viewing docs for Scaleway v1.48.0
published on Wednesday, Apr 29, 2026 by pulumiverse
scaleway logo
Viewing docs for Scaleway v1.48.0
published on Wednesday, Apr 29, 2026 by pulumiverse

    Important: The resource scaleway.observability.Cockpit has been deprecated and will no longer be supported after January 1st, 2025. Instead, use the new specialized resources:

    • scaleway.observability.Source for managing data sources (metrics, logs, traces)
    • scaleway.observability.AlertManager for managing alert manager
    • scaleway.observability.getGrafana data source for accessing Grafana (authentication via IAM)

    For detailed migration instructions, see the Cockpit Migration Guide.

    Note: As of September 2024, Cockpit has introduced regionalization to offer more flexibility and resilience. If you have created customized dashboards with data for your Scaleway resources before April 2024, you will need to update your queries in Grafana, with the new regionalized data sources.

    Note: From January 1st 2025, Cockpit plans have been deprecated. You can now edit the retention period for all your datasources (metrics, logs, and traces) separately. Refer to our product documentation for more information on possible retention values and pricing.

    Note: The scaleway.observability.GrafanaUser resource is deprecated. Use the scaleway.observability.getGrafana data source to retrieve the Grafana URL and authenticate using your Scaleway IAM credentials.

    The scaleway.observability.Cockpit resource allows you to create and manage Scaleway Cockpit instances.

    Refer to Cockpit’s product documentation and API documentation for more information.

    Example Usage

    Manage Cockpit in the Scaleway default Project

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Activate Cockpit in the default Project
    const main = new scaleway.observability.Cockpit("main", {});
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    # Activate Cockpit in the default Project
    main = scaleway.observability.Cockpit("main")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/observability"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Activate Cockpit in the default Project
    		_, err := observability.NewCockpit(ctx, "main", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Activate Cockpit in the default Project
        var main = new Scaleway.Observability.Cockpit("main");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.observability.Cockpit;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Activate Cockpit in the default Project
            var main = new Cockpit("main");
    
        }
    }
    
    resources:
      # Activate Cockpit in the default Project
      main:
        type: scaleway:observability:Cockpit
    

    Manage Cockpit in a specific Project

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Activate Cockpit in a specific Project
    const main = new scaleway.observability.Cockpit("main", {projectId: "11111111-1111-1111-1111-111111111111"});
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    # Activate Cockpit in a specific Project
    main = scaleway.observability.Cockpit("main", project_id="11111111-1111-1111-1111-111111111111")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/observability"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Activate Cockpit in a specific Project
    		_, err := observability.NewCockpit(ctx, "main", &observability.CockpitArgs{
    			ProjectId: pulumi.String("11111111-1111-1111-1111-111111111111"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Activate Cockpit in a specific Project
        var main = new Scaleway.Observability.Cockpit("main", new()
        {
            ProjectId = "11111111-1111-1111-1111-111111111111",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.observability.Cockpit;
    import com.pulumi.scaleway.observability.CockpitArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Activate Cockpit in a specific Project
            var main = new Cockpit("main", CockpitArgs.builder()
                .projectId("11111111-1111-1111-1111-111111111111")
                .build());
    
        }
    }
    
    resources:
      # Activate Cockpit in a specific Project
      main:
        type: scaleway:observability:Cockpit
        properties:
          projectId: 11111111-1111-1111-1111-111111111111
    

    Choose a specific pricing plan for Cockpit

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const main = new scaleway.observability.Cockpit("main", {
        projectId: "11111111-1111-1111-1111-111111111111",
        plan: "premium",
    });
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    main = scaleway.observability.Cockpit("main",
        project_id="11111111-1111-1111-1111-111111111111",
        plan="premium")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/observability"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := observability.NewCockpit(ctx, "main", &observability.CockpitArgs{
    			ProjectId: pulumi.String("11111111-1111-1111-1111-111111111111"),
    			Plan:      pulumi.String("premium"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var main = new Scaleway.Observability.Cockpit("main", new()
        {
            ProjectId = "11111111-1111-1111-1111-111111111111",
            Plan = "premium",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.observability.Cockpit;
    import com.pulumi.scaleway.observability.CockpitArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var main = new Cockpit("main", CockpitArgs.builder()
                .projectId("11111111-1111-1111-1111-111111111111")
                .plan("premium")
                .build());
    
        }
    }
    
    resources:
      main:
        type: scaleway:observability:Cockpit
        properties:
          projectId: 11111111-1111-1111-1111-111111111111
          plan: premium
    

    Use the Grafana Terraform provider (Deprecated)

    Note: This example is deprecated. Use the scaleway.observability.getGrafana data source with IAM authentication instead.

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Old approach (deprecated) - Using scaleway_cockpit_grafana_user
    // resource "scaleway_cockpit_grafana_user" "main" {
    //   project_id = scaleway_cockpit.main.project_id
    //   login      = "example"
    //   role       = "editor"
    // }
    //
    // provider "grafana" {
    //   url  = scaleway_cockpit.main.endpoints.0.grafana_url
    //   auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
    // }
    // New approach - Use scaleway_cockpit_grafana data source with IAM auth
    const main = scaleway.observability.getGrafana({
        projectId: mainScalewayCockpit.projectId,
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    # Old approach (deprecated) - Using scaleway_cockpit_grafana_user
    # resource "scaleway_cockpit_grafana_user" "main" {
    #   project_id = scaleway_cockpit.main.project_id
    #   login      = "example"
    #   role       = "editor"
    # }
    #
    # provider "grafana" {
    #   url  = scaleway_cockpit.main.endpoints.0.grafana_url
    #   auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
    # }
    # New approach - Use scaleway_cockpit_grafana data source with IAM auth
    main = scaleway.observability.get_grafana(project_id=main_scaleway_cockpit["projectId"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/observability"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Old approach (deprecated) - Using scaleway_cockpit_grafana_user
    		//
    		//	resource "scaleway_cockpit_grafana_user" "main" {
    		//	  project_id = scaleway_cockpit.main.project_id
    		//	  login      = "example"
    		//	  role       = "editor"
    		//	}
    		//
    		//	provider "grafana" {
    		//	  url  = scaleway_cockpit.main.endpoints.0.grafana_url
    		//	  auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
    		//	}
    		//
    		// New approach - Use scaleway_cockpit_grafana data source with IAM auth
    		_, err := observability.GetGrafana(ctx, &observability.GetGrafanaArgs{
    			ProjectId: pulumi.StringRef(mainScalewayCockpit.ProjectId),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Old approach (deprecated) - Using scaleway_cockpit_grafana_user
        // resource "scaleway_cockpit_grafana_user" "main" {
        //   project_id = scaleway_cockpit.main.project_id
        //   login      = "example"
        //   role       = "editor"
        // }
        //
        // provider "grafana" {
        //   url  = scaleway_cockpit.main.endpoints.0.grafana_url
        //   auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
        // }
        // New approach - Use scaleway_cockpit_grafana data source with IAM auth
        var main = Scaleway.Observability.GetGrafana.Invoke(new()
        {
            ProjectId = mainScalewayCockpit.ProjectId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.observability.ObservabilityFunctions;
    import com.pulumi.scaleway.observability.inputs.GetGrafanaArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Old approach (deprecated) - Using scaleway_cockpit_grafana_user
            // resource "scaleway_cockpit_grafana_user" "main" {
            //   project_id = scaleway_cockpit.main.project_id
            //   login      = "example"
            //   role       = "editor"
            // }
            //
            // provider "grafana" {
            //   url  = scaleway_cockpit.main.endpoints.0.grafana_url
            //   auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
            // }
            // New approach - Use scaleway_cockpit_grafana data source with IAM auth
            final var main = ObservabilityFunctions.getGrafana(GetGrafanaArgs.builder()
                .projectId(mainScalewayCockpit.projectId())
                .build());
    
        }
    }
    
    variables:
      # Old approach (deprecated) - Using scaleway_cockpit_grafana_user
      # // resource "scaleway_cockpit_grafana_user" "main" {
      # //   project_id = scaleway_cockpit.main.project_id
      # //   login      = "example"
      # //   role       = "editor"
      # // }
      # //
      # // provider "grafana" {
      # //   url  = scaleway_cockpit.main.endpoints.0.grafana_url
      # //   auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
      # // }
    
      # // New approach - Use scaleway_cockpit_grafana data source with IAM auth
      main:
        fn::invoke:
          function: scaleway:observability:getGrafana
          arguments:
            projectId: ${mainScalewayCockpit.projectId}
    

    Migration

    This resource is deprecated and will be removed after January 1st, 2025. To migrate to the new infrastructure, please refer to the Cockpit Migration Guide which provides step-by-step instructions for transitioning to:

    • scaleway.observability.Source for managing data sources (metrics, logs, traces)
    • scaleway.observability.AlertManager for managing alert manager
    • scaleway.observability.getGrafana data source for accessing Grafana (with IAM authentication)

    Create Cockpit Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Cockpit(name: string, args?: CockpitArgs, opts?: CustomResourceOptions);
    @overload
    def Cockpit(resource_name: str,
                args: Optional[CockpitArgs] = None,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Cockpit(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                plan: Optional[str] = None,
                project_id: Optional[str] = None)
    func NewCockpit(ctx *Context, name string, args *CockpitArgs, opts ...ResourceOption) (*Cockpit, error)
    public Cockpit(string name, CockpitArgs? args = null, CustomResourceOptions? opts = null)
    public Cockpit(String name, CockpitArgs args)
    public Cockpit(String name, CockpitArgs args, CustomResourceOptions options)
    
    type: scaleway:observability:Cockpit
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CockpitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CockpitArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CockpitArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CockpitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CockpitArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cockpitResource = new Scaleway.Observability.Cockpit("cockpitResource", new()
    {
        ProjectId = "string",
    });
    
    example, err := observability.NewCockpit(ctx, "cockpitResource", &observability.CockpitArgs{
    	ProjectId: pulumi.String("string"),
    })
    
    var cockpitResource = new Cockpit("cockpitResource", CockpitArgs.builder()
        .projectId("string")
        .build());
    
    cockpit_resource = scaleway.observability.Cockpit("cockpitResource", project_id="string")
    
    const cockpitResource = new scaleway.observability.Cockpit("cockpitResource", {projectId: "string"});
    
    type: scaleway:observability:Cockpit
    properties:
        projectId: string
    

    Cockpit Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Cockpit resource accepts the following input properties:

    Plan string

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    ProjectId string
    ) The ID of the Project the Cockpit is associated with.
    Plan string

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    ProjectId string
    ) The ID of the Project the Cockpit is associated with.
    plan String

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    projectId String
    ) The ID of the Project the Cockpit is associated with.
    plan string

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    projectId string
    ) The ID of the Project the Cockpit is associated with.
    plan str

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    project_id str
    ) The ID of the Project the Cockpit is associated with.
    plan String

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    projectId String
    ) The ID of the Project the Cockpit is associated with.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Cockpit resource produces the following output properties:

    Endpoints List<Pulumiverse.Scaleway.Observability.Outputs.CockpitEndpoint>
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    Id string
    The provider-assigned unique ID for this managed resource.
    PlanId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    PushUrls List<Pulumiverse.Scaleway.Observability.Outputs.CockpitPushUrl>
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    Endpoints []CockpitEndpoint
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    Id string
    The provider-assigned unique ID for this managed resource.
    PlanId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    PushUrls []CockpitPushUrl
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    endpoints List<CockpitEndpoint>
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    id String
    The provider-assigned unique ID for this managed resource.
    planId String
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    pushUrls List<CockpitPushUrl>
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    endpoints CockpitEndpoint[]
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    id string
    The provider-assigned unique ID for this managed resource.
    planId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    pushUrls CockpitPushUrl[]
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    endpoints Sequence[CockpitEndpoint]
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    id str
    The provider-assigned unique ID for this managed resource.
    plan_id str
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    push_urls Sequence[CockpitPushUrl]
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    endpoints List<Property Map>
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    id String
    The provider-assigned unique ID for this managed resource.
    planId String
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    pushUrls List<Property Map>
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    Look up Existing Cockpit Resource

    Get an existing Cockpit resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CockpitState, opts?: CustomResourceOptions): Cockpit
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            endpoints: Optional[Sequence[CockpitEndpointArgs]] = None,
            plan: Optional[str] = None,
            plan_id: Optional[str] = None,
            project_id: Optional[str] = None,
            push_urls: Optional[Sequence[CockpitPushUrlArgs]] = None) -> Cockpit
    func GetCockpit(ctx *Context, name string, id IDInput, state *CockpitState, opts ...ResourceOption) (*Cockpit, error)
    public static Cockpit Get(string name, Input<string> id, CockpitState? state, CustomResourceOptions? opts = null)
    public static Cockpit get(String name, Output<String> id, CockpitState state, CustomResourceOptions options)
    resources:  _:    type: scaleway:observability:Cockpit    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Endpoints List<Pulumiverse.Scaleway.Observability.Inputs.CockpitEndpoint>
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    Plan string

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    PlanId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    ProjectId string
    ) The ID of the Project the Cockpit is associated with.
    PushUrls List<Pulumiverse.Scaleway.Observability.Inputs.CockpitPushUrl>
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    Endpoints []CockpitEndpointArgs
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    Plan string

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    PlanId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    ProjectId string
    ) The ID of the Project the Cockpit is associated with.
    PushUrls []CockpitPushUrlArgs
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    endpoints List<CockpitEndpoint>
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    plan String

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    planId String
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    projectId String
    ) The ID of the Project the Cockpit is associated with.
    pushUrls List<CockpitPushUrl>
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    endpoints CockpitEndpoint[]
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    plan string

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    planId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    projectId string
    ) The ID of the Project the Cockpit is associated with.
    pushUrls CockpitPushUrl[]
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    endpoints Sequence[CockpitEndpointArgs]
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    plan str

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    plan_id str
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    project_id str
    ) The ID of the Project the Cockpit is associated with.
    push_urls Sequence[CockpitPushUrlArgs]
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    endpoints List<Property Map>
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Use 'scaleway_cockpit_source' instead of 'endpoints'. This field will be removed in future releases.

    plan String

    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.

    Warning: This entire resource is deprecated and will be removed after January 1st, 2025. Please migrate to the new specialized resources as described in the Cockpit Migration Guide.

    Deprecated: The 'plan' attribute is deprecated and no longer has any effect. Future updates will remove this attribute entirely.

    planId String
    (Deprecated) The ID of the current pricing plan.

    Deprecated: The 'plan_id' attribute is deprecated and will be removed in a future release.

    projectId String
    ) The ID of the Project the Cockpit is associated with.
    pushUrls List<Property Map>
    [DEPRECATED] Push_url

    Deprecated: Please use scaleway.observability.Source instead

    Supporting Types

    CockpitEndpoint, CockpitEndpointArgs

    AlertmanagerUrl string
    (Deprecated) URL for the Alert manager.
    GrafanaUrl string
    (Deprecated) URL for Grafana.
    LogsUrl string
    (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
    MetricsUrl string
    (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
    TracesUrl string
    (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.
    AlertmanagerUrl string
    (Deprecated) URL for the Alert manager.
    GrafanaUrl string
    (Deprecated) URL for Grafana.
    LogsUrl string
    (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
    MetricsUrl string
    (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
    TracesUrl string
    (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.
    alertmanagerUrl String
    (Deprecated) URL for the Alert manager.
    grafanaUrl String
    (Deprecated) URL for Grafana.
    logsUrl String
    (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
    metricsUrl String
    (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
    tracesUrl String
    (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.
    alertmanagerUrl string
    (Deprecated) URL for the Alert manager.
    grafanaUrl string
    (Deprecated) URL for Grafana.
    logsUrl string
    (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
    metricsUrl string
    (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
    tracesUrl string
    (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.
    alertmanager_url str
    (Deprecated) URL for the Alert manager.
    grafana_url str
    (Deprecated) URL for Grafana.
    logs_url str
    (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
    metrics_url str
    (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
    traces_url str
    (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.
    alertmanagerUrl String
    (Deprecated) URL for the Alert manager.
    grafanaUrl String
    (Deprecated) URL for Grafana.
    logsUrl String
    (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
    metricsUrl String
    (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
    tracesUrl String
    (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.

    CockpitPushUrl, CockpitPushUrlArgs

    PushLogsUrl string
    Push URL for logs (Grafana Loki)
    PushMetricsUrl string
    Push URL for metrics (Grafana Mimir)
    PushLogsUrl string
    Push URL for logs (Grafana Loki)
    PushMetricsUrl string
    Push URL for metrics (Grafana Mimir)
    pushLogsUrl String
    Push URL for logs (Grafana Loki)
    pushMetricsUrl String
    Push URL for metrics (Grafana Mimir)
    pushLogsUrl string
    Push URL for logs (Grafana Loki)
    pushMetricsUrl string
    Push URL for metrics (Grafana Mimir)
    push_logs_url str
    Push URL for logs (Grafana Loki)
    push_metrics_url str
    Push URL for metrics (Grafana Mimir)
    pushLogsUrl String
    Push URL for logs (Grafana Loki)
    pushMetricsUrl String
    Push URL for metrics (Grafana Mimir)

    Import

    This section explains how to import a Cockpit using its {project_id}.

    $ pulumi import scaleway:observability/cockpit:Cockpit main 11111111-1111-1111-1111-111111111111
    

    Note: Import functionality will be removed when this resource is deprecated.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Viewing docs for Scaleway v1.48.0
    published on Wednesday, Apr 29, 2026 by pulumiverse
      Try Pulumi Cloud free. Your team will thank you.