1. Registry
  2. Packages
  3. Scaleway
  4. API Docs
  5. messageq
  6. getNodeType
Viewing docs for Scaleway v1.60.0
published on Saturday, Oct 24, 2026 by pulumiverse
scaleway logo
Viewing docs for Scaleway v1.60.0
published on Saturday, Oct 24, 2026 by pulumiverse

    Gets information about an available MessageQ node type.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const main = scaleway.messageq.getNodeType({
        name: "MESSAGEQ-SHARED-2C-8G",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    main = scaleway.messageq.get_node_type(name="MESSAGEQ-SHARED-2C-8G")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/messageq"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := messageq.GetNodeType(ctx, &messageq.GetNodeTypeArgs{
    			Name: "MESSAGEQ-SHARED-2C-8G",
    		}, 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 main = Scaleway.Messageq.GetNodeType.Invoke(new()
        {
            Name = "MESSAGEQ-SHARED-2C-8G",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.messageq.MessageqFunctions;
    import com.pulumi.scaleway.messageq.inputs.GetNodeTypeArgs;
    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 main = MessageqFunctions.getNodeType(GetNodeTypeArgs.builder()
                .name("MESSAGEQ-SHARED-2C-8G")
                .build());
    
        }
    }
    
    variables:
      main:
        fn::invoke:
          function: scaleway:messageq:getNodeType
          arguments:
            name: MESSAGEQ-SHARED-2C-8G
    
    pulumi {
      required_providers {
        scaleway = {
          source = "pulumi/scaleway"
        }
      }
    }
    
    data "scaleway_messageq_getnodetype" "main" {
      name = "MESSAGEQ-SHARED-2C-8G"
    }
    

    Using getNodeType

    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 getNodeType(args: GetNodeTypeArgs, opts?: InvokeOptions): Promise<GetNodeTypeResult>
    function getNodeTypeOutput(args: GetNodeTypeOutputArgs, opts?: InvokeOutputOptions): Output<GetNodeTypeResult>
    def get_node_type(name: Optional[str] = None,
                      region: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetNodeTypeResult
    def get_node_type_output(name: pulumi.Input[Optional[str]] = None,
                      region: pulumi.Input[Optional[str]] = None,
                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetNodeTypeResult]
    func GetNodeType(ctx *Context, args *GetNodeTypeArgs, opts ...InvokeOption) (*GetNodeTypeResult, error)
    func GetNodeTypeOutput(ctx *Context, args *GetNodeTypeOutputArgs, opts ...InvokeOption) GetNodeTypeResultOutput

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

    public static class GetNodeType 
    {
        public static Task<GetNodeTypeResult> InvokeAsync(GetNodeTypeArgs args, InvokeOptions? opts = null)
        public static Output<GetNodeTypeResult> Invoke(GetNodeTypeInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetNodeTypeResult> Invoke(GetNodeTypeInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetNodeTypeResult> getNodeType(GetNodeTypeArgs args, InvokeOptions options)
    public static Output<GetNodeTypeResult> getNodeType(GetNodeTypeArgs args, InvokeOptions options)
    public static Output<GetNodeTypeResult> getNodeType(GetNodeTypeArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: scaleway:messageq/getNodeType:getNodeType
      arguments:
        # arguments dictionary
    data "scaleway_messageq_get_node_type" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    The node type name.
    Region string
    region) The region in which the node type is available.
    Name string
    The node type name.
    Region string
    region) The region in which the node type is available.
    name string
    The node type name.
    region string
    region) The region in which the node type is available.
    name String
    The node type name.
    region String
    region) The region in which the node type is available.
    name string
    The node type name.
    region string
    region) The region in which the node type is available.
    name str
    The node type name.
    region str
    region) The region in which the node type is available.
    name String
    The node type name.
    region String
    region) The region in which the node type is available.

    getNodeType Result

    The following output properties are available:

    AvailableVolumeTypes List<Pulumiverse.Scaleway.Messageq.Outputs.GetNodeTypeAvailableVolumeType>
    Available storage options for the node type.
    Beta bool
    Whether the node type is in beta.
    Description string
    Volume type description.
    Disabled bool
    Whether the node type is disabled.
    Id string
    The ID of the node type in the {region}/{name} format.
    InstanceRange string
    Instance range associated with the node type offer.
    MemorySizeInGb int
    Amount of memory available in GB.
    Name string
    Region string
    StockStatus string
    Stock status of the node type.
    Vcpus int
    Number of vCPUs available.
    AvailableVolumeTypes []GetNodeTypeAvailableVolumeType
    Available storage options for the node type.
    Beta bool
    Whether the node type is in beta.
    Description string
    Volume type description.
    Disabled bool
    Whether the node type is disabled.
    Id string
    The ID of the node type in the {region}/{name} format.
    InstanceRange string
    Instance range associated with the node type offer.
    MemorySizeInGb int
    Amount of memory available in GB.
    Name string
    Region string
    StockStatus string
    Stock status of the node type.
    Vcpus int
    Number of vCPUs available.
    available_volume_types list(object)
    Available storage options for the node type.
    beta bool
    Whether the node type is in beta.
    description string
    Volume type description.
    disabled bool
    Whether the node type is disabled.
    id string
    The ID of the node type in the {region}/{name} format.
    instance_range string
    Instance range associated with the node type offer.
    memory_size_in_gb number
    Amount of memory available in GB.
    name string
    region string
    stock_status string
    Stock status of the node type.
    vcpus number
    Number of vCPUs available.
    availableVolumeTypes List<GetNodeTypeAvailableVolumeType>
    Available storage options for the node type.
    beta Boolean
    Whether the node type is in beta.
    description String
    Volume type description.
    disabled Boolean
    Whether the node type is disabled.
    id String
    The ID of the node type in the {region}/{name} format.
    instanceRange String
    Instance range associated with the node type offer.
    memorySizeInGb Integer
    Amount of memory available in GB.
    name String
    region String
    stockStatus String
    Stock status of the node type.
    vcpus Integer
    Number of vCPUs available.
    availableVolumeTypes GetNodeTypeAvailableVolumeType[]
    Available storage options for the node type.
    beta boolean
    Whether the node type is in beta.
    description string
    Volume type description.
    disabled boolean
    Whether the node type is disabled.
    id string
    The ID of the node type in the {region}/{name} format.
    instanceRange string
    Instance range associated with the node type offer.
    memorySizeInGb number
    Amount of memory available in GB.
    name string
    region string
    stockStatus string
    Stock status of the node type.
    vcpus number
    Number of vCPUs available.
    available_volume_types Sequence[GetNodeTypeAvailableVolumeType]
    Available storage options for the node type.
    beta bool
    Whether the node type is in beta.
    description str
    Volume type description.
    disabled bool
    Whether the node type is disabled.
    id str
    The ID of the node type in the {region}/{name} format.
    instance_range str
    Instance range associated with the node type offer.
    memory_size_in_gb int
    Amount of memory available in GB.
    name str
    region str
    stock_status str
    Stock status of the node type.
    vcpus int
    Number of vCPUs available.
    availableVolumeTypes List<Property Map>
    Available storage options for the node type.
    beta Boolean
    Whether the node type is in beta.
    description String
    Volume type description.
    disabled Boolean
    Whether the node type is disabled.
    id String
    The ID of the node type in the {region}/{name} format.
    instanceRange String
    Instance range associated with the node type offer.
    memorySizeInGb Number
    Amount of memory available in GB.
    name String
    region String
    stockStatus String
    Stock status of the node type.
    vcpus Number
    Number of vCPUs available.

    Supporting Types

    GetNodeTypeAvailableVolumeType

    ChunkSizeInGb int
    Volume size increment in GB.
    Description string
    Volume type description.
    MaxSizeInGb int
    Maximum volume size in GB.
    MinSizeInGb int
    Minimum volume size in GB.
    Type string
    Volume type.
    ChunkSizeInGb int
    Volume size increment in GB.
    Description string
    Volume type description.
    MaxSizeInGb int
    Maximum volume size in GB.
    MinSizeInGb int
    Minimum volume size in GB.
    Type string
    Volume type.
    chunk_size_in_gb number
    Volume size increment in GB.
    description string
    Volume type description.
    max_size_in_gb number
    Maximum volume size in GB.
    min_size_in_gb number
    Minimum volume size in GB.
    type string
    Volume type.
    chunkSizeInGb Integer
    Volume size increment in GB.
    description String
    Volume type description.
    maxSizeInGb Integer
    Maximum volume size in GB.
    minSizeInGb Integer
    Minimum volume size in GB.
    type String
    Volume type.
    chunkSizeInGb number
    Volume size increment in GB.
    description string
    Volume type description.
    maxSizeInGb number
    Maximum volume size in GB.
    minSizeInGb number
    Minimum volume size in GB.
    type string
    Volume type.
    chunk_size_in_gb int
    Volume size increment in GB.
    description str
    Volume type description.
    max_size_in_gb int
    Maximum volume size in GB.
    min_size_in_gb int
    Minimum volume size in GB.
    type str
    Volume type.
    chunkSizeInGb Number
    Volume size increment in GB.
    description String
    Volume type description.
    maxSizeInGb Number
    Maximum volume size in GB.
    minSizeInGb Number
    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 scaleway Terraform Provider.
    scaleway logo
    Viewing docs for Scaleway v1.60.0
    published on Saturday, Oct 24, 2026 by pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial