published on Wednesday, Jul 15, 2026 by ionos-cloud
published on Wednesday, Jul 15, 2026 by ionos-cloud
The ionoscloud.dbaas.InMemoryDBClusterV2 data source can be used to retrieve information about an existing InMemoryDB V2 cluster.
Example Usage
By id
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const byId = ionoscloud.dbaas.getInMemoryDBClusterV2({
id: "example-id",
location: "de/txl",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
by_id = ionoscloud.dbaas.get_in_memory_db_cluster_v2(id="example-id",
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.LookupInMemoryDBClusterV2(ctx, &dbaas.LookupInMemoryDBClusterV2Args{
Id: pulumi.StringRef("example-id"),
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 byId = Ionoscloud.Dbaas.GetInMemoryDBClusterV2.Invoke(new()
{
Id = "example-id",
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.GetInMemoryDBClusterV2Args;
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 = DbaasFunctions.getInMemoryDBClusterV2(GetInMemoryDBClusterV2Args.builder()
.id("example-id")
.location("de/txl")
.build());
}
}
variables:
byId:
fn::invoke:
function: ionoscloud:dbaas:getInMemoryDBClusterV2
arguments:
id: example-id
location: de/txl
pulumi {
required_providers {
ionoscloud = {
source = "pulumi/ionoscloud"
}
}
}
data "ionoscloud_dbaas_getinmemorydbclusterv2" "byId" {
id = "example-id"
location = "de/txl"
}
By name
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const byName = ionoscloud.dbaas.getInMemoryDBClusterV2({
name: "my-inmemorydb-cluster",
location: "de/txl",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
by_name = ionoscloud.dbaas.get_in_memory_db_cluster_v2(name="my-inmemorydb-cluster",
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.LookupInMemoryDBClusterV2(ctx, &dbaas.LookupInMemoryDBClusterV2Args{
Name: pulumi.StringRef("my-inmemorydb-cluster"),
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 byName = Ionoscloud.Dbaas.GetInMemoryDBClusterV2.Invoke(new()
{
Name = "my-inmemorydb-cluster",
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.GetInMemoryDBClusterV2Args;
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 = DbaasFunctions.getInMemoryDBClusterV2(GetInMemoryDBClusterV2Args.builder()
.name("my-inmemorydb-cluster")
.location("de/txl")
.build());
}
}
variables:
byName:
fn::invoke:
function: ionoscloud:dbaas:getInMemoryDBClusterV2
arguments:
name: my-inmemorydb-cluster
location: de/txl
pulumi {
required_providers {
ionoscloud = {
source = "pulumi/ionoscloud"
}
}
}
data "ionoscloud_dbaas_getinmemorydbclusterv2" "byName" {
name = "my-inmemorydb-cluster"
location = "de/txl"
}
Using getInMemoryDBClusterV2
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 getInMemoryDBClusterV2(args: GetInMemoryDBClusterV2Args, opts?: InvokeOptions): Promise<GetInMemoryDBClusterV2Result>
function getInMemoryDBClusterV2Output(args: GetInMemoryDBClusterV2OutputArgs, opts?: InvokeOptions): Output<GetInMemoryDBClusterV2Result>def get_in_memory_db_cluster_v2(id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInMemoryDBClusterV2Result
def get_in_memory_db_cluster_v2_output(id: pulumi.Input[Optional[str]] = None,
location: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInMemoryDBClusterV2Result]func LookupInMemoryDBClusterV2(ctx *Context, args *LookupInMemoryDBClusterV2Args, opts ...InvokeOption) (*LookupInMemoryDBClusterV2Result, error)
func LookupInMemoryDBClusterV2Output(ctx *Context, args *LookupInMemoryDBClusterV2OutputArgs, opts ...InvokeOption) LookupInMemoryDBClusterV2ResultOutput> Note: This function is named LookupInMemoryDBClusterV2 in the Go SDK.
public static class GetInMemoryDBClusterV2
{
public static Task<GetInMemoryDBClusterV2Result> InvokeAsync(GetInMemoryDBClusterV2Args args, InvokeOptions? opts = null)
public static Output<GetInMemoryDBClusterV2Result> Invoke(GetInMemoryDBClusterV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInMemoryDBClusterV2Result> getInMemoryDBClusterV2(GetInMemoryDBClusterV2Args args, InvokeOptions options)
public static Output<GetInMemoryDBClusterV2Result> getInMemoryDBClusterV2(GetInMemoryDBClusterV2Args args, InvokeOptions options)
fn::invoke:
function: ionoscloud:dbaas/getInMemoryDBClusterV2:getInMemoryDBClusterV2
arguments:
# arguments dictionarydata "ionoscloud_dbaas_get_in_memory_d_b_cluster_v2" "name" {
# arguments
}The following arguments are supported:
getInMemoryDBClusterV2 Result
The following output properties are available:
- Connections
Ionoscloud.
Get In Memory DBCluster V2Connections - Network connection configuration:
- Credentials
Ionoscloud.
Get In Memory DBCluster V2Credentials - Credentials block:
- Description string
- Human-readable description for the cluster.
- Dns
Name string - The DNS name for connecting to the cluster's primary instance.
- Eviction
Policy string - The key eviction strategy.
- Id string
- The UUID of the cluster.
- Instances
Ionoscloud.
Get In Memory DBCluster V2Instances - Instance sizing configuration:
- Location string
- Object Storage location for snapshots.
- Logs
Enabled bool - Whether log collection is enabled.
- Maintenance
Window Ionoscloud.Get In Memory DBCluster V2Maintenance Window - Maintenance window configuration:
- Metrics
Enabled bool - Whether metrics collection is enabled.
- Name string
- The name of the cluster.
- Persistence
Mode string - The data persistence mode.
- Snapshot
Ionoscloud.
Get In Memory DBCluster V2Snapshot - Snapshot configuration:
- Version string
- The InMemoryDB version.
- Connections
Get
In Memory DBCluster V2Connections - Network connection configuration:
- Credentials
Get
In Memory DBCluster V2Credentials - Credentials block:
- Description string
- Human-readable description for the cluster.
- Dns
Name string - The DNS name for connecting to the cluster's primary instance.
- Eviction
Policy string - The key eviction strategy.
- Id string
- The UUID of the cluster.
- Instances
Get
In Memory DBCluster V2Instances - Instance sizing configuration:
- Location string
- Object Storage location for snapshots.
- Logs
Enabled bool - Whether log collection is enabled.
- Maintenance
Window GetIn Memory DBCluster V2Maintenance Window - Maintenance window configuration:
- Metrics
Enabled bool - Whether metrics collection is enabled.
- Name string
- The name of the cluster.
- Persistence
Mode string - The data persistence mode.
- Snapshot
Get
In Memory DBCluster V2Snapshot - Snapshot configuration:
- Version string
- The InMemoryDB version.
- connections object
- Network connection configuration:
- credentials object
- Credentials block:
- description string
- Human-readable description for the cluster.
- dns_
name string - The DNS name for connecting to the cluster's primary instance.
- eviction_
policy string - The key eviction strategy.
- id string
- The UUID of the cluster.
- instances object
- Instance sizing configuration:
- location string
- Object Storage location for snapshots.
- logs_
enabled bool - Whether log collection is enabled.
- maintenance_
window object - Maintenance window configuration:
- metrics_
enabled bool - Whether metrics collection is enabled.
- name string
- The name of the cluster.
- persistence_
mode string - The data persistence mode.
- snapshot object
- Snapshot configuration:
- version string
- The InMemoryDB version.
- connections
Get
In Memory DBCluster V2Connections - Network connection configuration:
- credentials
Get
In Memory DBCluster V2Credentials - Credentials block:
- description String
- Human-readable description for the cluster.
- dns
Name String - The DNS name for connecting to the cluster's primary instance.
- eviction
Policy String - The key eviction strategy.
- id String
- The UUID of the cluster.
- instances
Get
In Memory DBCluster V2Instances - Instance sizing configuration:
- location String
- Object Storage location for snapshots.
- logs
Enabled Boolean - Whether log collection is enabled.
- maintenance
Window GetIn Memory DBCluster V2Maintenance Window - Maintenance window configuration:
- metrics
Enabled Boolean - Whether metrics collection is enabled.
- name String
- The name of the cluster.
- persistence
Mode String - The data persistence mode.
- snapshot
Get
In Memory DBCluster V2Snapshot - Snapshot configuration:
- version String
- The InMemoryDB version.
- connections
Get
In Memory DBCluster V2Connections - Network connection configuration:
- credentials
Get
In Memory DBCluster V2Credentials - Credentials block:
- description string
- Human-readable description for the cluster.
- dns
Name string - The DNS name for connecting to the cluster's primary instance.
- eviction
Policy string - The key eviction strategy.
- id string
- The UUID of the cluster.
- instances
Get
In Memory DBCluster V2Instances - Instance sizing configuration:
- location string
- Object Storage location for snapshots.
- logs
Enabled boolean - Whether log collection is enabled.
- maintenance
Window GetIn Memory DBCluster V2Maintenance Window - Maintenance window configuration:
- metrics
Enabled boolean - Whether metrics collection is enabled.
- name string
- The name of the cluster.
- persistence
Mode string - The data persistence mode.
- snapshot
Get
In Memory DBCluster V2Snapshot - Snapshot configuration:
- version string
- The InMemoryDB version.
- connections
Get
In Memory DBCluster V2Connections - Network connection configuration:
- credentials
Get
In Memory DBCluster V2Credentials - Credentials block:
- description str
- Human-readable description for the cluster.
- dns_
name str - The DNS name for connecting to the cluster's primary instance.
- eviction_
policy str - The key eviction strategy.
- id str
- The UUID of the cluster.
- instances
Get
In Memory DBCluster V2Instances - Instance sizing configuration:
- location str
- Object Storage location for snapshots.
- logs_
enabled bool - Whether log collection is enabled.
- maintenance_
window GetIn Memory DBCluster V2Maintenance Window - Maintenance window configuration:
- metrics_
enabled bool - Whether metrics collection is enabled.
- name str
- The name of the cluster.
- persistence_
mode str - The data persistence mode.
- snapshot
Get
In Memory DBCluster V2Snapshot - Snapshot configuration:
- version str
- The InMemoryDB version.
- connections Property Map
- Network connection configuration:
- credentials Property Map
- Credentials block:
- description String
- Human-readable description for the cluster.
- dns
Name String - The DNS name for connecting to the cluster's primary instance.
- eviction
Policy String - The key eviction strategy.
- id String
- The UUID of the cluster.
- instances Property Map
- Instance sizing configuration:
- location String
- Object Storage location for snapshots.
- logs
Enabled Boolean - Whether log collection is enabled.
- maintenance
Window Property Map - Maintenance window configuration:
- metrics
Enabled Boolean - Whether metrics collection is enabled.
- name String
- The name of the cluster.
- persistence
Mode String - The data persistence mode.
- snapshot Property Map
- Snapshot configuration:
- version String
- The InMemoryDB version.
Supporting Types
GetInMemoryDBClusterV2Connections
- Datacenter
Id string - The Virtual Data Center ID.
- Lan
Id string - The numeric LAN ID.
- Primary
Instance stringAddress - The primary instance IP in CIDR notation.
- Datacenter
Id string - The Virtual Data Center ID.
- Lan
Id string - The numeric LAN ID.
- Primary
Instance stringAddress - The primary instance IP in CIDR notation.
- datacenter_
id string - The Virtual Data Center ID.
- lan_
id string - The numeric LAN ID.
- primary_
instance_ stringaddress - The primary instance IP in CIDR notation.
- datacenter
Id String - The Virtual Data Center ID.
- lan
Id String - The numeric LAN ID.
- primary
Instance StringAddress - The primary instance IP in CIDR notation.
- datacenter
Id string - The Virtual Data Center ID.
- lan
Id string - The numeric LAN ID.
- primary
Instance stringAddress - The primary instance IP in CIDR notation.
- datacenter_
id str - The Virtual Data Center ID.
- lan_
id str - The numeric LAN ID.
- primary_
instance_ straddress - The primary instance IP in CIDR notation.
- datacenter
Id String - The Virtual Data Center ID.
- lan
Id String - The numeric LAN ID.
- primary
Instance StringAddress - The primary instance IP in CIDR notation.
GetInMemoryDBClusterV2Credentials
- Username string
- The username for the InMemoryDB user.
- Username string
- The username for the InMemoryDB user.
- username string
- The username for the InMemoryDB user.
- username String
- The username for the InMemoryDB user.
- username string
- The username for the InMemoryDB user.
- username str
- The username for the InMemoryDB user.
- username String
- The username for the InMemoryDB user.
GetInMemoryDBClusterV2Instances
GetInMemoryDBClusterV2MaintenanceWindow
- Day
Of stringThe Week - Maintenance window day of the week.
- Time string
- Maintenance window start time in UTC (HH:MM:SS).
- Day
Of stringThe Week - Maintenance window day of the week.
- Time string
- Maintenance window start time in UTC (HH:MM:SS).
- day_
of_ stringthe_ week - Maintenance window day of the week.
- time string
- Maintenance window start time in UTC (HH:MM:SS).
- day
Of StringThe Week - Maintenance window day of the week.
- time String
- Maintenance window start time in UTC (HH:MM:SS).
- day
Of stringThe Week - Maintenance window day of the week.
- time string
- Maintenance window start time in UTC (HH:MM:SS).
- day_
of_ strthe_ week - Maintenance window day of the week.
- time str
- Maintenance window start time in UTC (HH:MM:SS).
- day
Of StringThe Week - Maintenance window day of the week.
- time String
- Maintenance window start time in UTC (HH:MM:SS).
GetInMemoryDBClusterV2Snapshot
- Location string
[string] The location of the cluster.
Note: Either
idornamemust be provided. If none, or both are provided, the datasource will return an error.- Retention
Days int - Days snapshots are retained.
- Snapshot
Hours List<int> - UTC hours at which snapshots are taken.
- Location string
[string] The location of the cluster.
Note: Either
idornamemust be provided. If none, or both are provided, the datasource will return an error.- Retention
Days int - Days snapshots are retained.
- Snapshot
Hours []int - UTC hours at which snapshots are taken.
- location string
[string] The location of the cluster.
Note: Either
idornamemust be provided. If none, or both are provided, the datasource will return an error.- retention_
days number - Days snapshots are retained.
- snapshot_
hours list(number) - UTC hours at which snapshots are taken.
- location String
[string] The location of the cluster.
Note: Either
idornamemust be provided. If none, or both are provided, the datasource will return an error.- retention
Days Integer - Days snapshots are retained.
- snapshot
Hours List<Integer> - UTC hours at which snapshots are taken.
- location string
[string] The location of the cluster.
Note: Either
idornamemust be provided. If none, or both are provided, the datasource will return an error.- retention
Days number - Days snapshots are retained.
- snapshot
Hours number[] - UTC hours at which snapshots are taken.
- location str
[string] The location of the cluster.
Note: Either
idornamemust be provided. If none, or both are provided, the datasource will return an error.- retention_
days int - Days snapshots are retained.
- snapshot_
hours Sequence[int] - UTC hours at which snapshots are taken.
- location String
[string] The location of the cluster.
Note: Either
idornamemust be provided. If none, or both are provided, the datasource will return an error.- retention
Days Number - Days snapshots are retained.
- snapshot
Hours List<Number> - UTC hours at which snapshots are taken.
Package Details
- Repository
- ionoscloud ionos-cloud/pulumi-ionoscloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ionoscloudTerraform Provider.
published on Wednesday, Jul 15, 2026 by ionos-cloud