published on Wednesday, Jul 15, 2026 by ionos-cloud
published on Wednesday, Jul 15, 2026 by ionos-cloud
Manages a DBaaS InMemoryDB V2 Cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const example = new ionoscloud.compute.Datacenter("example", {
name: "example",
location: "de/txl",
});
const exampleLan = new ionoscloud.compute.Lan("example", {
datacenterId: example.id,
"public": false,
name: "example",
});
const exampleInMemoryDBClusterV2 = new ionoscloud.dbaas.InMemoryDBClusterV2("example", {
location: "de/txl",
name: "my-inmemorydb-cluster",
description: "InMemoryDB cluster",
version: "9.0",
persistenceMode: "RDB",
evictionPolicy: "allkeys-lru",
logsEnabled: true,
metricsEnabled: true,
instances: {
count: 1,
cores: 1,
ram: 4,
},
connections: {
datacenter_id: example.id,
lan_id: exampleLan.id,
primary_instance_address: "192.168.2.101/24",
},
snapshot: {
location: "eu-central-3",
retention_days: 7,
snapshot_hours: [
0,
6,
12,
18,
],
},
maintenanceWindow: {
time: "09:00:00",
day_of_the_week: "Sunday",
},
credentials: {
username: "cacheuser",
password: {
algorithm: "SHA-256",
hash: "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8",
},
},
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.compute.Datacenter("example",
name="example",
location="de/txl")
example_lan = ionoscloud.compute.Lan("example",
datacenter_id=example.id,
public=False,
name="example")
example_in_memory_db_cluster_v2 = ionoscloud.dbaas.InMemoryDBClusterV2("example",
location="de/txl",
name="my-inmemorydb-cluster",
description="InMemoryDB cluster",
version="9.0",
persistence_mode="RDB",
eviction_policy="allkeys-lru",
logs_enabled=True,
metrics_enabled=True,
instances={
"count": 1,
"cores": 1,
"ram": 4,
},
connections={
"datacenter_id": example.id,
"lan_id": example_lan.id,
"primary_instance_address": "192.168.2.101/24",
},
snapshot={
"location": "eu-central-3",
"retention_days": 7,
"snapshot_hours": [
0,
6,
12,
18,
],
},
maintenance_window={
"time": "09:00:00",
"day_of_the_week": "Sunday",
},
credentials={
"username": "cacheuser",
"password": {
"algorithm": "SHA-256",
"hash": "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8",
},
})
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
"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 {
example, err := compute.NewDatacenter(ctx, "example", &compute.DatacenterArgs{
Name: pulumi.String("example"),
Location: pulumi.String("de/txl"),
})
if err != nil {
return err
}
exampleLan, err := compute.NewLan(ctx, "example", &compute.LanArgs{
DatacenterId: example.ID(),
Public: pulumi.Bool(false),
Name: pulumi.String("example"),
})
if err != nil {
return err
}
_, err = dbaas.NewInMemoryDBClusterV2(ctx, "example", &dbaas.InMemoryDBClusterV2Args{
Location: pulumi.String("de/txl"),
Name: pulumi.String("my-inmemorydb-cluster"),
Description: pulumi.String("InMemoryDB cluster"),
Version: pulumi.String("9.0"),
PersistenceMode: pulumi.String("RDB"),
EvictionPolicy: pulumi.String("allkeys-lru"),
LogsEnabled: pulumi.Bool(true),
MetricsEnabled: pulumi.Bool(true),
Instances: &dbaas.InMemoryDBClusterV2InstancesArgs{
Count: pulumi.Int(1),
Cores: pulumi.Int(1),
Ram: pulumi.Int(4),
},
Connections: &dbaas.InMemoryDBClusterV2ConnectionsArgs{
Datacenter_id: example.ID(),
Lan_id: exampleLan.ID(),
Primary_instance_address: "192.168.2.101/24",
},
Snapshot: &dbaas.InMemoryDBClusterV2SnapshotArgs{
Location: pulumi.String("eu-central-3"),
Retention_days: 7,
Snapshot_hours: []int{
0,
6,
12,
18,
},
},
MaintenanceWindow: &dbaas.InMemoryDBClusterV2MaintenanceWindowArgs{
Time: pulumi.String("09:00:00"),
Day_of_the_week: "Sunday",
},
Credentials: &dbaas.InMemoryDBClusterV2CredentialsArgs{
Username: pulumi.String("cacheuser"),
Password: &dbaas.InMemoryDBClusterV2CredentialsPasswordArgs{
Algorithm: pulumi.String("SHA-256"),
Hash: pulumi.String("5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8"),
},
},
})
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 = new Ionoscloud.Compute.Datacenter("example", new()
{
Name = "example",
Location = "de/txl",
});
var exampleLan = new Ionoscloud.Compute.Lan("example", new()
{
DatacenterId = example.Id,
Public = false,
Name = "example",
});
var exampleInMemoryDBClusterV2 = new Ionoscloud.Dbaas.InMemoryDBClusterV2("example", new()
{
Location = "de/txl",
Name = "my-inmemorydb-cluster",
Description = "InMemoryDB cluster",
Version = "9.0",
PersistenceMode = "RDB",
EvictionPolicy = "allkeys-lru",
LogsEnabled = true,
MetricsEnabled = true,
Instances = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2InstancesArgs
{
Count = 1,
Cores = 1,
Ram = 4,
},
Connections = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2ConnectionsArgs
{
Datacenter_id = example.Id,
Lan_id = exampleLan.Id,
Primary_instance_address = "192.168.2.101/24",
},
Snapshot = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2SnapshotArgs
{
Location = "eu-central-3",
Retention_days = 7,
Snapshot_hours = new[]
{
0,
6,
12,
18,
},
},
MaintenanceWindow = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2MaintenanceWindowArgs
{
Time = "09:00:00",
Day_of_the_week = "Sunday",
},
Credentials = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2CredentialsArgs
{
Username = "cacheuser",
Password = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2CredentialsPasswordArgs
{
Algorithm = "SHA-256",
Hash = "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.ionoscloud.pulumi.ionoscloud.compute.Datacenter;
import com.ionoscloud.pulumi.ionoscloud.compute.DatacenterArgs;
import com.ionoscloud.pulumi.ionoscloud.compute.Lan;
import com.ionoscloud.pulumi.ionoscloud.compute.LanArgs;
import com.ionoscloud.pulumi.ionoscloud.dbaas.InMemoryDBClusterV2;
import com.ionoscloud.pulumi.ionoscloud.dbaas.InMemoryDBClusterV2Args;
import com.pulumi.ionoscloud.dbaas.inputs.InMemoryDBClusterV2InstancesArgs;
import com.pulumi.ionoscloud.dbaas.inputs.InMemoryDBClusterV2ConnectionsArgs;
import com.pulumi.ionoscloud.dbaas.inputs.InMemoryDBClusterV2SnapshotArgs;
import com.pulumi.ionoscloud.dbaas.inputs.InMemoryDBClusterV2MaintenanceWindowArgs;
import com.pulumi.ionoscloud.dbaas.inputs.InMemoryDBClusterV2CredentialsArgs;
import com.pulumi.ionoscloud.dbaas.inputs.InMemoryDBClusterV2CredentialsPasswordArgs;
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) {
var example = new Datacenter("example", DatacenterArgs.builder()
.name("example")
.location("de/txl")
.build());
var exampleLan = new Lan("exampleLan", LanArgs.builder()
.datacenterId(example.id())
.public_(false)
.name("example")
.build());
var exampleInMemoryDBClusterV2 = new InMemoryDBClusterV2("exampleInMemoryDBClusterV2", InMemoryDBClusterV2Args.builder()
.location("de/txl")
.name("my-inmemorydb-cluster")
.description("InMemoryDB cluster")
.version("9.0")
.persistenceMode("RDB")
.evictionPolicy("allkeys-lru")
.logsEnabled(true)
.metricsEnabled(true)
.instances(InMemoryDBClusterV2InstancesArgs.builder()
.count(1)
.cores(1)
.ram(4)
.build())
.connections(InMemoryDBClusterV2ConnectionsArgs.builder()
.datacenter_id(example.id())
.lan_id(exampleLan.id())
.primary_instance_address("192.168.2.101/24")
.build())
.snapshot(InMemoryDBClusterV2SnapshotArgs.builder()
.location("eu-central-3")
.retention_days(7)
.snapshot_hours(Arrays.asList(
0,
6,
12,
18))
.build())
.maintenanceWindow(InMemoryDBClusterV2MaintenanceWindowArgs.builder()
.time("09:00:00")
.day_of_the_week("Sunday")
.build())
.credentials(InMemoryDBClusterV2CredentialsArgs.builder()
.username("cacheuser")
.password(InMemoryDBClusterV2CredentialsPasswordArgs.builder()
.algorithm("SHA-256")
.hash("5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8")
.build())
.build())
.build());
}
}
resources:
example:
type: ionoscloud:compute:Datacenter
properties:
name: example
location: de/txl
exampleLan:
type: ionoscloud:compute:Lan
name: example
properties:
datacenterId: ${example.id}
public: false
name: example
exampleInMemoryDBClusterV2:
type: ionoscloud:dbaas:InMemoryDBClusterV2
name: example
properties:
location: de/txl
name: my-inmemorydb-cluster
description: InMemoryDB cluster
version: '9.0'
persistenceMode: RDB
evictionPolicy: allkeys-lru
logsEnabled: true
metricsEnabled: true
instances:
count: 1
cores: 1
ram: 4
connections:
datacenter_id: ${example.id}
lan_id: ${exampleLan.id}
primary_instance_address: 192.168.2.101/24
snapshot:
location: eu-central-3
retention_days: 7
snapshot_hours:
- 0
- 6
- 12
- 18
maintenanceWindow:
time: 09:00:00
day_of_the_week: Sunday
credentials:
username: cacheuser
password:
algorithm: SHA-256
hash: 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
pulumi {
required_providers {
ionoscloud = {
source = "pulumi/ionoscloud"
}
}
}
resource "ionoscloud_compute_datacenter" "example" {
name = "example"
location = "de/txl"
}
resource "ionoscloud_compute_lan" "example" {
datacenter_id = ionoscloud_compute_datacenter.example.id
public = false
name = "example"
}
resource "ionoscloud_dbaas_inmemorydbclusterv2" "example" {
location = "de/txl"
name = "my-inmemorydb-cluster"
description = "InMemoryDB cluster"
version = "9.0"
persistence_mode = "RDB"
eviction_policy = "allkeys-lru"
logs_enabled = true
metrics_enabled = true
instances = {
count = 1
cores = 1
ram = 4
}
connections = {
datacenter_id = ionoscloud_compute_datacenter.example.id
lan_id = ionoscloud_compute_lan.example.id
primary_instance_address = "192.168.2.101/24"
}
snapshot = {
location = "eu-central-3"
retention_days = 7
snapshot_hours = [0, 6, 12, 18]
}
maintenance_window = {
time = "09:00:00"
day_of_the_week = "Sunday"
}
credentials = {
username = "cacheuser"
password = {
algorithm = "SHA-256"
hash = "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8"
}
}
}
Create InMemoryDBClusterV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InMemoryDBClusterV2(name: string, args: InMemoryDBClusterV2Args, opts?: CustomResourceOptions);@overload
def InMemoryDBClusterV2(resource_name: str,
args: InMemoryDBClusterV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def InMemoryDBClusterV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
snapshot: Optional[InMemoryDBClusterV2SnapshotArgs] = None,
credentials: Optional[InMemoryDBClusterV2CredentialsArgs] = None,
version: Optional[str] = None,
eviction_policy: Optional[str] = None,
instances: Optional[InMemoryDBClusterV2InstancesArgs] = None,
location: Optional[str] = None,
connections: Optional[InMemoryDBClusterV2ConnectionsArgs] = None,
maintenance_window: Optional[InMemoryDBClusterV2MaintenanceWindowArgs] = None,
logs_enabled: Optional[bool] = None,
name: Optional[str] = None,
persistence_mode: Optional[str] = None,
restore_from_snapshot: Optional[InMemoryDBClusterV2RestoreFromSnapshotArgs] = None,
metrics_enabled: Optional[bool] = None,
timeouts: Optional[InMemoryDBClusterV2TimeoutsArgs] = None,
description: Optional[str] = None)func NewInMemoryDBClusterV2(ctx *Context, name string, args InMemoryDBClusterV2Args, opts ...ResourceOption) (*InMemoryDBClusterV2, error)public InMemoryDBClusterV2(string name, InMemoryDBClusterV2Args args, CustomResourceOptions? opts = null)
public InMemoryDBClusterV2(String name, InMemoryDBClusterV2Args args)
public InMemoryDBClusterV2(String name, InMemoryDBClusterV2Args args, CustomResourceOptions options)
type: ionoscloud:dbaas:InMemoryDBClusterV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ionoscloud_dbaas_in_memory_d_b_cluster_v2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args InMemoryDBClusterV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InMemoryDBClusterV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InMemoryDBClusterV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InMemoryDBClusterV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InMemoryDBClusterV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var inMemoryDBClusterV2Resource = new Ionoscloud.Dbaas.InMemoryDBClusterV2("inMemoryDBClusterV2Resource", new()
{
Snapshot = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2SnapshotArgs
{
Location = "string",
RetentionDays = 0,
SnapshotHours = new[]
{
0,
},
},
Credentials = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2CredentialsArgs
{
Password = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2CredentialsPasswordArgs
{
Algorithm = "string",
Hash = "string",
},
Username = "string",
},
Version = "string",
EvictionPolicy = "string",
Instances = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2InstancesArgs
{
Cores = 0,
Count = 0,
Ram = 0,
},
Location = "string",
Connections = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2ConnectionsArgs
{
DatacenterId = "string",
LanId = "string",
PrimaryInstanceAddress = "string",
},
MaintenanceWindow = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2MaintenanceWindowArgs
{
DayOfTheWeek = "string",
Time = "string",
},
LogsEnabled = false,
Name = "string",
PersistenceMode = "string",
RestoreFromSnapshot = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2RestoreFromSnapshotArgs
{
RecoveryTargetDatetime = "string",
SourceSnapshotId = "string",
},
MetricsEnabled = false,
Timeouts = new Ionoscloud.Dbaas.Inputs.InMemoryDBClusterV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Description = "string",
});
example, err := dbaas.NewInMemoryDBClusterV2(ctx, "inMemoryDBClusterV2Resource", &dbaas.InMemoryDBClusterV2Args{
Snapshot: &dbaas.InMemoryDBClusterV2SnapshotArgs{
Location: pulumi.String("string"),
RetentionDays: pulumi.Int(0),
SnapshotHours: pulumi.IntArray{
pulumi.Int(0),
},
},
Credentials: &dbaas.InMemoryDBClusterV2CredentialsArgs{
Password: &dbaas.InMemoryDBClusterV2CredentialsPasswordArgs{
Algorithm: pulumi.String("string"),
Hash: pulumi.String("string"),
},
Username: pulumi.String("string"),
},
Version: pulumi.String("string"),
EvictionPolicy: pulumi.String("string"),
Instances: &dbaas.InMemoryDBClusterV2InstancesArgs{
Cores: pulumi.Int(0),
Count: pulumi.Int(0),
Ram: pulumi.Int(0),
},
Location: pulumi.String("string"),
Connections: &dbaas.InMemoryDBClusterV2ConnectionsArgs{
DatacenterId: pulumi.String("string"),
LanId: pulumi.String("string"),
PrimaryInstanceAddress: pulumi.String("string"),
},
MaintenanceWindow: &dbaas.InMemoryDBClusterV2MaintenanceWindowArgs{
DayOfTheWeek: pulumi.String("string"),
Time: pulumi.String("string"),
},
LogsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
PersistenceMode: pulumi.String("string"),
RestoreFromSnapshot: &dbaas.InMemoryDBClusterV2RestoreFromSnapshotArgs{
RecoveryTargetDatetime: pulumi.String("string"),
SourceSnapshotId: pulumi.String("string"),
},
MetricsEnabled: pulumi.Bool(false),
Timeouts: &dbaas.InMemoryDBClusterV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Description: pulumi.String("string"),
})
resource "ionoscloud_dbaas_in_memory_d_b_cluster_v2" "inMemoryDBClusterV2Resource" {
lifecycle {
create_before_destroy = true
}
snapshot = {
location = "string"
retention_days = 0
snapshot_hours = [0]
}
credentials = {
password = {
algorithm = "string"
hash = "string"
}
username = "string"
}
version = "string"
eviction_policy = "string"
instances = {
cores = 0
count = 0
ram = 0
}
location = "string"
connections = {
datacenter_id = "string"
lan_id = "string"
primary_instance_address = "string"
}
maintenance_window = {
day_of_the_week = "string"
time = "string"
}
logs_enabled = false
name = "string"
persistence_mode = "string"
restore_from_snapshot = {
recovery_target_datetime = "string"
source_snapshot_id = "string"
}
metrics_enabled = false
timeouts = {
create = "string"
delete = "string"
update = "string"
}
description = "string"
}
var inMemoryDBClusterV2Resource = new InMemoryDBClusterV2("inMemoryDBClusterV2Resource", InMemoryDBClusterV2Args.builder()
.snapshot(InMemoryDBClusterV2SnapshotArgs.builder()
.location("string")
.retentionDays(0)
.snapshotHours(0)
.build())
.credentials(InMemoryDBClusterV2CredentialsArgs.builder()
.password(InMemoryDBClusterV2CredentialsPasswordArgs.builder()
.algorithm("string")
.hash("string")
.build())
.username("string")
.build())
.version("string")
.evictionPolicy("string")
.instances(InMemoryDBClusterV2InstancesArgs.builder()
.cores(0)
.count(0)
.ram(0)
.build())
.location("string")
.connections(InMemoryDBClusterV2ConnectionsArgs.builder()
.datacenterId("string")
.lanId("string")
.primaryInstanceAddress("string")
.build())
.maintenanceWindow(InMemoryDBClusterV2MaintenanceWindowArgs.builder()
.dayOfTheWeek("string")
.time("string")
.build())
.logsEnabled(false)
.name("string")
.persistenceMode("string")
.restoreFromSnapshot(InMemoryDBClusterV2RestoreFromSnapshotArgs.builder()
.recoveryTargetDatetime("string")
.sourceSnapshotId("string")
.build())
.metricsEnabled(false)
.timeouts(InMemoryDBClusterV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.description("string")
.build());
in_memory_db_cluster_v2_resource = ionoscloud.dbaas.InMemoryDBClusterV2("inMemoryDBClusterV2Resource",
snapshot={
"location": "string",
"retention_days": 0,
"snapshot_hours": [0],
},
credentials={
"password": {
"algorithm": "string",
"hash": "string",
},
"username": "string",
},
version="string",
eviction_policy="string",
instances={
"cores": 0,
"count": 0,
"ram": 0,
},
location="string",
connections={
"datacenter_id": "string",
"lan_id": "string",
"primary_instance_address": "string",
},
maintenance_window={
"day_of_the_week": "string",
"time": "string",
},
logs_enabled=False,
name="string",
persistence_mode="string",
restore_from_snapshot={
"recovery_target_datetime": "string",
"source_snapshot_id": "string",
},
metrics_enabled=False,
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
description="string")
const inMemoryDBClusterV2Resource = new ionoscloud.dbaas.InMemoryDBClusterV2("inMemoryDBClusterV2Resource", {
snapshot: {
location: "string",
retentionDays: 0,
snapshotHours: [0],
},
credentials: {
password: {
algorithm: "string",
hash: "string",
},
username: "string",
},
version: "string",
evictionPolicy: "string",
instances: {
cores: 0,
count: 0,
ram: 0,
},
location: "string",
connections: {
datacenterId: "string",
lanId: "string",
primaryInstanceAddress: "string",
},
maintenanceWindow: {
dayOfTheWeek: "string",
time: "string",
},
logsEnabled: false,
name: "string",
persistenceMode: "string",
restoreFromSnapshot: {
recoveryTargetDatetime: "string",
sourceSnapshotId: "string",
},
metricsEnabled: false,
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
description: "string",
});
type: ionoscloud:dbaas:InMemoryDBClusterV2
properties:
connections:
datacenterId: string
lanId: string
primaryInstanceAddress: string
credentials:
password:
algorithm: string
hash: string
username: string
description: string
evictionPolicy: string
instances:
cores: 0
count: 0
ram: 0
location: string
logsEnabled: false
maintenanceWindow:
dayOfTheWeek: string
time: string
metricsEnabled: false
name: string
persistenceMode: string
restoreFromSnapshot:
recoveryTargetDatetime: string
sourceSnapshotId: string
snapshot:
location: string
retentionDays: 0
snapshotHours:
- 0
timeouts:
create: string
delete: string
update: string
version: string
InMemoryDBClusterV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The InMemoryDBClusterV2 resource accepts the following input properties:
- Connections
Ionoscloud.
In Memory DBCluster V2Connections - [object] The network connection for your cluster. Only one connection is allowed.
- Credentials
Ionoscloud.
In Memory DBCluster V2Credentials - [object] Credentials for the InMemoryDB cluster user.
- Eviction
Policy string - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - Instances
Ionoscloud.
In Memory DBCluster V2Instances - [object] The instance sizing configuration.
- Location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Maintenance
Window Ionoscloud.In Memory DBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- Snapshot
Ionoscloud.
In Memory DBCluster V2Snapshot - [object] Snapshot configuration.
- Version string
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint). - Description string
- [string] Human-readable description.
- Logs
Enabled bool - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- Metrics
Enabled bool - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- Name string
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- Persistence
Mode string - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - Restore
From Ionoscloud.Snapshot In Memory DBCluster V2Restore From Snapshot - [object] Restore configuration from a snapshot.
- Timeouts
Ionoscloud.
In Memory DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete.
- Connections
In
Memory DBCluster V2Connections Args - [object] The network connection for your cluster. Only one connection is allowed.
- Credentials
In
Memory DBCluster V2Credentials Args - [object] Credentials for the InMemoryDB cluster user.
- Eviction
Policy string - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - Instances
In
Memory DBCluster V2Instances Args - [object] The instance sizing configuration.
- Location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Maintenance
Window InMemory DBCluster V2Maintenance Window Args - [object] A weekly 4 hour-long window, during which maintenance might occur.
- Snapshot
In
Memory DBCluster V2Snapshot Args - [object] Snapshot configuration.
- Version string
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint). - Description string
- [string] Human-readable description.
- Logs
Enabled bool - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- Metrics
Enabled bool - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- Name string
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- Persistence
Mode string - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - Restore
From InSnapshot Memory DBCluster V2Restore From Snapshot Args - [object] Restore configuration from a snapshot.
- Timeouts
In
Memory DBCluster V2Timeouts Args - Standard Terraform timeouts:
create,update,delete.
- connections object
- [object] The network connection for your cluster. Only one connection is allowed.
- credentials object
- [object] Credentials for the InMemoryDB cluster user.
- eviction_
policy string - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - instances object
- [object] The instance sizing configuration.
- location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - maintenance_
window object - [object] A weekly 4 hour-long window, during which maintenance might occur.
- snapshot object
- [object] Snapshot configuration.
- version string
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint). - description string
- [string] Human-readable description.
- logs_
enabled bool - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- metrics_
enabled bool - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- name string
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- persistence_
mode string - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - restore_
from_ objectsnapshot - [object] Restore configuration from a snapshot.
- timeouts object
- Standard Terraform timeouts:
create,update,delete.
- connections
In
Memory DBCluster V2Connections - [object] The network connection for your cluster. Only one connection is allowed.
- credentials
In
Memory DBCluster V2Credentials - [object] Credentials for the InMemoryDB cluster user.
- eviction
Policy String - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - instances
In
Memory DBCluster V2Instances - [object] The instance sizing configuration.
- location String
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - maintenance
Window InMemory DBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- snapshot
In
Memory DBCluster V2Snapshot - [object] Snapshot configuration.
- version String
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint). - description String
- [string] Human-readable description.
- logs
Enabled Boolean - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- metrics
Enabled Boolean - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- name String
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- persistence
Mode String - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - restore
From InSnapshot Memory DBCluster V2Restore From Snapshot - [object] Restore configuration from a snapshot.
- timeouts
In
Memory DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete.
- connections
In
Memory DBCluster V2Connections - [object] The network connection for your cluster. Only one connection is allowed.
- credentials
In
Memory DBCluster V2Credentials - [object] Credentials for the InMemoryDB cluster user.
- eviction
Policy string - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - instances
In
Memory DBCluster V2Instances - [object] The instance sizing configuration.
- location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - maintenance
Window InMemory DBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- snapshot
In
Memory DBCluster V2Snapshot - [object] Snapshot configuration.
- version string
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint). - description string
- [string] Human-readable description.
- logs
Enabled boolean - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- metrics
Enabled boolean - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- name string
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- persistence
Mode string - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - restore
From InSnapshot Memory DBCluster V2Restore From Snapshot - [object] Restore configuration from a snapshot.
- timeouts
In
Memory DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete.
- connections
In
Memory DBCluster V2Connections Args - [object] The network connection for your cluster. Only one connection is allowed.
- credentials
In
Memory DBCluster V2Credentials Args - [object] Credentials for the InMemoryDB cluster user.
- eviction_
policy str - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - instances
In
Memory DBCluster V2Instances Args - [object] The instance sizing configuration.
- location str
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - maintenance_
window InMemory DBCluster V2Maintenance Window Args - [object] A weekly 4 hour-long window, during which maintenance might occur.
- snapshot
In
Memory DBCluster V2Snapshot Args - [object] Snapshot configuration.
- version str
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint). - description str
- [string] Human-readable description.
- logs_
enabled bool - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- metrics_
enabled bool - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- name str
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- persistence_
mode str - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - restore_
from_ Insnapshot Memory DBCluster V2Restore From Snapshot Args - [object] Restore configuration from a snapshot.
- timeouts
In
Memory DBCluster V2Timeouts Args - Standard Terraform timeouts:
create,update,delete.
- connections Property Map
- [object] The network connection for your cluster. Only one connection is allowed.
- credentials Property Map
- [object] Credentials for the InMemoryDB cluster user.
- eviction
Policy String - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - instances Property Map
- [object] The instance sizing configuration.
- location String
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - maintenance
Window Property Map - [object] A weekly 4 hour-long window, during which maintenance might occur.
- snapshot Property Map
- [object] Snapshot configuration.
- version String
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint). - description String
- [string] Human-readable description.
- logs
Enabled Boolean - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- metrics
Enabled Boolean - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- name String
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- persistence
Mode String - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - restore
From Property MapSnapshot - [object] Restore configuration from a snapshot.
- timeouts Property Map
- Standard Terraform timeouts:
create,update,delete.
Outputs
All input properties are implicitly available as output properties. Additionally, the InMemoryDBClusterV2 resource produces the following output properties:
Look up Existing InMemoryDBClusterV2 Resource
Get an existing InMemoryDBClusterV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InMemoryDBClusterV2State, opts?: CustomResourceOptions): InMemoryDBClusterV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connections: Optional[InMemoryDBClusterV2ConnectionsArgs] = None,
credentials: Optional[InMemoryDBClusterV2CredentialsArgs] = None,
description: Optional[str] = None,
dns_name: Optional[str] = None,
eviction_policy: Optional[str] = None,
instances: Optional[InMemoryDBClusterV2InstancesArgs] = None,
location: Optional[str] = None,
logs_enabled: Optional[bool] = None,
maintenance_window: Optional[InMemoryDBClusterV2MaintenanceWindowArgs] = None,
metrics_enabled: Optional[bool] = None,
name: Optional[str] = None,
persistence_mode: Optional[str] = None,
restore_from_snapshot: Optional[InMemoryDBClusterV2RestoreFromSnapshotArgs] = None,
snapshot: Optional[InMemoryDBClusterV2SnapshotArgs] = None,
timeouts: Optional[InMemoryDBClusterV2TimeoutsArgs] = None,
version: Optional[str] = None) -> InMemoryDBClusterV2func GetInMemoryDBClusterV2(ctx *Context, name string, id IDInput, state *InMemoryDBClusterV2State, opts ...ResourceOption) (*InMemoryDBClusterV2, error)public static InMemoryDBClusterV2 Get(string name, Input<string> id, InMemoryDBClusterV2State? state, CustomResourceOptions? opts = null)public static InMemoryDBClusterV2 get(String name, Output<String> id, InMemoryDBClusterV2State state, CustomResourceOptions options)resources: _: type: ionoscloud:dbaas:InMemoryDBClusterV2 get: id: ${id}import {
to = ionoscloud_dbaas_in_memory_d_b_cluster_v2.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Connections
Ionoscloud.
In Memory DBCluster V2Connections - [object] The network connection for your cluster. Only one connection is allowed.
- Credentials
Ionoscloud.
In Memory DBCluster V2Credentials - [object] Credentials for the InMemoryDB cluster user.
- Description string
- [string] Human-readable description.
- Dns
Name string - The DNS name for connecting to the cluster's primary instance.
- Eviction
Policy string - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - Instances
Ionoscloud.
In Memory DBCluster V2Instances - [object] The instance sizing configuration.
- Location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Logs
Enabled bool - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- Maintenance
Window Ionoscloud.In Memory DBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- Metrics
Enabled bool - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- Name string
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- Persistence
Mode string - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - Restore
From Ionoscloud.Snapshot In Memory DBCluster V2Restore From Snapshot - [object] Restore configuration from a snapshot.
- Snapshot
Ionoscloud.
In Memory DBCluster V2Snapshot - [object] Snapshot configuration.
- Timeouts
Ionoscloud.
In Memory DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete. - Version string
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint).
- Connections
In
Memory DBCluster V2Connections Args - [object] The network connection for your cluster. Only one connection is allowed.
- Credentials
In
Memory DBCluster V2Credentials Args - [object] Credentials for the InMemoryDB cluster user.
- Description string
- [string] Human-readable description.
- Dns
Name string - The DNS name for connecting to the cluster's primary instance.
- Eviction
Policy string - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - Instances
In
Memory DBCluster V2Instances Args - [object] The instance sizing configuration.
- Location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Logs
Enabled bool - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- Maintenance
Window InMemory DBCluster V2Maintenance Window Args - [object] A weekly 4 hour-long window, during which maintenance might occur.
- Metrics
Enabled bool - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- Name string
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- Persistence
Mode string - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - Restore
From InSnapshot Memory DBCluster V2Restore From Snapshot Args - [object] Restore configuration from a snapshot.
- Snapshot
In
Memory DBCluster V2Snapshot Args - [object] Snapshot configuration.
- Timeouts
In
Memory DBCluster V2Timeouts Args - Standard Terraform timeouts:
create,update,delete. - Version string
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint).
- connections object
- [object] The network connection for your cluster. Only one connection is allowed.
- credentials object
- [object] Credentials for the InMemoryDB cluster user.
- description string
- [string] Human-readable description.
- dns_
name string - The DNS name for connecting to the cluster's primary instance.
- eviction_
policy string - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - instances object
- [object] The instance sizing configuration.
- location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs_
enabled bool - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- maintenance_
window object - [object] A weekly 4 hour-long window, during which maintenance might occur.
- metrics_
enabled bool - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- name string
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- persistence_
mode string - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - restore_
from_ objectsnapshot - [object] Restore configuration from a snapshot.
- snapshot object
- [object] Snapshot configuration.
- timeouts object
- Standard Terraform timeouts:
create,update,delete. - version string
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint).
- connections
In
Memory DBCluster V2Connections - [object] The network connection for your cluster. Only one connection is allowed.
- credentials
In
Memory DBCluster V2Credentials - [object] Credentials for the InMemoryDB cluster user.
- description String
- [string] Human-readable description.
- dns
Name String - The DNS name for connecting to the cluster's primary instance.
- eviction
Policy String - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - instances
In
Memory DBCluster V2Instances - [object] The instance sizing configuration.
- location String
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs
Enabled Boolean - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- maintenance
Window InMemory DBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- metrics
Enabled Boolean - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- name String
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- persistence
Mode String - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - restore
From InSnapshot Memory DBCluster V2Restore From Snapshot - [object] Restore configuration from a snapshot.
- snapshot
In
Memory DBCluster V2Snapshot - [object] Snapshot configuration.
- timeouts
In
Memory DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete. - version String
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint).
- connections
In
Memory DBCluster V2Connections - [object] The network connection for your cluster. Only one connection is allowed.
- credentials
In
Memory DBCluster V2Credentials - [object] Credentials for the InMemoryDB cluster user.
- description string
- [string] Human-readable description.
- dns
Name string - The DNS name for connecting to the cluster's primary instance.
- eviction
Policy string - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - instances
In
Memory DBCluster V2Instances - [object] The instance sizing configuration.
- location string
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs
Enabled boolean - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- maintenance
Window InMemory DBCluster V2Maintenance Window - [object] A weekly 4 hour-long window, during which maintenance might occur.
- metrics
Enabled boolean - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- name string
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- persistence
Mode string - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - restore
From InSnapshot Memory DBCluster V2Restore From Snapshot - [object] Restore configuration from a snapshot.
- snapshot
In
Memory DBCluster V2Snapshot - [object] Snapshot configuration.
- timeouts
In
Memory DBCluster V2Timeouts - Standard Terraform timeouts:
create,update,delete. - version string
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint).
- connections
In
Memory DBCluster V2Connections Args - [object] The network connection for your cluster. Only one connection is allowed.
- credentials
In
Memory DBCluster V2Credentials Args - [object] Credentials for the InMemoryDB cluster user.
- description str
- [string] Human-readable description.
- dns_
name str - The DNS name for connecting to the cluster's primary instance.
- eviction_
policy str - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - instances
In
Memory DBCluster V2Instances Args - [object] The instance sizing configuration.
- location str
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs_
enabled bool - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- maintenance_
window InMemory DBCluster V2Maintenance Window Args - [object] A weekly 4 hour-long window, during which maintenance might occur.
- metrics_
enabled bool - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- name str
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- persistence_
mode str - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - restore_
from_ Insnapshot Memory DBCluster V2Restore From Snapshot Args - [object] Restore configuration from a snapshot.
- snapshot
In
Memory DBCluster V2Snapshot Args - [object] Snapshot configuration.
- timeouts
In
Memory DBCluster V2Timeouts Args - Standard Terraform timeouts:
create,update,delete. - version str
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint).
- connections Property Map
- [object] The network connection for your cluster. Only one connection is allowed.
- credentials Property Map
- [object] Credentials for the InMemoryDB cluster user.
- description String
- [string] Human-readable description.
- dns
Name String - The DNS name for connecting to the cluster's primary instance.
- eviction
Policy String - [string] Key eviction strategy:
noeviction,allkeys-lru,allkeys-lfu,allkeys-random,volatile-lru,volatile-lfu,volatile-random,volatile-ttl. - instances Property Map
- [object] The instance sizing configuration.
- location String
- [string] The location of the cluster. Changing this forces a new resource. Available:
de/fra,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs
Enabled Boolean - (Computed)[bool] Enable log collection for observability. If not set, the API default is used.
- maintenance
Window Property Map - [object] A weekly 4 hour-long window, during which maintenance might occur.
- metrics
Enabled Boolean - (Computed)[bool] Enable metrics collection for observability. If not set, the API default is used.
- name String
- [string] Cluster name (2–63 alphanumeric chars with dashes, underscores, dots).
- persistence
Mode String - (Computed)[string] Data persistence mode:
None,AOF,RDB,RDB_AOF. If not set, the API default is used. - restore
From Property MapSnapshot - [object] Restore configuration from a snapshot.
- snapshot Property Map
- [object] Snapshot configuration.
- timeouts Property Map
- Standard Terraform timeouts:
create,update,delete. - version String
- [string] The InMemoryDB version. Upgrades only (see
/versionsendpoint).
Supporting Types
InMemoryDBClusterV2Connections, InMemoryDBClusterV2ConnectionsArgs
- Datacenter
Id string - [string] The Virtual Data Center ID to connect to.
- Lan
Id string - [string] The numeric LAN ID within the data center.
- Primary
Instance stringAddress - [string] Primary instance IP in CIDR notation.
- Datacenter
Id string - [string] The Virtual Data Center ID to connect to.
- Lan
Id string - [string] The numeric LAN ID within the data center.
- Primary
Instance stringAddress - [string] Primary instance IP in CIDR notation.
- datacenter_
id string - [string] The Virtual Data Center ID to connect to.
- lan_
id string - [string] The numeric LAN ID within the data center.
- primary_
instance_ stringaddress - [string] Primary instance IP in CIDR notation.
- datacenter
Id String - [string] The Virtual Data Center ID to connect to.
- lan
Id String - [string] The numeric LAN ID within the data center.
- primary
Instance StringAddress - [string] Primary instance IP in CIDR notation.
- datacenter
Id string - [string] The Virtual Data Center ID to connect to.
- lan
Id string - [string] The numeric LAN ID within the data center.
- primary
Instance stringAddress - [string] Primary instance IP in CIDR notation.
- datacenter_
id str - [string] The Virtual Data Center ID to connect to.
- lan_
id str - [string] The numeric LAN ID within the data center.
- primary_
instance_ straddress - [string] Primary instance IP in CIDR notation.
- datacenter
Id String - [string] The Virtual Data Center ID to connect to.
- lan
Id String - [string] The numeric LAN ID within the data center.
- primary
Instance StringAddress - [string] Primary instance IP in CIDR notation.
InMemoryDBClusterV2Credentials, InMemoryDBClusterV2CredentialsArgs
- Password
Ionoscloud.
In Memory DBCluster V2Credentials Password - [object] Pre-hashed password. Not returned by the API — will be null in state after
pulumi import. - Username string
- [string] Username (2–16 alphanumeric + underscore).
- Password
In
Memory DBCluster V2Credentials Password - [object] Pre-hashed password. Not returned by the API — will be null in state after
pulumi import. - Username string
- [string] Username (2–16 alphanumeric + underscore).
- password
In
Memory DBCluster V2Credentials Password - [object] Pre-hashed password. Not returned by the API — will be null in state after
pulumi import. - username String
- [string] Username (2–16 alphanumeric + underscore).
- password
In
Memory DBCluster V2Credentials Password - [object] Pre-hashed password. Not returned by the API — will be null in state after
pulumi import. - username string
- [string] Username (2–16 alphanumeric + underscore).
- password
In
Memory DBCluster V2Credentials Password - [object] Pre-hashed password. Not returned by the API — will be null in state after
pulumi import. - username str
- [string] Username (2–16 alphanumeric + underscore).
- password Property Map
- [object] Pre-hashed password. Not returned by the API — will be null in state after
pulumi import. - username String
- [string] Username (2–16 alphanumeric + underscore).
InMemoryDBClusterV2CredentialsPassword, InMemoryDBClusterV2CredentialsPasswordArgs
InMemoryDBClusterV2Instances, InMemoryDBClusterV2InstancesArgs
InMemoryDBClusterV2MaintenanceWindow, InMemoryDBClusterV2MaintenanceWindowArgs
- Day
Of stringThe Week - [string] Day of the week:
Sunday–Saturday. - Time string
- [string] Start time in UTC (
HH:MM:SS).
- Day
Of stringThe Week - [string] Day of the week:
Sunday–Saturday. - Time string
- [string] Start time in UTC (
HH:MM:SS).
- day_
of_ stringthe_ week - [string] Day of the week:
Sunday–Saturday. - time string
- [string] Start time in UTC (
HH:MM:SS).
- day
Of StringThe Week - [string] Day of the week:
Sunday–Saturday. - time String
- [string] Start time in UTC (
HH:MM:SS).
- day
Of stringThe Week - [string] Day of the week:
Sunday–Saturday. - time string
- [string] Start time in UTC (
HH:MM:SS).
- day_
of_ strthe_ week - [string] Day of the week:
Sunday–Saturday. - time str
- [string] Start time in UTC (
HH:MM:SS).
- day
Of StringThe Week - [string] Day of the week:
Sunday–Saturday. - time String
- [string] Start time in UTC (
HH:MM:SS).
InMemoryDBClusterV2RestoreFromSnapshot, InMemoryDBClusterV2RestoreFromSnapshotArgs
- Recovery
Target stringDatetime [string] ISO 8601 timestamp to restore from the most recent snapshot at or before that time. Optional for create-time restore; must be provided for in-place restore via update.
Note:
restoreFromSnapshotis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- Source
Snapshot stringId - [string] UUID of the snapshot to restore from. Must be provided when the block is used during cluster creation. Not applicable for in-place restore via update.
- Recovery
Target stringDatetime [string] ISO 8601 timestamp to restore from the most recent snapshot at or before that time. Optional for create-time restore; must be provided for in-place restore via update.
Note:
restoreFromSnapshotis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- Source
Snapshot stringId - [string] UUID of the snapshot to restore from. Must be provided when the block is used during cluster creation. Not applicable for in-place restore via update.
- recovery_
target_ stringdatetime [string] ISO 8601 timestamp to restore from the most recent snapshot at or before that time. Optional for create-time restore; must be provided for in-place restore via update.
Note:
restoreFromSnapshotis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- source_
snapshot_ stringid - [string] UUID of the snapshot to restore from. Must be provided when the block is used during cluster creation. Not applicable for in-place restore via update.
- recovery
Target StringDatetime [string] ISO 8601 timestamp to restore from the most recent snapshot at or before that time. Optional for create-time restore; must be provided for in-place restore via update.
Note:
restoreFromSnapshotis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- source
Snapshot StringId - [string] UUID of the snapshot to restore from. Must be provided when the block is used during cluster creation. Not applicable for in-place restore via update.
- recovery
Target stringDatetime [string] ISO 8601 timestamp to restore from the most recent snapshot at or before that time. Optional for create-time restore; must be provided for in-place restore via update.
Note:
restoreFromSnapshotis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- source
Snapshot stringId - [string] UUID of the snapshot to restore from. Must be provided when the block is used during cluster creation. Not applicable for in-place restore via update.
- recovery_
target_ strdatetime [string] ISO 8601 timestamp to restore from the most recent snapshot at or before that time. Optional for create-time restore; must be provided for in-place restore via update.
Note:
restoreFromSnapshotis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- source_
snapshot_ strid - [string] UUID of the snapshot to restore from. Must be provided when the block is used during cluster creation. Not applicable for in-place restore via update.
- recovery
Target StringDatetime [string] ISO 8601 timestamp to restore from the most recent snapshot at or before that time. Optional for create-time restore; must be provided for in-place restore via update.
Note:
restoreFromSnapshotis not returned by the API. The values are stored in state as configured but will be null afterpulumi import.- source
Snapshot StringId - [string] UUID of the snapshot to restore from. Must be provided when the block is used during cluster creation. Not applicable for in-place restore via update.
InMemoryDBClusterV2Snapshot, InMemoryDBClusterV2SnapshotArgs
- Location string
- [string] Object Storage location for snapshots. Changing this forces the re-creation of the cluster.
- Retention
Days int - [int] Days to retain snapshots (1–365).
- Snapshot
Hours List<int> - [list of int] UTC hours for scheduled snapshots (0–23). At least one hour must be specified.
- Location string
- [string] Object Storage location for snapshots. Changing this forces the re-creation of the cluster.
- Retention
Days int - [int] Days to retain snapshots (1–365).
- Snapshot
Hours []int - [list of int] UTC hours for scheduled snapshots (0–23). At least one hour must be specified.
- location string
- [string] Object Storage location for snapshots. Changing this forces the re-creation of the cluster.
- retention_
days number - [int] Days to retain snapshots (1–365).
- snapshot_
hours list(number) - [list of int] UTC hours for scheduled snapshots (0–23). At least one hour must be specified.
- location String
- [string] Object Storage location for snapshots. Changing this forces the re-creation of the cluster.
- retention
Days Integer - [int] Days to retain snapshots (1–365).
- snapshot
Hours List<Integer> - [list of int] UTC hours for scheduled snapshots (0–23). At least one hour must be specified.
- location string
- [string] Object Storage location for snapshots. Changing this forces the re-creation of the cluster.
- retention
Days number - [int] Days to retain snapshots (1–365).
- snapshot
Hours number[] - [list of int] UTC hours for scheduled snapshots (0–23). At least one hour must be specified.
- location str
- [string] Object Storage location for snapshots. Changing this forces the re-creation of the cluster.
- retention_
days int - [int] Days to retain snapshots (1–365).
- snapshot_
hours Sequence[int] - [list of int] UTC hours for scheduled snapshots (0–23). At least one hour must be specified.
- location String
- [string] Object Storage location for snapshots. Changing this forces the re-creation of the cluster.
- retention
Days Number - [int] Days to retain snapshots (1–365).
- snapshot
Hours List<Number> - [list of int] UTC hours for scheduled snapshots (0–23). At least one hour must be specified.
InMemoryDBClusterV2Timeouts, InMemoryDBClusterV2TimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
InMemoryDB V2 clusters can be imported using <location>:<cluster_id>:
$ pulumi import ionoscloud:dbaas/inMemoryDBClusterV2:InMemoryDBClusterV2 example de/txl:example-id
To learn more about importing existing cloud resources, see Importing resources.
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