
Scaleway v1.8.0, Apr 11 23

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:
- Project
Id string project_id
) The ID of the project the cockpit is associated with.
- Project
Id string project_id
) The ID of the project the cockpit is associated with.
- project
Id String project_id
) The ID of the project the cockpit is associated with.
- project
Id 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.
- project
Id 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.
Pulumi Package. Scaleway. Outputs. Cockpit Endpoint> Endpoints
- Id string
The provider-assigned unique ID for this managed resource.
- Endpoints
[]Cockpit
Endpoint Endpoints
- Id string
The provider-assigned unique ID for this managed resource.
- endpoints
List<Cockpit
Endpoint> Endpoints
- id String
The provider-assigned unique ID for this managed resource.
- endpoints
Cockpit
Endpoint[] Endpoints
- id string
The provider-assigned unique ID for this managed resource.
- endpoints
Sequence[Cockpit
Endpoint] 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.
- Endpoints
List<Lbrlabs.
Pulumi Package. Scaleway. Inputs. Cockpit Endpoint Args> Endpoints
- Project
Id string project_id
) The ID of the project the cockpit is associated with.
- Endpoints
[]Cockpit
Endpoint Args Endpoints
- Project
Id string project_id
) The ID of the project the cockpit is associated with.
- endpoints
List<Cockpit
Endpoint Args> Endpoints
- project
Id String project_id
) The ID of the project the cockpit is associated with.
- endpoints
Cockpit
Endpoint Args[] Endpoints
- project
Id string project_id
) The ID of the project the cockpit is associated with.
- endpoints
Sequence[Cockpit
Endpoint Args] Endpoints
- project_
id str project_id
) The ID of the project the cockpit is associated with.
- endpoints List<Property Map>
Endpoints
- project
Id String project_id
) The ID of the project the cockpit is associated with.
Supporting Types
CockpitEndpoint
- Alertmanager
Url string The alertmanager URL
- Grafana
Url string The grafana URL
- Logs
Url string The logs URL
- Metrics
Url string The metrics URL
- Alertmanager
Url string The alertmanager URL
- Grafana
Url string The grafana URL
- Logs
Url string The logs URL
- Metrics
Url string The metrics URL
- alertmanager
Url String The alertmanager URL
- grafana
Url String The grafana URL
- logs
Url String The logs URL
- metrics
Url String The metrics URL
- alertmanager
Url string The alertmanager URL
- grafana
Url string The grafana URL
- logs
Url string The logs URL
- metrics
Url 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
- alertmanager
Url String The alertmanager URL
- grafana
Url String The grafana URL
- logs
Url String The logs URL
- metrics
Url 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.