1. Packages
  2. Packages
  3. Scaleway
  4. API Docs
  5. datalab
  6. Datalab
Viewing docs for Scaleway v1.53.0
published on Friday, Jul 17, 2026 by pulumiverse
scaleway logo
Viewing docs for Scaleway v1.53.0
published on Friday, Jul 17, 2026 by pulumiverse

    Manages a Scaleway Datalab instance.

    Example Usage

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const main = new scaleway.network.Vpc("main", {name: "my-vpc"});
    const mainPrivateNetwork = new scaleway.network.PrivateNetwork("main", {
        vpcId: main.id,
        region: "fr-par",
    });
    const mainDatalab = new scaleway.datalab.Datalab("main", {
        name: "my-datalab",
        sparkVersion: "4.0.0",
        privateNetworkId: mainPrivateNetwork.id,
        region: "fr-par",
        main: {
            nodeType: "DATALAB-SHARED-4C-8G",
        },
        worker: {
            nodeType: "DATALAB-DEDICATED2-2C-8G",
            nodeCount: 1,
        },
    });
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    main = scaleway.network.Vpc("main", name="my-vpc")
    main_private_network = scaleway.network.PrivateNetwork("main",
        vpc_id=main.id,
        region="fr-par")
    main_datalab = scaleway.datalab.Datalab("main",
        name="my-datalab",
        spark_version="4.0.0",
        private_network_id=main_private_network.id,
        region="fr-par",
        main={
            "node_type": "DATALAB-SHARED-4C-8G",
        },
        worker={
            "node_type": "DATALAB-DEDICATED2-2C-8G",
            "node_count": 1,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/datalab"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/network"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		main, err := network.NewVpc(ctx, "main", &network.VpcArgs{
    			Name: pulumi.String("my-vpc"),
    		})
    		if err != nil {
    			return err
    		}
    		mainPrivateNetwork, err := network.NewPrivateNetwork(ctx, "main", &network.PrivateNetworkArgs{
    			VpcId:  main.ID(),
    			Region: pulumi.String("fr-par"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = datalab.NewDatalab(ctx, "main", &datalab.DatalabArgs{
    			Name:             pulumi.String("my-datalab"),
    			SparkVersion:     pulumi.String("4.0.0"),
    			PrivateNetworkId: mainPrivateNetwork.ID(),
    			Region:           pulumi.String("fr-par"),
    			Main: &datalab.DatalabMainArgs{
    				NodeType: pulumi.String("DATALAB-SHARED-4C-8G"),
    			},
    			Worker: &datalab.DatalabWorkerArgs{
    				NodeType:  pulumi.String("DATALAB-DEDICATED2-2C-8G"),
    				NodeCount: pulumi.Int(1),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var main = new Scaleway.Network.Vpc("main", new()
        {
            Name = "my-vpc",
        });
    
        var mainPrivateNetwork = new Scaleway.Network.PrivateNetwork("main", new()
        {
            VpcId = main.Id,
            Region = "fr-par",
        });
    
        var mainDatalab = new Scaleway.Datalab.Datalab("main", new()
        {
            Name = "my-datalab",
            SparkVersion = "4.0.0",
            PrivateNetworkId = mainPrivateNetwork.Id,
            Region = "fr-par",
            Main = new Scaleway.Datalab.Inputs.DatalabMainArgs
            {
                NodeType = "DATALAB-SHARED-4C-8G",
            },
            Worker = new Scaleway.Datalab.Inputs.DatalabWorkerArgs
            {
                NodeType = "DATALAB-DEDICATED2-2C-8G",
                NodeCount = 1,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.network.Vpc;
    import com.pulumi.scaleway.network.VpcArgs;
    import com.pulumi.scaleway.network.PrivateNetwork;
    import com.pulumi.scaleway.network.PrivateNetworkArgs;
    import com.pulumi.scaleway.datalab.Datalab;
    import com.pulumi.scaleway.datalab.DatalabArgs;
    import com.pulumi.scaleway.datalab.inputs.DatalabMainArgs;
    import com.pulumi.scaleway.datalab.inputs.DatalabWorkerArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var main = new Vpc("main", VpcArgs.builder()
                .name("my-vpc")
                .build());
    
            var mainPrivateNetwork = new PrivateNetwork("mainPrivateNetwork", PrivateNetworkArgs.builder()
                .vpcId(main.id())
                .region("fr-par")
                .build());
    
            var mainDatalab = new Datalab("mainDatalab", DatalabArgs.builder()
                .name("my-datalab")
                .sparkVersion("4.0.0")
                .privateNetworkId(mainPrivateNetwork.id())
                .region("fr-par")
                .main(DatalabMainArgs.builder()
                    .nodeType("DATALAB-SHARED-4C-8G")
                    .build())
                .worker(DatalabWorkerArgs.builder()
                    .nodeType("DATALAB-DEDICATED2-2C-8G")
                    .nodeCount(1)
                    .build())
                .build());
    
        }
    }
    
    resources:
      main:
        type: scaleway:network:Vpc
        properties:
          name: my-vpc
      mainPrivateNetwork:
        type: scaleway:network:PrivateNetwork
        name: main
        properties:
          vpcId: ${main.id}
          region: fr-par
      mainDatalab:
        type: scaleway:datalab:Datalab
        name: main
        properties:
          name: my-datalab
          sparkVersion: 4.0.0
          privateNetworkId: ${mainPrivateNetwork.id}
          region: fr-par
          main:
            nodeType: DATALAB-SHARED-4C-8G
          worker:
            nodeType: DATALAB-DEDICATED2-2C-8G
            nodeCount: 1
    
    Example coming soon!
    

    Create Datalab Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Datalab(name: string, args: DatalabArgs, opts?: CustomResourceOptions);
    @overload
    def Datalab(resource_name: str,
                args: DatalabArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Datalab(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                private_network_id: Optional[str] = None,
                spark_version: Optional[str] = None,
                description: Optional[str] = None,
                has_notebook: Optional[bool] = None,
                main: Optional[DatalabMainArgs] = None,
                name: Optional[str] = None,
                project_id: Optional[str] = None,
                region: Optional[str] = None,
                tags: Optional[Sequence[str]] = None,
                total_storage: Optional[DatalabTotalStorageArgs] = None,
                worker: Optional[DatalabWorkerArgs] = None)
    func NewDatalab(ctx *Context, name string, args DatalabArgs, opts ...ResourceOption) (*Datalab, error)
    public Datalab(string name, DatalabArgs args, CustomResourceOptions? opts = null)
    public Datalab(String name, DatalabArgs args)
    public Datalab(String name, DatalabArgs args, CustomResourceOptions options)
    
    type: scaleway:datalab:Datalab
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "scaleway_datalab_datalab" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DatalabArgs
    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 DatalabArgs
    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 DatalabArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatalabArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatalabArgs
    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 datalabResource = new Scaleway.Datalab.Datalab("datalabResource", new()
    {
        PrivateNetworkId = "string",
        SparkVersion = "string",
        Description = "string",
        HasNotebook = false,
        Main = new Scaleway.Datalab.Inputs.DatalabMainArgs
        {
            NodeType = "string",
            RootVolume = new Scaleway.Datalab.Inputs.DatalabMainRootVolumeArgs
            {
                Size = 0,
                Type = "string",
            },
            SparkMasterUrl = "string",
            SparkUiUrl = "string",
        },
        Name = "string",
        ProjectId = "string",
        Region = "string",
        Tags = new[]
        {
            "string",
        },
        TotalStorage = new Scaleway.Datalab.Inputs.DatalabTotalStorageArgs
        {
            Size = 0,
            Type = "string",
        },
        Worker = new Scaleway.Datalab.Inputs.DatalabWorkerArgs
        {
            NodeCount = 0,
            NodeType = "string",
            RootVolume = new Scaleway.Datalab.Inputs.DatalabWorkerRootVolumeArgs
            {
                Size = 0,
                Type = "string",
            },
        },
    });
    
    example, err := datalab.NewDatalab(ctx, "datalabResource", &datalab.DatalabArgs{
    	PrivateNetworkId: pulumi.String("string"),
    	SparkVersion:     pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	HasNotebook:      pulumi.Bool(false),
    	Main: &datalab.DatalabMainArgs{
    		NodeType: pulumi.String("string"),
    		RootVolume: &datalab.DatalabMainRootVolumeArgs{
    			Size: pulumi.Int(0),
    			Type: pulumi.String("string"),
    		},
    		SparkMasterUrl: pulumi.String("string"),
    		SparkUiUrl:     pulumi.String("string"),
    	},
    	Name:      pulumi.String("string"),
    	ProjectId: pulumi.String("string"),
    	Region:    pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TotalStorage: &datalab.DatalabTotalStorageArgs{
    		Size: pulumi.Int(0),
    		Type: pulumi.String("string"),
    	},
    	Worker: &datalab.DatalabWorkerArgs{
    		NodeCount: pulumi.Int(0),
    		NodeType:  pulumi.String("string"),
    		RootVolume: &datalab.DatalabWorkerRootVolumeArgs{
    			Size: pulumi.Int(0),
    			Type: pulumi.String("string"),
    		},
    	},
    })
    
    resource "scaleway_datalab_datalab" "datalabResource" {
      private_network_id = "string"
      spark_version      = "string"
      description        = "string"
      has_notebook       = false
      main = {
        node_type = "string"
        root_volume = {
          size = 0
          type = "string"
        }
        spark_master_url = "string"
        spark_ui_url     = "string"
      }
      name       = "string"
      project_id = "string"
      region     = "string"
      tags       = ["string"]
      total_storage = {
        size = 0
        type = "string"
      }
      worker = {
        node_count = 0
        node_type  = "string"
        root_volume = {
          size = 0
          type = "string"
        }
      }
    }
    
    var datalabResource = new Datalab("datalabResource", DatalabArgs.builder()
        .privateNetworkId("string")
        .sparkVersion("string")
        .description("string")
        .hasNotebook(false)
        .main(DatalabMainArgs.builder()
            .nodeType("string")
            .rootVolume(DatalabMainRootVolumeArgs.builder()
                .size(0)
                .type("string")
                .build())
            .sparkMasterUrl("string")
            .sparkUiUrl("string")
            .build())
        .name("string")
        .projectId("string")
        .region("string")
        .tags("string")
        .totalStorage(DatalabTotalStorageArgs.builder()
            .size(0)
            .type("string")
            .build())
        .worker(DatalabWorkerArgs.builder()
            .nodeCount(0)
            .nodeType("string")
            .rootVolume(DatalabWorkerRootVolumeArgs.builder()
                .size(0)
                .type("string")
                .build())
            .build())
        .build());
    
    datalab_resource = scaleway.datalab.Datalab("datalabResource",
        private_network_id="string",
        spark_version="string",
        description="string",
        has_notebook=False,
        main={
            "node_type": "string",
            "root_volume": {
                "size": 0,
                "type": "string",
            },
            "spark_master_url": "string",
            "spark_ui_url": "string",
        },
        name="string",
        project_id="string",
        region="string",
        tags=["string"],
        total_storage={
            "size": 0,
            "type": "string",
        },
        worker={
            "node_count": 0,
            "node_type": "string",
            "root_volume": {
                "size": 0,
                "type": "string",
            },
        })
    
    const datalabResource = new scaleway.datalab.Datalab("datalabResource", {
        privateNetworkId: "string",
        sparkVersion: "string",
        description: "string",
        hasNotebook: false,
        main: {
            nodeType: "string",
            rootVolume: {
                size: 0,
                type: "string",
            },
            sparkMasterUrl: "string",
            sparkUiUrl: "string",
        },
        name: "string",
        projectId: "string",
        region: "string",
        tags: ["string"],
        totalStorage: {
            size: 0,
            type: "string",
        },
        worker: {
            nodeCount: 0,
            nodeType: "string",
            rootVolume: {
                size: 0,
                type: "string",
            },
        },
    });
    
    type: scaleway:datalab:Datalab
    properties:
        description: string
        hasNotebook: false
        main:
            nodeType: string
            rootVolume:
                size: 0
                type: string
            sparkMasterUrl: string
            sparkUiUrl: string
        name: string
        privateNetworkId: string
        projectId: string
        region: string
        sparkVersion: string
        tags:
            - string
        totalStorage:
            size: 0
            type: string
        worker:
            nodeCount: 0
            nodeType: string
            rootVolume:
                size: 0
                type: string
    

    Datalab 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 Datalab resource accepts the following input properties:

    PrivateNetworkId string
    The ID of the private network to attach the Datalab to.
    SparkVersion string
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    Description string
    A description for the Datalab instance.
    HasNotebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    Main Pulumiverse.Scaleway.Datalab.Inputs.DatalabMain
    The Spark main node configuration.
    Name string
    The name of the Datalab instance. If not provided, a random name is generated.
    ProjectId string
    projectId) The project ID the Datalab belongs to.
    Region string
    region) The region the Datalab is in. Only fr-par is currently supported.
    Tags List<string>
    Tags associated with the Datalab instance.
    TotalStorage Pulumiverse.Scaleway.Datalab.Inputs.DatalabTotalStorage
    Persistent volume storage configuration.
    Worker Pulumiverse.Scaleway.Datalab.Inputs.DatalabWorker
    The Spark worker nodes configuration.
    PrivateNetworkId string
    The ID of the private network to attach the Datalab to.
    SparkVersion string
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    Description string
    A description for the Datalab instance.
    HasNotebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    Main DatalabMainArgs
    The Spark main node configuration.
    Name string
    The name of the Datalab instance. If not provided, a random name is generated.
    ProjectId string
    projectId) The project ID the Datalab belongs to.
    Region string
    region) The region the Datalab is in. Only fr-par is currently supported.
    Tags []string
    Tags associated with the Datalab instance.
    TotalStorage DatalabTotalStorageArgs
    Persistent volume storage configuration.
    Worker DatalabWorkerArgs
    The Spark worker nodes configuration.
    private_network_id string
    The ID of the private network to attach the Datalab to.
    spark_version string
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    description string
    A description for the Datalab instance.
    has_notebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    main object
    The Spark main node configuration.
    name string
    The name of the Datalab instance. If not provided, a random name is generated.
    project_id string
    projectId) The project ID the Datalab belongs to.
    region string
    region) The region the Datalab is in. Only fr-par is currently supported.
    tags list(string)
    Tags associated with the Datalab instance.
    total_storage object
    Persistent volume storage configuration.
    worker object
    The Spark worker nodes configuration.
    privateNetworkId String
    The ID of the private network to attach the Datalab to.
    sparkVersion String
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    description String
    A description for the Datalab instance.
    hasNotebook Boolean
    Whether a JupyterLab notebook is associated with the Datalab.
    main DatalabMain
    The Spark main node configuration.
    name String
    The name of the Datalab instance. If not provided, a random name is generated.
    projectId String
    projectId) The project ID the Datalab belongs to.
    region String
    region) The region the Datalab is in. Only fr-par is currently supported.
    tags List<String>
    Tags associated with the Datalab instance.
    totalStorage DatalabTotalStorage
    Persistent volume storage configuration.
    worker DatalabWorker
    The Spark worker nodes configuration.
    privateNetworkId string
    The ID of the private network to attach the Datalab to.
    sparkVersion string
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    description string
    A description for the Datalab instance.
    hasNotebook boolean
    Whether a JupyterLab notebook is associated with the Datalab.
    main DatalabMain
    The Spark main node configuration.
    name string
    The name of the Datalab instance. If not provided, a random name is generated.
    projectId string
    projectId) The project ID the Datalab belongs to.
    region string
    region) The region the Datalab is in. Only fr-par is currently supported.
    tags string[]
    Tags associated with the Datalab instance.
    totalStorage DatalabTotalStorage
    Persistent volume storage configuration.
    worker DatalabWorker
    The Spark worker nodes configuration.
    private_network_id str
    The ID of the private network to attach the Datalab to.
    spark_version str
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    description str
    A description for the Datalab instance.
    has_notebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    main DatalabMainArgs
    The Spark main node configuration.
    name str
    The name of the Datalab instance. If not provided, a random name is generated.
    project_id str
    projectId) The project ID the Datalab belongs to.
    region str
    region) The region the Datalab is in. Only fr-par is currently supported.
    tags Sequence[str]
    Tags associated with the Datalab instance.
    total_storage DatalabTotalStorageArgs
    Persistent volume storage configuration.
    worker DatalabWorkerArgs
    The Spark worker nodes configuration.
    privateNetworkId String
    The ID of the private network to attach the Datalab to.
    sparkVersion String
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    description String
    A description for the Datalab instance.
    hasNotebook Boolean
    Whether a JupyterLab notebook is associated with the Datalab.
    main Property Map
    The Spark main node configuration.
    name String
    The name of the Datalab instance. If not provided, a random name is generated.
    projectId String
    projectId) The project ID the Datalab belongs to.
    region String
    region) The region the Datalab is in. Only fr-par is currently supported.
    tags List<String>
    Tags associated with the Datalab instance.
    totalStorage Property Map
    Persistent volume storage configuration.
    worker Property Map
    The Spark worker nodes configuration.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Datalab resource produces the following output properties:

    CreatedAt string
    The creation timestamp of the Datalab instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    NotebookMasterUrl string
    The URL used to reach the cluster from the notebook.
    NotebookUrl string
    The URL of the JupyterLab notebook, if available.
    Status string
    The current status of the Datalab instance.
    UpdatedAt string
    The last update timestamp of the Datalab instance.
    CreatedAt string
    The creation timestamp of the Datalab instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    NotebookMasterUrl string
    The URL used to reach the cluster from the notebook.
    NotebookUrl string
    The URL of the JupyterLab notebook, if available.
    Status string
    The current status of the Datalab instance.
    UpdatedAt string
    The last update timestamp of the Datalab instance.
    created_at string
    The creation timestamp of the Datalab instance.
    id string
    The provider-assigned unique ID for this managed resource.
    notebook_master_url string
    The URL used to reach the cluster from the notebook.
    notebook_url string
    The URL of the JupyterLab notebook, if available.
    status string
    The current status of the Datalab instance.
    updated_at string
    The last update timestamp of the Datalab instance.
    createdAt String
    The creation timestamp of the Datalab instance.
    id String
    The provider-assigned unique ID for this managed resource.
    notebookMasterUrl String
    The URL used to reach the cluster from the notebook.
    notebookUrl String
    The URL of the JupyterLab notebook, if available.
    status String
    The current status of the Datalab instance.
    updatedAt String
    The last update timestamp of the Datalab instance.
    createdAt string
    The creation timestamp of the Datalab instance.
    id string
    The provider-assigned unique ID for this managed resource.
    notebookMasterUrl string
    The URL used to reach the cluster from the notebook.
    notebookUrl string
    The URL of the JupyterLab notebook, if available.
    status string
    The current status of the Datalab instance.
    updatedAt string
    The last update timestamp of the Datalab instance.
    created_at str
    The creation timestamp of the Datalab instance.
    id str
    The provider-assigned unique ID for this managed resource.
    notebook_master_url str
    The URL used to reach the cluster from the notebook.
    notebook_url str
    The URL of the JupyterLab notebook, if available.
    status str
    The current status of the Datalab instance.
    updated_at str
    The last update timestamp of the Datalab instance.
    createdAt String
    The creation timestamp of the Datalab instance.
    id String
    The provider-assigned unique ID for this managed resource.
    notebookMasterUrl String
    The URL used to reach the cluster from the notebook.
    notebookUrl String
    The URL of the JupyterLab notebook, if available.
    status String
    The current status of the Datalab instance.
    updatedAt String
    The last update timestamp of the Datalab instance.

    Look up Existing Datalab Resource

    Get an existing Datalab 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?: DatalabState, opts?: CustomResourceOptions): Datalab
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            has_notebook: Optional[bool] = None,
            main: Optional[DatalabMainArgs] = None,
            name: Optional[str] = None,
            notebook_master_url: Optional[str] = None,
            notebook_url: Optional[str] = None,
            private_network_id: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            spark_version: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            total_storage: Optional[DatalabTotalStorageArgs] = None,
            updated_at: Optional[str] = None,
            worker: Optional[DatalabWorkerArgs] = None) -> Datalab
    func GetDatalab(ctx *Context, name string, id IDInput, state *DatalabState, opts ...ResourceOption) (*Datalab, error)
    public static Datalab Get(string name, Input<string> id, DatalabState? state, CustomResourceOptions? opts = null)
    public static Datalab get(String name, Output<String> id, DatalabState state, CustomResourceOptions options)
    resources:  _:    type: scaleway:datalab:Datalab    get:      id: ${id}
    import {
      to = scaleway_datalab_datalab.example
      id = "${id}"
    }
    
    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:
    CreatedAt string
    The creation timestamp of the Datalab instance.
    Description string
    A description for the Datalab instance.
    HasNotebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    Main Pulumiverse.Scaleway.Datalab.Inputs.DatalabMain
    The Spark main node configuration.
    Name string
    The name of the Datalab instance. If not provided, a random name is generated.
    NotebookMasterUrl string
    The URL used to reach the cluster from the notebook.
    NotebookUrl string
    The URL of the JupyterLab notebook, if available.
    PrivateNetworkId string
    The ID of the private network to attach the Datalab to.
    ProjectId string
    projectId) The project ID the Datalab belongs to.
    Region string
    region) The region the Datalab is in. Only fr-par is currently supported.
    SparkVersion string
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    Status string
    The current status of the Datalab instance.
    Tags List<string>
    Tags associated with the Datalab instance.
    TotalStorage Pulumiverse.Scaleway.Datalab.Inputs.DatalabTotalStorage
    Persistent volume storage configuration.
    UpdatedAt string
    The last update timestamp of the Datalab instance.
    Worker Pulumiverse.Scaleway.Datalab.Inputs.DatalabWorker
    The Spark worker nodes configuration.
    CreatedAt string
    The creation timestamp of the Datalab instance.
    Description string
    A description for the Datalab instance.
    HasNotebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    Main DatalabMainArgs
    The Spark main node configuration.
    Name string
    The name of the Datalab instance. If not provided, a random name is generated.
    NotebookMasterUrl string
    The URL used to reach the cluster from the notebook.
    NotebookUrl string
    The URL of the JupyterLab notebook, if available.
    PrivateNetworkId string
    The ID of the private network to attach the Datalab to.
    ProjectId string
    projectId) The project ID the Datalab belongs to.
    Region string
    region) The region the Datalab is in. Only fr-par is currently supported.
    SparkVersion string
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    Status string
    The current status of the Datalab instance.
    Tags []string
    Tags associated with the Datalab instance.
    TotalStorage DatalabTotalStorageArgs
    Persistent volume storage configuration.
    UpdatedAt string
    The last update timestamp of the Datalab instance.
    Worker DatalabWorkerArgs
    The Spark worker nodes configuration.
    created_at string
    The creation timestamp of the Datalab instance.
    description string
    A description for the Datalab instance.
    has_notebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    main object
    The Spark main node configuration.
    name string
    The name of the Datalab instance. If not provided, a random name is generated.
    notebook_master_url string
    The URL used to reach the cluster from the notebook.
    notebook_url string
    The URL of the JupyterLab notebook, if available.
    private_network_id string
    The ID of the private network to attach the Datalab to.
    project_id string
    projectId) The project ID the Datalab belongs to.
    region string
    region) The region the Datalab is in. Only fr-par is currently supported.
    spark_version string
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    status string
    The current status of the Datalab instance.
    tags list(string)
    Tags associated with the Datalab instance.
    total_storage object
    Persistent volume storage configuration.
    updated_at string
    The last update timestamp of the Datalab instance.
    worker object
    The Spark worker nodes configuration.
    createdAt String
    The creation timestamp of the Datalab instance.
    description String
    A description for the Datalab instance.
    hasNotebook Boolean
    Whether a JupyterLab notebook is associated with the Datalab.
    main DatalabMain
    The Spark main node configuration.
    name String
    The name of the Datalab instance. If not provided, a random name is generated.
    notebookMasterUrl String
    The URL used to reach the cluster from the notebook.
    notebookUrl String
    The URL of the JupyterLab notebook, if available.
    privateNetworkId String
    The ID of the private network to attach the Datalab to.
    projectId String
    projectId) The project ID the Datalab belongs to.
    region String
    region) The region the Datalab is in. Only fr-par is currently supported.
    sparkVersion String
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    status String
    The current status of the Datalab instance.
    tags List<String>
    Tags associated with the Datalab instance.
    totalStorage DatalabTotalStorage
    Persistent volume storage configuration.
    updatedAt String
    The last update timestamp of the Datalab instance.
    worker DatalabWorker
    The Spark worker nodes configuration.
    createdAt string
    The creation timestamp of the Datalab instance.
    description string
    A description for the Datalab instance.
    hasNotebook boolean
    Whether a JupyterLab notebook is associated with the Datalab.
    main DatalabMain
    The Spark main node configuration.
    name string
    The name of the Datalab instance. If not provided, a random name is generated.
    notebookMasterUrl string
    The URL used to reach the cluster from the notebook.
    notebookUrl string
    The URL of the JupyterLab notebook, if available.
    privateNetworkId string
    The ID of the private network to attach the Datalab to.
    projectId string
    projectId) The project ID the Datalab belongs to.
    region string
    region) The region the Datalab is in. Only fr-par is currently supported.
    sparkVersion string
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    status string
    The current status of the Datalab instance.
    tags string[]
    Tags associated with the Datalab instance.
    totalStorage DatalabTotalStorage
    Persistent volume storage configuration.
    updatedAt string
    The last update timestamp of the Datalab instance.
    worker DatalabWorker
    The Spark worker nodes configuration.
    created_at str
    The creation timestamp of the Datalab instance.
    description str
    A description for the Datalab instance.
    has_notebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    main DatalabMainArgs
    The Spark main node configuration.
    name str
    The name of the Datalab instance. If not provided, a random name is generated.
    notebook_master_url str
    The URL used to reach the cluster from the notebook.
    notebook_url str
    The URL of the JupyterLab notebook, if available.
    private_network_id str
    The ID of the private network to attach the Datalab to.
    project_id str
    projectId) The project ID the Datalab belongs to.
    region str
    region) The region the Datalab is in. Only fr-par is currently supported.
    spark_version str
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    status str
    The current status of the Datalab instance.
    tags Sequence[str]
    Tags associated with the Datalab instance.
    total_storage DatalabTotalStorageArgs
    Persistent volume storage configuration.
    updated_at str
    The last update timestamp of the Datalab instance.
    worker DatalabWorkerArgs
    The Spark worker nodes configuration.
    createdAt String
    The creation timestamp of the Datalab instance.
    description String
    A description for the Datalab instance.
    hasNotebook Boolean
    Whether a JupyterLab notebook is associated with the Datalab.
    main Property Map
    The Spark main node configuration.
    name String
    The name of the Datalab instance. If not provided, a random name is generated.
    notebookMasterUrl String
    The URL used to reach the cluster from the notebook.
    notebookUrl String
    The URL of the JupyterLab notebook, if available.
    privateNetworkId String
    The ID of the private network to attach the Datalab to.
    projectId String
    projectId) The project ID the Datalab belongs to.
    region String
    region) The region the Datalab is in. Only fr-par is currently supported.
    sparkVersion String
    The Spark version to use for the Datalab instance. Available versions can be retrieved from ListClusterVersions.
    status String
    The current status of the Datalab instance.
    tags List<String>
    Tags associated with the Datalab instance.
    totalStorage Property Map
    Persistent volume storage configuration.
    updatedAt String
    The last update timestamp of the Datalab instance.
    worker Property Map
    The Spark worker nodes configuration.

    Supporting Types

    DatalabMain, DatalabMainArgs

    NodeType string
    The node type for the main node.
    RootVolume Pulumiverse.Scaleway.Datalab.Inputs.DatalabMainRootVolume
    Volume details for worker nodes.
    SparkMasterUrl string
    The Spark master URL within the VPC.
    SparkUiUrl string
    The Spark UI URL.
    NodeType string
    The node type for the main node.
    RootVolume DatalabMainRootVolume
    Volume details for worker nodes.
    SparkMasterUrl string
    The Spark master URL within the VPC.
    SparkUiUrl string
    The Spark UI URL.
    node_type string
    The node type for the main node.
    root_volume object
    Volume details for worker nodes.
    spark_master_url string
    The Spark master URL within the VPC.
    spark_ui_url string
    The Spark UI URL.
    nodeType String
    The node type for the main node.
    rootVolume DatalabMainRootVolume
    Volume details for worker nodes.
    sparkMasterUrl String
    The Spark master URL within the VPC.
    sparkUiUrl String
    The Spark UI URL.
    nodeType string
    The node type for the main node.
    rootVolume DatalabMainRootVolume
    Volume details for worker nodes.
    sparkMasterUrl string
    The Spark master URL within the VPC.
    sparkUiUrl string
    The Spark UI URL.
    node_type str
    The node type for the main node.
    root_volume DatalabMainRootVolume
    Volume details for worker nodes.
    spark_master_url str
    The Spark master URL within the VPC.
    spark_ui_url str
    The Spark UI URL.
    nodeType String
    The node type for the main node.
    rootVolume Property Map
    Volume details for worker nodes.
    sparkMasterUrl String
    The Spark master URL within the VPC.
    sparkUiUrl String
    The Spark UI URL.

    DatalabMainRootVolume, DatalabMainRootVolumeArgs

    Size int
    The volume size in bytes.
    Type string
    The volume type.
    Size int
    The volume size in bytes.
    Type string
    The volume type.
    size number
    The volume size in bytes.
    type string
    The volume type.
    size Integer
    The volume size in bytes.
    type String
    The volume type.
    size number
    The volume size in bytes.
    type string
    The volume type.
    size int
    The volume size in bytes.
    type str
    The volume type.
    size Number
    The volume size in bytes.
    type String
    The volume type.

    DatalabTotalStorage, DatalabTotalStorageArgs

    Size int
    The volume size in bytes.
    Type string
    The volume type. Defaults to sbs5k.
    Size int
    The volume size in bytes.
    Type string
    The volume type. Defaults to sbs5k.
    size number
    The volume size in bytes.
    type string
    The volume type. Defaults to sbs5k.
    size Integer
    The volume size in bytes.
    type String
    The volume type. Defaults to sbs5k.
    size number
    The volume size in bytes.
    type string
    The volume type. Defaults to sbs5k.
    size int
    The volume size in bytes.
    type str
    The volume type. Defaults to sbs5k.
    size Number
    The volume size in bytes.
    type String
    The volume type. Defaults to sbs5k.

    DatalabWorker, DatalabWorkerArgs

    NodeCount int
    The number of worker nodes.
    NodeType string
    The node type for worker nodes.
    RootVolume Pulumiverse.Scaleway.Datalab.Inputs.DatalabWorkerRootVolume
    Volume details for worker nodes.
    NodeCount int
    The number of worker nodes.
    NodeType string
    The node type for worker nodes.
    RootVolume DatalabWorkerRootVolume
    Volume details for worker nodes.
    node_count number
    The number of worker nodes.
    node_type string
    The node type for worker nodes.
    root_volume object
    Volume details for worker nodes.
    nodeCount Integer
    The number of worker nodes.
    nodeType String
    The node type for worker nodes.
    rootVolume DatalabWorkerRootVolume
    Volume details for worker nodes.
    nodeCount number
    The number of worker nodes.
    nodeType string
    The node type for worker nodes.
    rootVolume DatalabWorkerRootVolume
    Volume details for worker nodes.
    node_count int
    The number of worker nodes.
    node_type str
    The node type for worker nodes.
    root_volume DatalabWorkerRootVolume
    Volume details for worker nodes.
    nodeCount Number
    The number of worker nodes.
    nodeType String
    The node type for worker nodes.
    rootVolume Property Map
    Volume details for worker nodes.

    DatalabWorkerRootVolume, DatalabWorkerRootVolumeArgs

    Size int
    The volume size in bytes.
    Type string
    The volume type.
    Size int
    The volume size in bytes.
    Type string
    The volume type.
    size number
    The volume size in bytes.
    type string
    The volume type.
    size Integer
    The volume size in bytes.
    type String
    The volume type.
    size number
    The volume size in bytes.
    type string
    The volume type.
    size int
    The volume size in bytes.
    type str
    The volume type.
    size Number
    The volume size in bytes.
    type String
    The volume type.

    Import

    Datalab instances can be imported using the {region}/{id}, e.g.

    $ pulumi import scaleway:datalab/datalab:Datalab main fr-par/11111111-1111-1111-1111-111111111111
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Viewing docs for Scaleway v1.53.0
    published on Friday, Jul 17, 2026 by pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial