Viewing docs for Scaleway v1.62.1
published on Friday, Nov 13, 2026 by pulumiverse
published on Friday, Nov 13, 2026 by pulumiverse
Viewing docs for Scaleway v1.62.1
published on Friday, Nov 13, 2026 by pulumiverse
published on Friday, Nov 13, 2026 by pulumiverse
Gets information about available Redis™ node types.
For further information refer to the Managed Database for Redis™ API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const available = scaleway.redis.getNodeTypes({
zone: "fr-par-1",
includeDisabledTypes: false,
});
const selectedNodeType = available.then(available => available.nodeTypes?.[0]?.name);
import pulumi
import pulumi_scaleway as scaleway
available = scaleway.redis.get_node_types(zone="fr-par-1",
include_disabled_types=False)
selected_node_type = available.node_types[0].name
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/redis"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
available, err := redis.GetNodeTypes(ctx, &redis.GetNodeTypesArgs{
Zone: pulumi.StringRef("fr-par-1"),
IncludeDisabledTypes: pulumi.BoolRef(false),
}, nil)
if err != nil {
return err
}
_ := available.NodeTypes[0].Name
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var available = Scaleway.Redis.GetNodeTypes.Invoke(new()
{
Zone = "fr-par-1",
IncludeDisabledTypes = false,
});
var selectedNodeType = available.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.redis.RedisFunctions;
import com.pulumi.scaleway.redis.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 available = RedisFunctions.getNodeTypes(GetNodeTypesArgs.builder()
.zone("fr-par-1")
.includeDisabledTypes(false)
.build());
final var selectedNodeType = available.nodeTypes()[0].name();
}
}
variables:
available:
fn::invoke:
function: scaleway:redis:getNodeTypes
arguments:
zone: fr-par-1
includeDisabledTypes: false
selectedNodeType: ${available.nodeTypes[0].name}
terraform {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_redis_node_types" "available" {
zone = "fr-par-1"
include_disabled_types = false
}
locals {
selectedNodeType = data.scaleway_redis_node_types.available.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,
zone: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNodeTypesResult
def get_node_types_output(include_disabled_types: pulumi.Input[Optional[bool]] = None,
zone: 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:redis/getNodeTypes:getNodeTypes
arguments:
# arguments dictionarydata "scaleway_redis_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. - Zone string
zone) The zone in which to list node types.
- Include
Disabled boolTypes - Whether to include disabled node types in the list. Defaults to
false. - Zone string
zone) The zone in which to list node types.
- include_
disabled_ booltypes - Whether to include disabled node types in the list. Defaults to
false. - zone string
zone) The zone in which to list node types.
- include
Disabled BooleanTypes - Whether to include disabled node types in the list. Defaults to
false. - zone String
zone) The zone in which to list node types.
- include
Disabled booleanTypes - Whether to include disabled node types in the list. Defaults to
false. - zone string
zone) The zone in which to list node types.
- include_
disabled_ booltypes - Whether to include disabled node types in the list. Defaults to
false. - zone str
zone) The zone in which to list node types.
- include
Disabled BooleanTypes - Whether to include disabled node types in the list. Defaults to
false. - zone String
zone) The zone 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. Redis. Outputs. Get Node Types Node Type> - List of available Redis™ node types.
- Zone string
- Include
Disabled boolTypes
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Types []GetNode Types Node Type - List of available Redis™ node types.
- Zone string
- Include
Disabled boolTypes
- id string
- The provider-assigned unique ID for this managed resource.
- node_
types list(object) - List of available Redis™ node types.
- zone 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 Redis™ node types.
- zone String
- include
Disabled BooleanTypes
- id string
- The provider-assigned unique ID for this managed resource.
- node
Types GetNode Types Node Type[] - List of available Redis™ node types.
- zone 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 Redis™ node types.
- zone str
- include_
disabled_ booltypes
- id String
- The provider-assigned unique ID for this managed resource.
- node
Types List<Property Map> - List of available Redis™ node types.
- zone String
- include
Disabled BooleanTypes
Supporting Types
GetNodeTypesNodeType
- Beta bool
- Whether the node type is currently in beta.
- Description string
- Current specifications of the offer.
- Disabled bool
- Whether the node type is currently disabled.
- Memory
Size intIn Gb - Amount of memory available in GB.
- Name string
- Name of the node type.
- Stock
Status string - Current stock status of the node type.
- Vcpus int
- Number of virtual CPUs.
- Beta bool
- Whether the node type is currently in beta.
- Description string
- Current specifications of the offer.
- Disabled bool
- Whether the node type is currently disabled.
- Memory
Size intIn Gb - Amount of memory available in GB.
- Name string
- Name of the node type.
- Stock
Status string - Current stock status of the node type.
- Vcpus int
- Number of virtual CPUs.
- beta bool
- Whether the node type is currently in beta.
- description string
- Current specifications of the offer.
- disabled bool
- Whether the node type is currently disabled.
- memory_
size_ numberin_ gb - Amount of memory available in GB.
- name string
- Name of the node type.
- stock_
status string - Current stock status of the node type.
- vcpus number
- Number of virtual CPUs.
- beta Boolean
- Whether the node type is currently in beta.
- description String
- Current specifications of the offer.
- disabled Boolean
- Whether the node type is currently disabled.
- memory
Size IntegerIn Gb - Amount of memory available in GB.
- name String
- Name of the node type.
- stock
Status String - Current stock status of the node type.
- vcpus Integer
- Number of virtual CPUs.
- beta boolean
- Whether the node type is currently in beta.
- description string
- Current specifications of the offer.
- disabled boolean
- Whether the node type is currently disabled.
- memory
Size numberIn Gb - Amount of memory available in GB.
- name string
- Name of the node type.
- stock
Status string - Current stock status of the node type.
- vcpus number
- Number of virtual CPUs.
- beta bool
- Whether the node type is currently in beta.
- description str
- Current specifications of the offer.
- disabled bool
- Whether the node type is currently disabled.
- memory_
size_ intin_ gb - Amount of memory available in GB.
- name str
- Name of the node type.
- stock_
status str - Current stock status of the node type.
- vcpus int
- Number of virtual CPUs.
- beta Boolean
- Whether the node type is currently in beta.
- description String
- Current specifications of the offer.
- disabled Boolean
- Whether the node type is currently disabled.
- memory
Size NumberIn Gb - Amount of memory available in GB.
- name String
- Name of the node type.
- stock
Status String - Current stock status of the node type.
- vcpus Number
- Number of virtual CPUs.
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.62.1
published on Friday, Nov 13, 2026 by pulumiverse
published on Friday, Nov 13, 2026 by pulumiverse