1. Registry
  2. Packages
  3. Ionoscloud
  4. API Docs
  5. dbaas
  6. getInMemoryDBVersionsV2
Viewing docs for IonosCloud v0.3.2
published on Wednesday, Jul 15, 2026 by ionos-cloud
ionoscloud logo
Viewing docs for IonosCloud v0.3.2
published on Wednesday, Jul 15, 2026 by ionos-cloud

    The ionoscloud.dbaas.getInMemoryDBVersionsV2 data source can be used to retrieve the supported InMemoryDB V2 versions in a given location.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
    
    const example = ionoscloud.dbaas.getInMemoryDBVersionsV2({
        location: "de/txl",
    });
    
    import pulumi
    import pulumi_ionoscloud as ionoscloud
    
    example = ionoscloud.dbaas.get_in_memory_db_versions_v2(location="de/txl")
    
    package main
    
    import (
    	"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbaas.GetInMemoryDBVersionsV2(ctx, &dbaas.GetInMemoryDBVersionsV2Args{
    			Location: "de/txl",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Ionoscloud.Dbaas.GetInMemoryDBVersionsV2.Invoke(new()
        {
            Location = "de/txl",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ionoscloud.dbaas.DbaasFunctions;
    import com.pulumi.ionoscloud.dbaas.inputs.GetInMemoryDBVersionsV2Args;
    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 example = DbaasFunctions.getInMemoryDBVersionsV2(GetInMemoryDBVersionsV2Args.builder()
                .location("de/txl")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: ionoscloud:dbaas:getInMemoryDBVersionsV2
          arguments:
            location: de/txl
    
    pulumi {
      required_providers {
        ionoscloud = {
          source = "pulumi/ionoscloud"
        }
      }
    }
    
    data "ionoscloud_dbaas_getinmemorydbversionsv2" "example" {
      location = "de/txl"
    }
    

    Using getInMemoryDBVersionsV2

    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 getInMemoryDBVersionsV2(args: GetInMemoryDBVersionsV2Args, opts?: InvokeOptions): Promise<GetInMemoryDBVersionsV2Result>
    function getInMemoryDBVersionsV2Output(args: GetInMemoryDBVersionsV2OutputArgs, opts?: InvokeOutputOptions): Output<GetInMemoryDBVersionsV2Result>
    def get_in_memory_db_versions_v2(location: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetInMemoryDBVersionsV2Result
    def get_in_memory_db_versions_v2_output(location: pulumi.Input[Optional[str]] = None,
                                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetInMemoryDBVersionsV2Result]
    func GetInMemoryDBVersionsV2(ctx *Context, args *GetInMemoryDBVersionsV2Args, opts ...InvokeOption) (*GetInMemoryDBVersionsV2Result, error)
    func GetInMemoryDBVersionsV2Output(ctx *Context, args *GetInMemoryDBVersionsV2OutputArgs, opts ...InvokeOption) GetInMemoryDBVersionsV2ResultOutput

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

    public static class GetInMemoryDBVersionsV2 
    {
        public static Task<GetInMemoryDBVersionsV2Result> InvokeAsync(GetInMemoryDBVersionsV2Args args, InvokeOptions? opts = null)
        public static Output<GetInMemoryDBVersionsV2Result> Invoke(GetInMemoryDBVersionsV2InvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetInMemoryDBVersionsV2Result> Invoke(GetInMemoryDBVersionsV2InvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetInMemoryDBVersionsV2Result> getInMemoryDBVersionsV2(GetInMemoryDBVersionsV2Args args, InvokeOptions options)
    public static Output<GetInMemoryDBVersionsV2Result> getInMemoryDBVersionsV2(GetInMemoryDBVersionsV2Args args, InvokeOptions options)
    public static Output<GetInMemoryDBVersionsV2Result> getInMemoryDBVersionsV2(GetInMemoryDBVersionsV2Args args, InvokeOutputOptions options)
    
    fn::invoke:
      function: ionoscloud:dbaas/getInMemoryDBVersionsV2:getInMemoryDBVersionsV2
      arguments:
        # arguments dictionary
    data "ionoscloud_dbaas_get_in_memory_d_b_versions_v2" "name" {
        # arguments
    }

    The following arguments are supported:

    Location string
    [string] The location to query.
    Location string
    [string] The location to query.
    location string
    [string] The location to query.
    location String
    [string] The location to query.
    location string
    [string] The location to query.
    location str
    [string] The location to query.
    location String
    [string] The location to query.

    getInMemoryDBVersionsV2 Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<Ionoscloud.GetInMemoryDBVersionsV2Item>
    List of versions. Each item includes:
    Location string
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetInMemoryDBVersionsV2Item
    List of versions. Each item includes:
    Location string
    id string
    The provider-assigned unique ID for this managed resource.
    items list(object)
    List of versions. Each item includes:
    location string
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetInMemoryDBVersionsV2Item>
    List of versions. Each item includes:
    location String
    id string
    The provider-assigned unique ID for this managed resource.
    items GetInMemoryDBVersionsV2Item[]
    List of versions. Each item includes:
    location string
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetInMemoryDBVersionsV2Item]
    List of versions. Each item includes:
    location str
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    List of versions. Each item includes:
    location String

    Supporting Types

    GetInMemoryDBVersionsV2Item

    CanUpgradeTos List<string>
    List of versions that a cluster running this version can be upgraded to.
    Comment string
    Additional human-readable information about the version lifecycle.
    Id string
    The UUID of the version.
    Status string
    The support status of the version (e.g. SUPPORTED, RECOMMENDED).
    Version string
    The version string (e.g. 9.0).
    CanUpgradeTos []string
    List of versions that a cluster running this version can be upgraded to.
    Comment string
    Additional human-readable information about the version lifecycle.
    Id string
    The UUID of the version.
    Status string
    The support status of the version (e.g. SUPPORTED, RECOMMENDED).
    Version string
    The version string (e.g. 9.0).
    can_upgrade_tos list(string)
    List of versions that a cluster running this version can be upgraded to.
    comment string
    Additional human-readable information about the version lifecycle.
    id string
    The UUID of the version.
    status string
    The support status of the version (e.g. SUPPORTED, RECOMMENDED).
    version string
    The version string (e.g. 9.0).
    canUpgradeTos List<String>
    List of versions that a cluster running this version can be upgraded to.
    comment String
    Additional human-readable information about the version lifecycle.
    id String
    The UUID of the version.
    status String
    The support status of the version (e.g. SUPPORTED, RECOMMENDED).
    version String
    The version string (e.g. 9.0).
    canUpgradeTos string[]
    List of versions that a cluster running this version can be upgraded to.
    comment string
    Additional human-readable information about the version lifecycle.
    id string
    The UUID of the version.
    status string
    The support status of the version (e.g. SUPPORTED, RECOMMENDED).
    version string
    The version string (e.g. 9.0).
    can_upgrade_tos Sequence[str]
    List of versions that a cluster running this version can be upgraded to.
    comment str
    Additional human-readable information about the version lifecycle.
    id str
    The UUID of the version.
    status str
    The support status of the version (e.g. SUPPORTED, RECOMMENDED).
    version str
    The version string (e.g. 9.0).
    canUpgradeTos List<String>
    List of versions that a cluster running this version can be upgraded to.
    comment String
    Additional human-readable information about the version lifecycle.
    id String
    The UUID of the version.
    status String
    The support status of the version (e.g. SUPPORTED, RECOMMENDED).
    version String
    The version string (e.g. 9.0).

    Package Details

    Repository
    ionoscloud ionos-cloud/pulumi-ionoscloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ionoscloud Terraform Provider.
    ionoscloud logo
    Viewing docs for IonosCloud v0.3.2
    published on Wednesday, Jul 15, 2026 by ionos-cloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial