1. Packages
  2. Scaleway
  3. API Docs
  4. Cockpit
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

scaleway.Cockpit

Explore with Pulumi AI

scaleway logo
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

    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
    

    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

    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.
    ProjectId 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.
    ProjectId 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.
    projectId 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.
    projectId 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.
    project_id 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.
    projectId 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: Please use scaleway.CockpitSource instead

    Id string
    The provider-assigned unique ID for this managed resource.
    PlanId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    PushUrls List<Pulumiverse.Scaleway.Outputs.CockpitPushUrl>
    Push_url

    Deprecated: Please use scaleway.CockpitSource instead

    Endpoints []CockpitEndpoint
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Please use scaleway.CockpitSource instead

    Id string
    The provider-assigned unique ID for this managed resource.
    PlanId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    PushUrls []CockpitPushUrl
    Push_url

    Deprecated: Please use scaleway.CockpitSource instead

    endpoints List<CockpitEndpoint>
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Please use scaleway.CockpitSource instead

    id String
    The provider-assigned unique ID for this managed resource.
    planId String
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    pushUrls List<CockpitPushUrl>
    Push_url

    Deprecated: Please use scaleway.CockpitSource instead

    endpoints CockpitEndpoint[]
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Please use scaleway.CockpitSource instead

    id string
    The provider-assigned unique ID for this managed resource.
    planId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    pushUrls CockpitPushUrl[]
    Push_url

    Deprecated: Please use scaleway.CockpitSource instead

    endpoints Sequence[CockpitEndpoint]
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Please use scaleway.CockpitSource instead

    id str
    The provider-assigned unique ID for this managed resource.
    plan_id str
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    push_urls Sequence[CockpitPushUrl]
    Push_url

    Deprecated: Please use scaleway.CockpitSource instead

    endpoints List<Property Map>
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Please use scaleway.CockpitSource instead

    id String
    The provider-assigned unique ID for this managed resource.
    planId String
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    pushUrls List<Property Map>
    Push_url

    Deprecated: Please use scaleway.CockpitSource 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)
    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>
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Please use scaleway.CockpitSource instead

    Plan string
    Name of the plan to use. Available plans are: free, premium, and custom.
    PlanId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    ProjectId string
    ) The ID of the Project the Cockpit is associated with.
    PushUrls List<Pulumiverse.Scaleway.Inputs.CockpitPushUrl>
    Push_url

    Deprecated: Please use scaleway.CockpitSource instead

    Endpoints []CockpitEndpointArgs
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Please use scaleway.CockpitSource instead

    Plan string
    Name of the plan to use. Available plans are: free, premium, and custom.
    PlanId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    ProjectId string
    ) The ID of the Project the Cockpit is associated with.
    PushUrls []CockpitPushUrlArgs
    Push_url

    Deprecated: Please use scaleway.CockpitSource instead

    endpoints List<CockpitEndpoint>
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Please use scaleway.CockpitSource instead

    plan String
    Name of the plan to use. Available plans are: free, premium, and custom.
    planId String
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    projectId String
    ) The ID of the Project the Cockpit is associated with.
    pushUrls List<CockpitPushUrl>
    Push_url

    Deprecated: Please use scaleway.CockpitSource instead

    endpoints CockpitEndpoint[]
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Please use scaleway.CockpitSource instead

    plan string
    Name of the plan to use. Available plans are: free, premium, and custom.
    planId string
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    projectId string
    ) The ID of the Project the Cockpit is associated with.
    pushUrls CockpitPushUrl[]
    Push_url

    Deprecated: Please use scaleway.CockpitSource instead

    endpoints Sequence[CockpitEndpointArgs]
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Please use scaleway.CockpitSource instead

    plan str
    Name of the plan to use. Available plans are: free, premium, and custom.
    plan_id str
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    project_id str
    ) The ID of the Project the Cockpit is associated with.
    push_urls Sequence[CockpitPushUrlArgs]
    Push_url

    Deprecated: Please use scaleway.CockpitSource instead

    endpoints List<Property Map>
    (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:

    Deprecated: Please use scaleway.CockpitSource instead

    plan String
    Name of the plan to use. Available plans are: free, premium, and custom.
    planId String
    (Deprecated) The ID of the current pricing plan.

    Deprecated: Please use Name only

    projectId String
    ) The ID of the Project the Cockpit is associated with.
    pushUrls List<Property Map>
    Push_url

    Deprecated: Please use scaleway.CockpitSource 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.
    scaleway logo
    Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse