Viewing docs for Scaleway v1.60.0
published on Saturday, Oct 24, 2026 by pulumiverse
published on Saturday, Oct 24, 2026 by pulumiverse
Viewing docs for Scaleway v1.60.0
published on Saturday, Oct 24, 2026 by pulumiverse
published on Saturday, Oct 24, 2026 by pulumiverse
Gets information about available RDB node types.
For further information refer to the Managed Databases for PostgreSQL and MySQL API documentation
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const all = scaleway.databases.getNodeTypes({
region: "fr-par",
includeDisabledTypes: false,
});
const selectedNodeType = all.then(all => all.nodeTypes?.[0]?.name);
import pulumi
import pulumi_scaleway as scaleway
all = scaleway.databases.get_node_types(region="fr-par",
include_disabled_types=False)
selected_node_type = all.node_types[0].name
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/databases"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
all, err := databases.GetNodeTypes(ctx, &databases.GetNodeTypesArgs{
Region: pulumi.StringRef("fr-par"),
IncludeDisabledTypes: pulumi.BoolRef(false),
}, nil)
if err != nil {
return err
}
_ := all.NodeTypes[0].Name
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var all = Scaleway.Databases.GetNodeTypes.Invoke(new()
{
Region = "fr-par",
IncludeDisabledTypes = false,
});
var selectedNodeType = all.Apply(getNodeTypesResult => getNodeTypesResult.NodeTypes[0]?.Name);
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.databases.DatabasesFunctions;
import com.pulumi.scaleway.databases.inputs.GetNodeTypesArgs;
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 = DatabasesFunctions.getNodeTypes(GetNodeTypesArgs.builder()
.region("fr-par")
.includeDisabledTypes(false)
.build());
final var selectedNodeType = all.nodeTypes()[0].name();
}
}
variables:
all:
fn::invoke:
function: scaleway:databases:getNodeTypes
arguments:
region: fr-par
includeDisabledTypes: false
selectedNodeType: ${all.nodeTypes[0].name}
pulumi {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_databases_getnodetypes" "all" {
region = "fr-par"
include_disabled_types = false
}
locals {
selectedNodeType = data.scaleway_databases_getnodetypes.all.node_types[0].name
}
Using getNodeTypes
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 getNodeTypes(args: GetNodeTypesArgs, opts?: InvokeOptions): Promise<GetNodeTypesResult>
function getNodeTypesOutput(args: GetNodeTypesOutputArgs, opts?: InvokeOutputOptions): Output<GetNodeTypesResult>def get_node_types(include_disabled_types: Optional[bool] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNodeTypesResult
def get_node_types_output(include_disabled_types: pulumi.Input[Optional[bool]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetNodeTypesResult]func GetNodeTypes(ctx *Context, args *GetNodeTypesArgs, opts ...InvokeOption) (*GetNodeTypesResult, error)
func GetNodeTypesOutput(ctx *Context, args *GetNodeTypesOutputArgs, opts ...InvokeOption) GetNodeTypesResultOutput> Note: This function is named GetNodeTypes in the Go SDK.
public static class GetNodeTypes
{
public static Task<GetNodeTypesResult> InvokeAsync(GetNodeTypesArgs args, InvokeOptions? opts = null)
public static Output<GetNodeTypesResult> Invoke(GetNodeTypesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetNodeTypesResult> Invoke(GetNodeTypesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetNodeTypesResult> getNodeTypes(GetNodeTypesArgs args, InvokeOptions options)
public static Output<GetNodeTypesResult> getNodeTypes(GetNodeTypesArgs args, InvokeOptions options)
public static Output<GetNodeTypesResult> getNodeTypes(GetNodeTypesArgs args, InvokeOutputOptions options)
fn::invoke:
function: scaleway:databases/getNodeTypes:getNodeTypes
arguments:
# arguments dictionarydata "scaleway_databases_get_node_types" "name" {
# arguments
}The following arguments are supported:
- Include
Disabled boolTypes - Whether to include disabled node types in the list. Defaults to
false. - Region string
region) The region in which to list node types.
- Include
Disabled boolTypes - Whether to include disabled node types in the list. Defaults to
false. - Region string
region) The region in which to list node types.
- include_
disabled_ booltypes - Whether to include disabled node types in the list. Defaults to
false. - region string
region) The region in which to list node types.
- include
Disabled BooleanTypes - Whether to include disabled node types in the list. Defaults to
false. - region String
region) The region in which to list node types.
- include
Disabled booleanTypes - Whether to include disabled node types in the list. Defaults to
false. - region string
region) The region in which to list node types.
- include_
disabled_ booltypes - Whether to include disabled node types in the list. Defaults to
false. - region str
region) The region in which to list node types.
- include
Disabled BooleanTypes - Whether to include disabled node types in the list. Defaults to
false. - region String
region) The region in which to list node types.
getNodeTypes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Types List<Pulumiverse.Scaleway. Databases. Outputs. Get Node Types Node Type> - List of available RDB node types.
- Region string
- Include
Disabled boolTypes
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Types []GetNode Types Node Type - List of available RDB node types.
- Region string
- Include
Disabled boolTypes
- id string
- The provider-assigned unique ID for this managed resource.
- node_
types list(object) - List of available RDB node types.
- region string
- include_
disabled_ booltypes
- id String
- The provider-assigned unique ID for this managed resource.
- node
Types List<GetNode Types Node Type> - List of available RDB node types.
- region String
- include
Disabled BooleanTypes
- id string
- The provider-assigned unique ID for this managed resource.
- node
Types GetNode Types Node Type[] - List of available RDB node types.
- region string
- include
Disabled booleanTypes
- id str
- The provider-assigned unique ID for this managed resource.
- node_
types Sequence[GetNode Types Node Type] - List of available RDB node types.
- region str
- include_
disabled_ booltypes
- id String
- The provider-assigned unique ID for this managed resource.
- node
Types List<Property Map> - List of available RDB node types.
- region String
- include
Disabled BooleanTypes
Supporting Types
GetNodeTypesNodeType
- Available
Volume List<Pulumiverse.Types Scaleway. Databases. Inputs. Get Node Types Node Type Available Volume Type> - Available storage options for the node type.
- Beta bool
- Whether the node type is currently in beta.
- Description string
- Description of the volume type.
- Disabled bool
- Whether the node type is currently disabled.
- Generation string
- Generation associated with the node type offer.
- Instance
Range string - Instance range associated with the node type offer.
- bool
- Whether the node type can only be used with high availability.
- Memory
Size intIn Gb - Amount of memory available in GB.
- Name string
- Name identifier of the node type.
- Stock
Status string - Current stock status for the node type.
- Vcpus int
- Number of virtual CPUs.
- Available
Volume []GetTypes Node Types Node Type Available Volume Type - Available storage options for the node type.
- Beta bool
- Whether the node type is currently in beta.
- Description string
- Description of the volume type.
- Disabled bool
- Whether the node type is currently disabled.
- Generation string
- Generation associated with the node type offer.
- Instance
Range string - Instance range associated with the node type offer.
- bool
- Whether the node type can only be used with high availability.
- Memory
Size intIn Gb - Amount of memory available in GB.
- Name string
- Name identifier of the node type.
- Stock
Status string - Current stock status for the node type.
- Vcpus int
- Number of virtual CPUs.
- available_
volume_ list(object)types - Available storage options for the node type.
- beta bool
- Whether the node type is currently in beta.
- description string
- Description of the volume type.
- disabled bool
- Whether the node type is currently disabled.
- generation string
- Generation associated with the node type offer.
- instance_
range string - Instance range associated with the node type offer.
- is_
ha_ boolrequired - Whether the node type can only be used with high availability.
- memory_
size_ numberin_ gb - Amount of memory available in GB.
- name string
- Name identifier of the node type.
- stock_
status string - Current stock status for the node type.
- vcpus number
- Number of virtual CPUs.
- available
Volume List<GetTypes Node Types Node Type Available Volume Type> - Available storage options for the node type.
- beta Boolean
- Whether the node type is currently in beta.
- description String
- Description of the volume type.
- disabled Boolean
- Whether the node type is currently disabled.
- generation String
- Generation associated with the node type offer.
- instance
Range String - Instance range associated with the node type offer.
- Boolean
- Whether the node type can only be used with high availability.
- memory
Size IntegerIn Gb - Amount of memory available in GB.
- name String
- Name identifier of the node type.
- stock
Status String - Current stock status for the node type.
- vcpus Integer
- Number of virtual CPUs.
- available
Volume GetTypes Node Types Node Type Available Volume Type[] - Available storage options for the node type.
- beta boolean
- Whether the node type is currently in beta.
- description string
- Description of the volume type.
- disabled boolean
- Whether the node type is currently disabled.
- generation string
- Generation associated with the node type offer.
- instance
Range string - Instance range associated with the node type offer.
- boolean
- Whether the node type can only be used with high availability.
- memory
Size numberIn Gb - Amount of memory available in GB.
- name string
- Name identifier of the node type.
- stock
Status string - Current stock status for the node type.
- vcpus number
- Number of virtual CPUs.
- available_
volume_ Sequence[Gettypes Node Types Node Type Available Volume Type] - Available storage options for the node type.
- beta bool
- Whether the node type is currently in beta.
- description str
- Description of the volume type.
- disabled bool
- Whether the node type is currently disabled.
- generation str
- Generation associated with the node type offer.
- instance_
range str - Instance range associated with the node type offer.
- is_
ha_ boolrequired - Whether the node type can only be used with high availability.
- memory_
size_ intin_ gb - Amount of memory available in GB.
- name str
- Name identifier of the node type.
- stock_
status str - Current stock status for the node type.
- vcpus int
- Number of virtual CPUs.
- available
Volume List<Property Map>Types - Available storage options for the node type.
- beta Boolean
- Whether the node type is currently in beta.
- description String
- Description of the volume type.
- disabled Boolean
- Whether the node type is currently disabled.
- generation String
- Generation associated with the node type offer.
- instance
Range String - Instance range associated with the node type offer.
- Boolean
- Whether the node type can only be used with high availability.
- memory
Size NumberIn Gb - Amount of memory available in GB.
- name String
- Name identifier of the node type.
- stock
Status String - Current stock status for the node type.
- vcpus Number
- Number of virtual CPUs.
GetNodeTypesNodeTypeAvailableVolumeType
- Chunk
Size intIn Gb - Minimum increment level for a Block Storage volume size in GB.
- Class string
- Storage class of the volume.
- Description string
- Description of the volume type.
- Max
Size intIn Gb - Maximum volume size in GB.
- Min
Size intIn Gb - Minimum volume size in GB.
- Type string
- Volume type.
- Chunk
Size intIn Gb - Minimum increment level for a Block Storage volume size in GB.
- Class string
- Storage class of the volume.
- Description string
- Description of the volume type.
- Max
Size intIn Gb - Maximum volume size in GB.
- Min
Size intIn Gb - Minimum volume size in GB.
- Type string
- Volume type.
- chunk_
size_ numberin_ gb - Minimum increment level for a Block Storage volume size in GB.
- class string
- Storage class of the volume.
- description string
- Description of the volume type.
- max_
size_ numberin_ gb - Maximum volume size in GB.
- min_
size_ numberin_ gb - Minimum volume size in GB.
- type string
- Volume type.
- chunk
Size IntegerIn Gb - Minimum increment level for a Block Storage volume size in GB.
- class_ String
- Storage class of the volume.
- description String
- Description of the volume type.
- max
Size IntegerIn Gb - Maximum volume size in GB.
- min
Size IntegerIn Gb - Minimum volume size in GB.
- type String
- Volume type.
- chunk
Size numberIn Gb - Minimum increment level for a Block Storage volume size in GB.
- class string
- Storage class of the volume.
- description string
- Description of the volume type.
- max
Size numberIn Gb - Maximum volume size in GB.
- min
Size numberIn Gb - Minimum volume size in GB.
- type string
- Volume type.
- chunk_
size_ intin_ gb - Minimum increment level for a Block Storage volume size in GB.
- class_ str
- Storage class of the volume.
- description str
- Description of the volume type.
- max_
size_ intin_ gb - Maximum volume size in GB.
- min_
size_ intin_ gb - Minimum volume size in GB.
- type str
- Volume type.
- chunk
Size NumberIn Gb - Minimum increment level for a Block Storage volume size in GB.
- class String
- Storage class of the volume.
- description String
- Description of the volume type.
- max
Size NumberIn Gb - Maximum volume size in GB.
- min
Size NumberIn Gb - Minimum volume size in GB.
- type String
- Volume type.
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.60.0
published on Saturday, Oct 24, 2026 by pulumiverse
published on Saturday, Oct 24, 2026 by pulumiverse