1. Packages
  2. Scaleway
  3. API Docs
  4. Cockpit
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.Cockpit

Explore with Pulumi AI

Deprecated: scaleway.index/cockpit.Cockpit has been deprecated in favor of scaleway.observability/cockpit.Cockpit

Import

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

bash

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

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:Cockpit
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The unique name of the resource.
args This property is required. CockpitArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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.

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

ProjectId Changes to this property will trigger replacement. 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.

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

ProjectId Changes to this property will trigger replacement. 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.

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

projectId Changes to this property will trigger replacement. 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.

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

projectId Changes to this property will trigger replacement. 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.

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

project_id Changes to this property will trigger replacement. 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.

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

projectId Changes to this property will trigger replacement. 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.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.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:Cockpit    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.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.

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 Changes to this property will trigger replacement. string
) The ID of the Project the Cockpit is associated with.
PushUrls List<Pulumiverse.Scaleway.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.

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 Changes to this property will trigger replacement. 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.

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 Changes to this property will trigger replacement. 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.

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 Changes to this property will trigger replacement. 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.

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 Changes to this property will trigger replacement. 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.

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 Changes to this property will trigger replacement. 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)

Package Details

Repository
scaleway pulumiverse/pulumi-scaleway
License
Apache-2.0
Notes
This Pulumi package is based on the scaleway Terraform Provider.