1. Packages
  2. Packages
  3. Scaleway
  4. API Docs
  5. datalab
  6. getDatalabs
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

    Lists Scaleway Datalab instances.

    Example Usage

    List All

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const all = scaleway.datalab.getDatalabs({
        region: "fr-par",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    all = scaleway.datalab.get_datalabs(region="fr-par")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/datalab"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datalab.GetDatalabs(ctx, &datalab.GetDatalabsArgs{
    			Region: pulumi.StringRef("fr-par"),
    		}, nil)
    		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 all = Scaleway.Datalab.GetDatalabs.Invoke(new()
        {
            Region = "fr-par",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.datalab.DatalabFunctions;
    import com.pulumi.scaleway.datalab.inputs.GetDatalabsArgs;
    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) {
            final var all = DatalabFunctions.getDatalabs(GetDatalabsArgs.builder()
                .region("fr-par")
                .build());
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: scaleway:datalab:getDatalabs
          arguments:
            region: fr-par
    
    Example coming soon!
    

    Filtered

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const filtered = scaleway.datalab.getDatalabs({
        region: "fr-par",
        name: "my-datalab",
        tags: ["production"],
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    filtered = scaleway.datalab.get_datalabs(region="fr-par",
        name="my-datalab",
        tags=["production"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/datalab"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datalab.GetDatalabs(ctx, &datalab.GetDatalabsArgs{
    			Region: pulumi.StringRef("fr-par"),
    			Name:   pulumi.StringRef("my-datalab"),
    			Tags: []string{
    				"production",
    			},
    		}, nil)
    		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 filtered = Scaleway.Datalab.GetDatalabs.Invoke(new()
        {
            Region = "fr-par",
            Name = "my-datalab",
            Tags = new[]
            {
                "production",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.datalab.DatalabFunctions;
    import com.pulumi.scaleway.datalab.inputs.GetDatalabsArgs;
    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) {
            final var filtered = DatalabFunctions.getDatalabs(GetDatalabsArgs.builder()
                .region("fr-par")
                .name("my-datalab")
                .tags("production")
                .build());
    
        }
    }
    
    variables:
      filtered:
        fn::invoke:
          function: scaleway:datalab:getDatalabs
          arguments:
            region: fr-par
            name: my-datalab
            tags:
              - production
    
    Example coming soon!
    

    Using getDatalabs

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDatalabs(args: GetDatalabsArgs, opts?: InvokeOptions): Promise<GetDatalabsResult>
    function getDatalabsOutput(args: GetDatalabsOutputArgs, opts?: InvokeOptions): Output<GetDatalabsResult>
    def get_datalabs(name: Optional[str] = None,
                     organization_id: Optional[str] = None,
                     project_id: Optional[str] = None,
                     region: Optional[str] = None,
                     tags: Optional[Sequence[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetDatalabsResult
    def get_datalabs_output(name: pulumi.Input[Optional[str]] = None,
                     organization_id: pulumi.Input[Optional[str]] = None,
                     project_id: pulumi.Input[Optional[str]] = None,
                     region: pulumi.Input[Optional[str]] = None,
                     tags: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetDatalabsResult]
    func GetDatalabs(ctx *Context, args *GetDatalabsArgs, opts ...InvokeOption) (*GetDatalabsResult, error)
    func GetDatalabsOutput(ctx *Context, args *GetDatalabsOutputArgs, opts ...InvokeOption) GetDatalabsResultOutput

    > Note: This function is named GetDatalabs in the Go SDK.

    public static class GetDatalabs 
    {
        public static Task<GetDatalabsResult> InvokeAsync(GetDatalabsArgs args, InvokeOptions? opts = null)
        public static Output<GetDatalabsResult> Invoke(GetDatalabsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDatalabsResult> getDatalabs(GetDatalabsArgs args, InvokeOptions options)
    public static Output<GetDatalabsResult> getDatalabs(GetDatalabsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scaleway:datalab/getDatalabs:getDatalabs
      arguments:
        # arguments dictionary
    data "scaleway_datalab_get_datalabs" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    The name to filter Datalabs by.
    OrganizationId string
    The organization ID to filter Datalabs by.
    ProjectId string
    The project ID to filter Datalabs by.
    Region string
    The region to list Datalabs from.
    Tags List<string>
    The tags to filter Datalabs by.
    Name string
    The name to filter Datalabs by.
    OrganizationId string
    The organization ID to filter Datalabs by.
    ProjectId string
    The project ID to filter Datalabs by.
    Region string
    The region to list Datalabs from.
    Tags []string
    The tags to filter Datalabs by.
    name string
    The name to filter Datalabs by.
    organization_id string
    The organization ID to filter Datalabs by.
    project_id string
    The project ID to filter Datalabs by.
    region string
    The region to list Datalabs from.
    tags list(string)
    The tags to filter Datalabs by.
    name String
    The name to filter Datalabs by.
    organizationId String
    The organization ID to filter Datalabs by.
    projectId String
    The project ID to filter Datalabs by.
    region String
    The region to list Datalabs from.
    tags List<String>
    The tags to filter Datalabs by.
    name string
    The name to filter Datalabs by.
    organizationId string
    The organization ID to filter Datalabs by.
    projectId string
    The project ID to filter Datalabs by.
    region string
    The region to list Datalabs from.
    tags string[]
    The tags to filter Datalabs by.
    name str
    The name to filter Datalabs by.
    organization_id str
    The organization ID to filter Datalabs by.
    project_id str
    The project ID to filter Datalabs by.
    region str
    The region to list Datalabs from.
    tags Sequence[str]
    The tags to filter Datalabs by.
    name String
    The name to filter Datalabs by.
    organizationId String
    The organization ID to filter Datalabs by.
    projectId String
    The project ID to filter Datalabs by.
    region String
    The region to list Datalabs from.
    tags List<String>
    The tags to filter Datalabs by.

    getDatalabs Result

    The following output properties are available:

    Datalabs List<Pulumiverse.Scaleway.Datalab.Outputs.GetDatalabsDatalab>
    The list of Datalab instances.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the Datalab instance.
    OrganizationId string
    ProjectId string
    The project ID of the Datalab instance.
    Region string
    The region of the Datalab instance.
    Tags List<string>
    Tags associated with the Datalab instance.
    Datalabs []GetDatalabsDatalab
    The list of Datalab instances.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the Datalab instance.
    OrganizationId string
    ProjectId string
    The project ID of the Datalab instance.
    Region string
    The region of the Datalab instance.
    Tags []string
    Tags associated with the Datalab instance.
    datalabs list(object)
    The list of Datalab instances.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the Datalab instance.
    organization_id string
    project_id string
    The project ID of the Datalab instance.
    region string
    The region of the Datalab instance.
    tags list(string)
    Tags associated with the Datalab instance.
    datalabs List<GetDatalabsDatalab>
    The list of Datalab instances.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the Datalab instance.
    organizationId String
    projectId String
    The project ID of the Datalab instance.
    region String
    The region of the Datalab instance.
    tags List<String>
    Tags associated with the Datalab instance.
    datalabs GetDatalabsDatalab[]
    The list of Datalab instances.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the Datalab instance.
    organizationId string
    projectId string
    The project ID of the Datalab instance.
    region string
    The region of the Datalab instance.
    tags string[]
    Tags associated with the Datalab instance.
    datalabs Sequence[GetDatalabsDatalab]
    The list of Datalab instances.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the Datalab instance.
    organization_id str
    project_id str
    The project ID of the Datalab instance.
    region str
    The region of the Datalab instance.
    tags Sequence[str]
    Tags associated with the Datalab instance.
    datalabs List<Property Map>
    The list of Datalab instances.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the Datalab instance.
    organizationId String
    projectId String
    The project ID of the Datalab instance.
    region String
    The region of the Datalab instance.
    tags List<String>
    Tags associated with the Datalab instance.

    Supporting Types

    GetDatalabsDatalab

    CreatedAt string
    The creation timestamp of the Datalab instance.
    Description string
    The description of the Datalab instance.
    HasNotebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    Id string
    The unique identifier of the Datalab instance.
    Name string
    The name to filter Datalabs by.
    ProjectId string
    The project ID to filter Datalabs by.
    Region string
    The region to list Datalabs from.
    SparkVersion string
    The Spark version of the Datalab instance.
    Status string
    The current status of the Datalab instance.
    Tags List<string>
    The tags to filter Datalabs by.
    UpdatedAt string
    The last update timestamp of the Datalab instance.
    CreatedAt string
    The creation timestamp of the Datalab instance.
    Description string
    The description of the Datalab instance.
    HasNotebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    Id string
    The unique identifier of the Datalab instance.
    Name string
    The name to filter Datalabs by.
    ProjectId string
    The project ID to filter Datalabs by.
    Region string
    The region to list Datalabs from.
    SparkVersion string
    The Spark version of the Datalab instance.
    Status string
    The current status of the Datalab instance.
    Tags []string
    The tags to filter Datalabs by.
    UpdatedAt string
    The last update timestamp of the Datalab instance.
    created_at string
    The creation timestamp of the Datalab instance.
    description string
    The description of the Datalab instance.
    has_notebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    id string
    The unique identifier of the Datalab instance.
    name string
    The name to filter Datalabs by.
    project_id string
    The project ID to filter Datalabs by.
    region string
    The region to list Datalabs from.
    spark_version string
    The Spark version of the Datalab instance.
    status string
    The current status of the Datalab instance.
    tags list(string)
    The tags to filter Datalabs by.
    updated_at string
    The last update timestamp of the Datalab instance.
    createdAt String
    The creation timestamp of the Datalab instance.
    description String
    The description of the Datalab instance.
    hasNotebook Boolean
    Whether a JupyterLab notebook is associated with the Datalab.
    id String
    The unique identifier of the Datalab instance.
    name String
    The name to filter Datalabs by.
    projectId String
    The project ID to filter Datalabs by.
    region String
    The region to list Datalabs from.
    sparkVersion String
    The Spark version of the Datalab instance.
    status String
    The current status of the Datalab instance.
    tags List<String>
    The tags to filter Datalabs by.
    updatedAt String
    The last update timestamp of the Datalab instance.
    createdAt string
    The creation timestamp of the Datalab instance.
    description string
    The description of the Datalab instance.
    hasNotebook boolean
    Whether a JupyterLab notebook is associated with the Datalab.
    id string
    The unique identifier of the Datalab instance.
    name string
    The name to filter Datalabs by.
    projectId string
    The project ID to filter Datalabs by.
    region string
    The region to list Datalabs from.
    sparkVersion string
    The Spark version of the Datalab instance.
    status string
    The current status of the Datalab instance.
    tags string[]
    The tags to filter Datalabs by.
    updatedAt string
    The last update timestamp of the Datalab instance.
    created_at str
    The creation timestamp of the Datalab instance.
    description str
    The description of the Datalab instance.
    has_notebook bool
    Whether a JupyterLab notebook is associated with the Datalab.
    id str
    The unique identifier of the Datalab instance.
    name str
    The name to filter Datalabs by.
    project_id str
    The project ID to filter Datalabs by.
    region str
    The region to list Datalabs from.
    spark_version str
    The Spark version of the Datalab instance.
    status str
    The current status of the Datalab instance.
    tags Sequence[str]
    The tags to filter Datalabs by.
    updated_at str
    The last update timestamp of the Datalab instance.
    createdAt String
    The creation timestamp of the Datalab instance.
    description String
    The description of the Datalab instance.
    hasNotebook Boolean
    Whether a JupyterLab notebook is associated with the Datalab.
    id String
    The unique identifier of the Datalab instance.
    name String
    The name to filter Datalabs by.
    projectId String
    The project ID to filter Datalabs by.
    region String
    The region to list Datalabs from.
    sparkVersion String
    The Spark version of the Datalab instance.
    status String
    The current status of the Datalab instance.
    tags List<String>
    The tags to filter Datalabs by.
    updatedAt String
    The last update timestamp of the Datalab instance.

    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