Viewing docs for Scaleway v1.53.0
published on Friday, Jul 17, 2026 by pulumiverse
published on Friday, Jul 17, 2026 by pulumiverse
Viewing docs for Scaleway v1.53.0
published on Friday, Jul 17, 2026 by pulumiverse
published on Friday, Jul 17, 2026 by pulumiverse
Retrieves information about a Scaleway Datalab instance.
Example Usage
By ID
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const byId = scaleway.datalab.getDatalab({
datalabId: main.id,
});
import pulumi
import pulumi_scaleway as scaleway
by_id = scaleway.datalab.get_datalab(datalab_id=main["id"])
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.LookupDatalab(ctx, &datalab.LookupDatalabArgs{
DatalabId: pulumi.StringRef(main.Id),
}, 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 byId = Scaleway.Datalab.GetDatalab.Invoke(new()
{
DatalabId = main.Id,
});
});
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.GetDatalabArgs;
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 byId = DatalabFunctions.getDatalab(GetDatalabArgs.builder()
.datalabId(main.id())
.build());
}
}
variables:
byId:
fn::invoke:
function: scaleway:datalab:getDatalab
arguments:
datalabId: ${main.id}
Example coming soon!
By Name
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const byName = scaleway.datalab.getDatalab({
name: "my-datalab",
region: "fr-par",
});
import pulumi
import pulumi_scaleway as scaleway
by_name = scaleway.datalab.get_datalab(name="my-datalab",
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.LookupDatalab(ctx, &datalab.LookupDatalabArgs{
Name: pulumi.StringRef("my-datalab"),
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 byName = Scaleway.Datalab.GetDatalab.Invoke(new()
{
Name = "my-datalab",
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.GetDatalabArgs;
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 byName = DatalabFunctions.getDatalab(GetDatalabArgs.builder()
.name("my-datalab")
.region("fr-par")
.build());
}
}
variables:
byName:
fn::invoke:
function: scaleway:datalab:getDatalab
arguments:
name: my-datalab
region: fr-par
Example coming soon!
Using getDatalab
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 getDatalab(args: GetDatalabArgs, opts?: InvokeOptions): Promise<GetDatalabResult>
function getDatalabOutput(args: GetDatalabOutputArgs, opts?: InvokeOptions): Output<GetDatalabResult>def get_datalab(datalab_id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatalabResult
def get_datalab_output(datalab_id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatalabResult]func LookupDatalab(ctx *Context, args *LookupDatalabArgs, opts ...InvokeOption) (*LookupDatalabResult, error)
func LookupDatalabOutput(ctx *Context, args *LookupDatalabOutputArgs, opts ...InvokeOption) LookupDatalabResultOutput> Note: This function is named LookupDatalab in the Go SDK.
public static class GetDatalab
{
public static Task<GetDatalabResult> InvokeAsync(GetDatalabArgs args, InvokeOptions? opts = null)
public static Output<GetDatalabResult> Invoke(GetDatalabInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatalabResult> getDatalab(GetDatalabArgs args, InvokeOptions options)
public static Output<GetDatalabResult> getDatalab(GetDatalabArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:datalab/getDatalab:getDatalab
arguments:
# arguments dictionarydata "scaleway_datalab_get_datalab" "name" {
# arguments
}The following arguments are supported:
- Datalab
Id string - The ID of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - Name string
- The name of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - Project
Id string - The project ID the Datalab belongs to.
- Region string
region) The region the Datalab is in.
- Datalab
Id string - The ID of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - Name string
- The name of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - Project
Id string - The project ID the Datalab belongs to.
- Region string
region) The region the Datalab is in.
- datalab_
id string - The ID of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - name string
- The name of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - project_
id string - The project ID the Datalab belongs to.
- region string
region) The region the Datalab is in.
- datalab
Id String - The ID of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - name String
- The name of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - project
Id String - The project ID the Datalab belongs to.
- region String
region) The region the Datalab is in.
- datalab
Id string - The ID of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - name string
- The name of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - project
Id string - The project ID the Datalab belongs to.
- region string
region) The region the Datalab is in.
- datalab_
id str - The ID of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - name str
- The name of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - project_
id str - The project ID the Datalab belongs to.
- region str
region) The region the Datalab is in.
- datalab
Id String - The ID of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - name String
- The name of the Datalab instance to look up. Only one of
datalabIdandnameshould be specified. - project
Id String - The project ID the Datalab belongs to.
- region String
region) The region the Datalab is in.
getDatalab Result
The following output properties are available:
- Created
At string - Description string
- Has
Notebook bool - Id string
- Main
Pulumiverse.
Scaleway. Datalab. Outputs. Get Datalab Main - Name string
- Notebook
Master stringUrl - Notebook
Url string - Private
Network stringId - Project
Id string - Region string
- Spark
Version string - Status string
- List<string>
- Total
Storage Pulumiverse.Scaleway. Datalab. Outputs. Get Datalab Total Storage - Updated
At string - Worker
Pulumiverse.
Scaleway. Datalab. Outputs. Get Datalab Worker - Datalab
Id string
- Created
At string - Description string
- Has
Notebook bool - Id string
- Main
Get
Datalab Main - Name string
- Notebook
Master stringUrl - Notebook
Url string - Private
Network stringId - Project
Id string - Region string
- Spark
Version string - Status string
- []string
- Total
Storage GetDatalab Total Storage - Updated
At string - Worker
Get
Datalab Worker - Datalab
Id string
- created_
at string - description string
- has_
notebook bool - id string
- main object
- name string
- notebook_
master_ stringurl - notebook_
url string - private_
network_ stringid - project_
id string - region string
- spark_
version string - status string
- list(string)
- total_
storage object - updated_
at string - worker object
- datalab_
id string
- created
At String - description String
- has
Notebook Boolean - id String
- main
Get
Datalab Main - name String
- notebook
Master StringUrl - notebook
Url String - private
Network StringId - project
Id String - region String
- spark
Version String - status String
- List<String>
- total
Storage GetDatalab Total Storage - updated
At String - worker
Get
Datalab Worker - datalab
Id String
- created
At string - description string
- has
Notebook boolean - id string
- main
Get
Datalab Main - name string
- notebook
Master stringUrl - notebook
Url string - private
Network stringId - project
Id string - region string
- spark
Version string - status string
- string[]
- total
Storage GetDatalab Total Storage - updated
At string - worker
Get
Datalab Worker - datalab
Id string
- created_
at str - description str
- has_
notebook bool - id str
- main
Get
Datalab Main - name str
- notebook_
master_ strurl - notebook_
url str - private_
network_ strid - project_
id str - region str
- spark_
version str - status str
- Sequence[str]
- total_
storage GetDatalab Total Storage - updated_
at str - worker
Get
Datalab Worker - datalab_
id str
- created
At String - description String
- has
Notebook Boolean - id String
- main Property Map
- name String
- notebook
Master StringUrl - notebook
Url String - private
Network StringId - project
Id String - region String
- spark
Version String - status String
- List<String>
- total
Storage Property Map - updated
At String - worker Property Map
- datalab
Id String
Supporting Types
GetDatalabMain
- Node
Type string - The node type for the main node.
- Root
Volume Pulumiverse.Scaleway. Datalab. Inputs. Get Datalab Main Root Volume - Volume details for the main node.
- Spark
Master stringUrl - The Spark master URL within the VPC.
- Spark
Ui stringUrl - The Spark UI URL.
- Node
Type string - The node type for the main node.
- Root
Volume GetDatalab Main Root Volume - Volume details for the main node.
- Spark
Master stringUrl - The Spark master URL within the VPC.
- Spark
Ui stringUrl - The Spark UI URL.
- node_
type string - The node type for the main node.
- root_
volume object - Volume details for the main node.
- spark_
master_ stringurl - The Spark master URL within the VPC.
- spark_
ui_ stringurl - The Spark UI URL.
- node
Type String - The node type for the main node.
- root
Volume GetDatalab Main Root Volume - Volume details for the main node.
- spark
Master StringUrl - The Spark master URL within the VPC.
- spark
Ui StringUrl - The Spark UI URL.
- node
Type string - The node type for the main node.
- root
Volume GetDatalab Main Root Volume - Volume details for the main node.
- spark
Master stringUrl - The Spark master URL within the VPC.
- spark
Ui stringUrl - The Spark UI URL.
- node_
type str - The node type for the main node.
- root_
volume GetDatalab Main Root Volume - Volume details for the main node.
- spark_
master_ strurl - The Spark master URL within the VPC.
- spark_
ui_ strurl - The Spark UI URL.
- node
Type String - The node type for the main node.
- root
Volume Property Map - Volume details for the main node.
- spark
Master StringUrl - The Spark master URL within the VPC.
- spark
Ui StringUrl - The Spark UI URL.
GetDatalabMainRootVolume
GetDatalabTotalStorage
GetDatalabWorker
- Node
Count int - The number of worker nodes.
- Node
Type string - The node type for worker nodes.
- Root
Volume Pulumiverse.Scaleway. Datalab. Inputs. Get Datalab Worker Root Volume - Volume details for worker nodes.
- Node
Count int - The number of worker nodes.
- Node
Type string - The node type for worker nodes.
- Root
Volume GetDatalab Worker Root Volume - 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.
- node
Count Integer - The number of worker nodes.
- node
Type String - The node type for worker nodes.
- root
Volume GetDatalab Worker Root Volume - Volume details for worker nodes.
- node
Count number - The number of worker nodes.
- node
Type string - The node type for worker nodes.
- root
Volume GetDatalab Worker Root Volume - Volume details for worker nodes.
- node_
count int - The number of worker nodes.
- node_
type str - The node type for worker nodes.
- root_
volume GetDatalab Worker Root Volume - Volume details for worker nodes.
- node
Count Number - The number of worker nodes.
- node
Type String - The node type for worker nodes.
- root
Volume Property Map - Volume details for worker nodes.
GetDatalabWorkerRootVolume
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
Viewing docs for Scaleway v1.53.0
published on Friday, Jul 17, 2026 by pulumiverse
published on Friday, Jul 17, 2026 by pulumiverse