1. Packages
  2. Scaleway
  3. API Docs
  4. Cockpit
Scaleway v1.11.0 published on Sunday, Oct 29, 2023 by lbrlabs

scaleway.Cockpit

Explore with Pulumi AI

scaleway logo
Scaleway v1.11.0 published on Sunday, Oct 29, 2023 by lbrlabs

    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,
                plan: Optional[str] = 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:

    Plan string
    Name or ID of the plan to use.
    ProjectId string
    project_id) The ID of the project the cockpit is associated with.
    Plan string
    Name or ID of the plan to use.
    ProjectId string
    project_id) The ID of the project the cockpit is associated with.
    plan String
    Name or ID of the plan to use.
    projectId String
    project_id) The ID of the project the cockpit is associated with.
    plan string
    Name or ID of the plan to use.
    projectId string
    project_id) The ID of the project the cockpit is associated with.
    plan str
    Name or ID of the plan to use.
    project_id str
    project_id) The ID of the project the cockpit is associated with.
    plan String
    Name or ID of the plan to use.
    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.
    PlanId string
    The ID of the current plan
    Endpoints []CockpitEndpoint
    Endpoints
    Id string
    The provider-assigned unique ID for this managed resource.
    PlanId string
    The ID of the current plan
    endpoints List<CockpitEndpoint>
    Endpoints
    id String
    The provider-assigned unique ID for this managed resource.
    planId String
    The ID of the current plan
    endpoints CockpitEndpoint[]
    Endpoints
    id string
    The provider-assigned unique ID for this managed resource.
    planId string
    The ID of the current plan
    endpoints Sequence[CockpitEndpoint]
    Endpoints
    id str
    The provider-assigned unique ID for this managed resource.
    plan_id str
    The ID of the current plan
    endpoints List<Property Map>
    Endpoints
    id String
    The provider-assigned unique ID for this managed resource.
    planId String
    The ID of the current plan

    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) -> 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.CockpitEndpoint>
    Endpoints
    Plan string
    Name or ID of the plan to use.
    PlanId string
    The ID of the current plan
    ProjectId string
    project_id) The ID of the project the cockpit is associated with.
    Endpoints []CockpitEndpointArgs
    Endpoints
    Plan string
    Name or ID of the plan to use.
    PlanId string
    The ID of the current plan
    ProjectId string
    project_id) The ID of the project the cockpit is associated with.
    endpoints List<CockpitEndpoint>
    Endpoints
    plan String
    Name or ID of the plan to use.
    planId String
    The ID of the current plan
    projectId String
    project_id) The ID of the project the cockpit is associated with.
    endpoints CockpitEndpoint[]
    Endpoints
    plan string
    Name or ID of the plan to use.
    planId string
    The ID of the current plan
    projectId string
    project_id) The ID of the project the cockpit is associated with.
    endpoints Sequence[CockpitEndpointArgs]
    Endpoints
    plan str
    Name or ID of the plan to use.
    plan_id str
    The ID of the current plan
    project_id str
    project_id) The ID of the project the cockpit is associated with.
    endpoints List<Property Map>
    Endpoints
    plan String
    Name or ID of the plan to use.
    planId String
    The ID of the current plan
    projectId String
    project_id) The ID of the project the cockpit is associated with.

    Supporting Types

    CockpitEndpoint, CockpitEndpointArgs

    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.
    scaleway logo
    Scaleway v1.11.0 published on Sunday, Oct 29, 2023 by lbrlabs