1. Packages
  2. Scaleway
  3. API Docs
  4. Cockpit
Scaleway v1.15.0 published on Tuesday, Jul 30, 2024 by pulumiverse

scaleway.Cockpit

Explore with Pulumi AI

scaleway logo
Scaleway v1.15.0 published on Tuesday, Jul 30, 2024 by pulumiverse

    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

    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 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.Cockpit("cockpitResource", new()
    {
        Plan = "string",
        ProjectId = "string",
    });
    
    example, err := scaleway.NewCockpit(ctx, "cockpitResource", &scaleway.CockpitArgs{
    	Plan:      pulumi.String("string"),
    	ProjectId: pulumi.String("string"),
    })
    
    var cockpitResource = new Cockpit("cockpitResource", CockpitArgs.builder()
        .plan("string")
        .projectId("string")
        .build());
    
    cockpit_resource = scaleway.Cockpit("cockpitResource",
        plan="string",
        project_id="string")
    
    const cockpitResource = new scaleway.Cockpit("cockpitResource", {
        plan: "string",
        projectId: "string",
    });
    
    type: scaleway:Cockpit
    properties:
        plan: string
        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

    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<Pulumiverse.Scaleway.Outputs.CockpitEndpoint>
    Endpoints.
    Id string
    The provider-assigned unique ID for this managed resource.
    PlanId string
    The ID of the current plan.
    PushUrls List<Pulumiverse.Scaleway.Outputs.CockpitPushUrl>
    Push_url
    Endpoints []CockpitEndpoint
    Endpoints.
    Id string
    The provider-assigned unique ID for this managed resource.
    PlanId string
    The ID of the current plan.
    PushUrls []CockpitPushUrl
    Push_url
    endpoints List<CockpitEndpoint>
    Endpoints.
    id String
    The provider-assigned unique ID for this managed resource.
    planId String
    The ID of the current plan.
    pushUrls List<CockpitPushUrl>
    Push_url
    endpoints CockpitEndpoint[]
    Endpoints.
    id string
    The provider-assigned unique ID for this managed resource.
    planId string
    The ID of the current plan.
    pushUrls CockpitPushUrl[]
    Push_url
    endpoints Sequence[CockpitEndpoint]
    Endpoints.
    id str
    The provider-assigned unique ID for this managed resource.
    plan_id str
    The ID of the current plan.
    push_urls Sequence[CockpitPushUrl]
    Push_url
    endpoints List<Property Map>
    Endpoints.
    id String
    The provider-assigned unique ID for this managed resource.
    planId String
    The ID of the current plan.
    pushUrls List<Property Map>
    Push_url

    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)
    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<Pulumiverse.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.
    PushUrls List<Pulumiverse.Scaleway.Inputs.CockpitPushUrl>
    Push_url
    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.
    PushUrls []CockpitPushUrlArgs
    Push_url
    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.
    pushUrls List<CockpitPushUrl>
    Push_url
    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.
    pushUrls CockpitPushUrl[]
    Push_url
    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.
    push_urls Sequence[CockpitPushUrlArgs]
    Push_url
    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.
    pushUrls List<Property Map>
    Push_url

    Supporting Types

    CockpitEndpoint, CockpitEndpointArgs

    AlertmanagerUrl string
    The alertmanager URL.
    GrafanaUrl string
    The grafana URL.
    LogsUrl string
    The logs URL.
    MetricsUrl string
    The metrics URL.
    TracesUrl string
    The traces URL.
    AlertmanagerUrl string
    The alertmanager URL.
    GrafanaUrl string
    The grafana URL.
    LogsUrl string
    The logs URL.
    MetricsUrl string
    The metrics URL.
    TracesUrl string
    The traces URL.
    alertmanagerUrl String
    The alertmanager URL.
    grafanaUrl String
    The grafana URL.
    logsUrl String
    The logs URL.
    metricsUrl String
    The metrics URL.
    tracesUrl String
    The traces URL.
    alertmanagerUrl string
    The alertmanager URL.
    grafanaUrl string
    The grafana URL.
    logsUrl string
    The logs URL.
    metricsUrl string
    The metrics URL.
    tracesUrl string
    The traces 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.
    traces_url str
    The traces URL.
    alertmanagerUrl String
    The alertmanager URL.
    grafanaUrl String
    The grafana URL.
    logsUrl String
    The logs URL.
    metricsUrl String
    The metrics URL.
    tracesUrl String
    The traces URL.

    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.
    scaleway logo
    Scaleway v1.15.0 published on Tuesday, Jul 30, 2024 by pulumiverse