scaleway logo
Scaleway v1.8.0, Apr 11 23

scaleway.Cockpit

Explore with Pulumi AI

Import

Cockpits can be imported using the {project_id}, e.g. bash

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

Create Cockpit Resource

new Cockpit(name: string, args?: CockpitArgs, opts?: CustomResourceOptions);
@overload
def Cockpit(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            project_id: Optional[str] = None)
@overload
def Cockpit(resource_name: str,
            args: Optional[CockpitArgs] = None,
            opts: Optional[ResourceOptions] = 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.

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.

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

The Cockpit resource accepts the following input properties:

ProjectId string

project_id) The ID of the project the cockpit is associated with.

ProjectId string

project_id) The ID of the project the cockpit is associated with.

projectId String

project_id) The ID of the project the cockpit is associated with.

projectId string

project_id) The ID of the project the cockpit is associated with.

project_id str

project_id) The ID of the project the cockpit is associated with.

projectId String

project_id) 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<Lbrlabs.PulumiPackage.Scaleway.Outputs.CockpitEndpoint>

Endpoints

Id string

The provider-assigned unique ID for this managed resource.

Endpoints []CockpitEndpoint

Endpoints

Id string

The provider-assigned unique ID for this managed resource.

endpoints List<CockpitEndpoint>

Endpoints

id String

The provider-assigned unique ID for this managed resource.

endpoints CockpitEndpoint[]

Endpoints

id string

The provider-assigned unique ID for this managed resource.

endpoints Sequence[CockpitEndpoint]

Endpoints

id str

The provider-assigned unique ID for this managed resource.

endpoints List<Property Map>

Endpoints

id String

The provider-assigned unique ID for this managed resource.

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,
        project_id: Optional[str] = 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)
Resource lookup is not supported in YAML
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<Lbrlabs.PulumiPackage.Scaleway.Inputs.CockpitEndpointArgs>

Endpoints

ProjectId string

project_id) The ID of the project the cockpit is associated with.

Endpoints []CockpitEndpointArgs

Endpoints

ProjectId string

project_id) The ID of the project the cockpit is associated with.

endpoints List<CockpitEndpointArgs>

Endpoints

projectId String

project_id) The ID of the project the cockpit is associated with.

endpoints CockpitEndpointArgs[]

Endpoints

projectId string

project_id) The ID of the project the cockpit is associated with.

endpoints Sequence[CockpitEndpointArgs]

Endpoints

project_id str

project_id) The ID of the project the cockpit is associated with.

endpoints List<Property Map>

Endpoints

projectId String

project_id) The ID of the project the cockpit is associated with.

Supporting Types

CockpitEndpoint

AlertmanagerUrl string

The alertmanager URL

GrafanaUrl string

The grafana URL

LogsUrl string

The logs URL

MetricsUrl string

The metrics URL

AlertmanagerUrl string

The alertmanager URL

GrafanaUrl string

The grafana URL

LogsUrl string

The logs URL

MetricsUrl string

The metrics URL

alertmanagerUrl String

The alertmanager URL

grafanaUrl String

The grafana URL

logsUrl String

The logs URL

metricsUrl String

The metrics URL

alertmanagerUrl string

The alertmanager URL

grafanaUrl string

The grafana URL

logsUrl string

The logs URL

metricsUrl string

The metrics URL

alertmanager_url str

The alertmanager URL

grafana_url str

The grafana URL

logs_url str

The logs URL

metrics_url str

The metrics URL

alertmanagerUrl String

The alertmanager URL

grafanaUrl String

The grafana URL

logsUrl String

The logs URL

metricsUrl String

The metrics URL

Package Details

Repository
scaleway lbrlabs/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.