ionoscloud.dbaas.InMemoryDBReplicaSet
Explore with Pulumi AI
Manages a DBaaS InMemoryDB Replica Set.
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",
description: "Datacenter for DBaaS InMemoryDB replica sets",
});
const exampleLan = new ionoscloud.compute.Lan("example", {
datacenterId: example.id,
"public": false,
name: "example",
});
const exampleServer = new ionoscloud.compute.Server("example", {
name: "example",
datacenterId: example.id,
cores: 2,
ram: 2048,
availabilityZone: "ZONE_1",
cpuFamily: "INTEL_SKYLAKE",
imageName: "rockylinux-8-GenericCloud-20230518",
imagePassword: "password",
volume: {
name: "example",
size: 10,
diskType: "SSD Standard",
},
nic: {
lan: exampleLan.id,
name: "example",
dhcp: true,
},
});
const exampleInMemoryDBReplicaSet = new ionoscloud.dbaas.InMemoryDBReplicaSet("example", {
location: example.location,
displayName: "ExampleReplicaSet",
version: "7.2",
replicas: 4,
resources: {
cores: 1,
ram: 6,
},
persistenceMode: "RDB",
evictionPolicy: "noeviction",
connections: {
datacenterId: example.id,
lanId: exampleLan.id,
cidr: "database_ip_cidr_from_nic",
},
maintenanceWindow: {
dayOfTheWeek: "Monday",
time: "10:00:00",
},
credentials: {
username: "myuser",
plainTextPassword: "testpassword",
},
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.compute.Datacenter("example",
name="example",
location="de/txl",
description="Datacenter for DBaaS InMemoryDB replica sets")
example_lan = ionoscloud.compute.Lan("example",
datacenter_id=example.id,
public=False,
name="example")
example_server = ionoscloud.compute.Server("example",
name="example",
datacenter_id=example.id,
cores=2,
ram=2048,
availability_zone="ZONE_1",
cpu_family="INTEL_SKYLAKE",
image_name="rockylinux-8-GenericCloud-20230518",
image_password="password",
volume={
"name": "example",
"size": 10,
"disk_type": "SSD Standard",
},
nic={
"lan": example_lan.id,
"name": "example",
"dhcp": True,
})
example_in_memory_db_replica_set = ionoscloud.dbaas.InMemoryDBReplicaSet("example",
location=example.location,
display_name="ExampleReplicaSet",
version="7.2",
replicas=4,
resources={
"cores": 1,
"ram": 6,
},
persistence_mode="RDB",
eviction_policy="noeviction",
connections={
"datacenter_id": example.id,
"lan_id": example_lan.id,
"cidr": "database_ip_cidr_from_nic",
},
maintenance_window={
"day_of_the_week": "Monday",
"time": "10:00:00",
},
credentials={
"username": "myuser",
"plain_text_password": "testpassword",
})
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"),
Description: pulumi.String("Datacenter for DBaaS InMemoryDB replica sets"),
})
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 = compute.NewServer(ctx, "example", &compute.ServerArgs{
Name: pulumi.String("example"),
DatacenterId: example.ID(),
Cores: pulumi.Int(2),
Ram: pulumi.Int(2048),
AvailabilityZone: pulumi.String("ZONE_1"),
CpuFamily: pulumi.String("INTEL_SKYLAKE"),
ImageName: pulumi.String("rockylinux-8-GenericCloud-20230518"),
ImagePassword: pulumi.String("password"),
Volume: &compute.ServerVolumeArgs{
Name: pulumi.String("example"),
Size: pulumi.Int(10),
DiskType: pulumi.String("SSD Standard"),
},
Nic: &compute.ServerNicArgs{
Lan: exampleLan.ID(),
Name: pulumi.String("example"),
Dhcp: pulumi.Bool(true),
},
})
if err != nil {
return err
}
_, err = dbaas.NewInMemoryDBReplicaSet(ctx, "example", &dbaas.InMemoryDBReplicaSetArgs{
Location: example.Location,
DisplayName: pulumi.String("ExampleReplicaSet"),
Version: pulumi.String("7.2"),
Replicas: pulumi.Int(4),
Resources: &dbaas.InMemoryDBReplicaSetResourcesArgs{
Cores: pulumi.Int(1),
Ram: pulumi.Int(6),
},
PersistenceMode: pulumi.String("RDB"),
EvictionPolicy: pulumi.String("noeviction"),
Connections: &dbaas.InMemoryDBReplicaSetConnectionsArgs{
DatacenterId: example.ID(),
LanId: exampleLan.ID(),
Cidr: pulumi.String("database_ip_cidr_from_nic"),
},
MaintenanceWindow: &dbaas.InMemoryDBReplicaSetMaintenanceWindowArgs{
DayOfTheWeek: pulumi.String("Monday"),
Time: pulumi.String("10:00:00"),
},
Credentials: &dbaas.InMemoryDBReplicaSetCredentialsArgs{
Username: pulumi.String("myuser"),
PlainTextPassword: pulumi.String("testpassword"),
},
})
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",
Description = "Datacenter for DBaaS InMemoryDB replica sets",
});
var exampleLan = new Ionoscloud.Compute.Lan("example", new()
{
DatacenterId = example.Id,
Public = false,
Name = "example",
});
var exampleServer = new Ionoscloud.Compute.Server("example", new()
{
Name = "example",
DatacenterId = example.Id,
Cores = 2,
Ram = 2048,
AvailabilityZone = "ZONE_1",
CpuFamily = "INTEL_SKYLAKE",
ImageName = "rockylinux-8-GenericCloud-20230518",
ImagePassword = "password",
Volume = new Ionoscloud.Compute.Inputs.ServerVolumeArgs
{
Name = "example",
Size = 10,
DiskType = "SSD Standard",
},
Nic = new Ionoscloud.Compute.Inputs.ServerNicArgs
{
Lan = exampleLan.Id,
Name = "example",
Dhcp = true,
},
});
var exampleInMemoryDBReplicaSet = new Ionoscloud.Dbaas.InMemoryDBReplicaSet("example", new()
{
Location = example.Location,
DisplayName = "ExampleReplicaSet",
Version = "7.2",
Replicas = 4,
Resources = new Ionoscloud.Dbaas.Inputs.InMemoryDBReplicaSetResourcesArgs
{
Cores = 1,
Ram = 6,
},
PersistenceMode = "RDB",
EvictionPolicy = "noeviction",
Connections = new Ionoscloud.Dbaas.Inputs.InMemoryDBReplicaSetConnectionsArgs
{
DatacenterId = example.Id,
LanId = exampleLan.Id,
Cidr = "database_ip_cidr_from_nic",
},
MaintenanceWindow = new Ionoscloud.Dbaas.Inputs.InMemoryDBReplicaSetMaintenanceWindowArgs
{
DayOfTheWeek = "Monday",
Time = "10:00:00",
},
Credentials = new Ionoscloud.Dbaas.Inputs.InMemoryDBReplicaSetCredentialsArgs
{
Username = "myuser",
PlainTextPassword = "testpassword",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.compute.Datacenter;
import com.pulumi.ionoscloud.compute.DatacenterArgs;
import com.pulumi.ionoscloud.compute.Lan;
import com.pulumi.ionoscloud.compute.LanArgs;
import com.pulumi.ionoscloud.compute.Server;
import com.pulumi.ionoscloud.compute.ServerArgs;
import com.pulumi.ionoscloud.compute.inputs.ServerVolumeArgs;
import com.pulumi.ionoscloud.compute.inputs.ServerNicArgs;
import com.pulumi.ionoscloud.dbaas.InMemoryDBReplicaSet;
import com.pulumi.ionoscloud.dbaas.InMemoryDBReplicaSetArgs;
import com.pulumi.ionoscloud.dbaas.inputs.InMemoryDBReplicaSetResourcesArgs;
import com.pulumi.ionoscloud.dbaas.inputs.InMemoryDBReplicaSetConnectionsArgs;
import com.pulumi.ionoscloud.dbaas.inputs.InMemoryDBReplicaSetMaintenanceWindowArgs;
import com.pulumi.ionoscloud.dbaas.inputs.InMemoryDBReplicaSetCredentialsArgs;
import java.util.List;
import java.util.ArrayList;
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")
.description("Datacenter for DBaaS InMemoryDB replica sets")
.build());
var exampleLan = new Lan("exampleLan", LanArgs.builder()
.datacenterId(example.id())
.public_(false)
.name("example")
.build());
var exampleServer = new Server("exampleServer", ServerArgs.builder()
.name("example")
.datacenterId(example.id())
.cores(2)
.ram(2048)
.availabilityZone("ZONE_1")
.cpuFamily("INTEL_SKYLAKE")
.imageName("rockylinux-8-GenericCloud-20230518")
.imagePassword("password")
.volume(ServerVolumeArgs.builder()
.name("example")
.size(10)
.diskType("SSD Standard")
.build())
.nic(ServerNicArgs.builder()
.lan(exampleLan.id())
.name("example")
.dhcp(true)
.build())
.build());
var exampleInMemoryDBReplicaSet = new InMemoryDBReplicaSet("exampleInMemoryDBReplicaSet", InMemoryDBReplicaSetArgs.builder()
.location(example.location())
.displayName("ExampleReplicaSet")
.version("7.2")
.replicas(4)
.resources(InMemoryDBReplicaSetResourcesArgs.builder()
.cores(1)
.ram(6)
.build())
.persistenceMode("RDB")
.evictionPolicy("noeviction")
.connections(InMemoryDBReplicaSetConnectionsArgs.builder()
.datacenterId(example.id())
.lanId(exampleLan.id())
.cidr("database_ip_cidr_from_nic")
.build())
.maintenanceWindow(InMemoryDBReplicaSetMaintenanceWindowArgs.builder()
.dayOfTheWeek("Monday")
.time("10:00:00")
.build())
.credentials(InMemoryDBReplicaSetCredentialsArgs.builder()
.username("myuser")
.plainTextPassword("testpassword")
.build())
.build());
}
}
resources:
example:
type: ionoscloud:compute:Datacenter
properties:
name: example
location: de/txl
description: Datacenter for DBaaS InMemoryDB replica sets
exampleLan:
type: ionoscloud:compute:Lan
name: example
properties:
datacenterId: ${example.id}
public: false
name: example
exampleServer:
type: ionoscloud:compute:Server
name: example
properties:
name: example
datacenterId: ${example.id}
cores: 2
ram: 2048
availabilityZone: ZONE_1
cpuFamily: INTEL_SKYLAKE
imageName: rockylinux-8-GenericCloud-20230518
imagePassword: password
volume:
name: example
size: 10
diskType: SSD Standard
nic:
lan: ${exampleLan.id}
name: example
dhcp: true
exampleInMemoryDBReplicaSet:
type: ionoscloud:dbaas:InMemoryDBReplicaSet
name: example
properties:
location: ${example.location}
displayName: ExampleReplicaSet
version: '7.2'
replicas: 4
resources:
cores: 1
ram: 6
persistenceMode: RDB
evictionPolicy: noeviction
connections:
datacenterId: ${example.id}
lanId: ${exampleLan.id}
cidr: database_ip_cidr_from_nic
maintenanceWindow:
dayOfTheWeek: Monday
time: 10:00:00
credentials:
username: myuser
plainTextPassword: testpassword
Create InMemoryDBReplicaSet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InMemoryDBReplicaSet(name: string, args: InMemoryDBReplicaSetArgs, opts?: CustomResourceOptions);
@overload
def InMemoryDBReplicaSet(resource_name: str,
args: InMemoryDBReplicaSetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InMemoryDBReplicaSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
connections: Optional[InMemoryDBReplicaSetConnectionsArgs] = None,
credentials: Optional[InMemoryDBReplicaSetCredentialsArgs] = None,
display_name: Optional[str] = None,
eviction_policy: Optional[str] = None,
persistence_mode: Optional[str] = None,
replicas: Optional[int] = None,
resources: Optional[InMemoryDBReplicaSetResourcesArgs] = None,
version: Optional[str] = None,
initial_snapshot_id: Optional[str] = None,
location: Optional[str] = None,
maintenance_window: Optional[InMemoryDBReplicaSetMaintenanceWindowArgs] = None)
func NewInMemoryDBReplicaSet(ctx *Context, name string, args InMemoryDBReplicaSetArgs, opts ...ResourceOption) (*InMemoryDBReplicaSet, error)
public InMemoryDBReplicaSet(string name, InMemoryDBReplicaSetArgs args, CustomResourceOptions? opts = null)
public InMemoryDBReplicaSet(String name, InMemoryDBReplicaSetArgs args)
public InMemoryDBReplicaSet(String name, InMemoryDBReplicaSetArgs args, CustomResourceOptions options)
type: ionoscloud:dbaas:InMemoryDBReplicaSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InMemoryDBReplicaSetArgs
- 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 InMemoryDBReplicaSetArgs
- 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 InMemoryDBReplicaSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InMemoryDBReplicaSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InMemoryDBReplicaSetArgs
- 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 inMemoryDBReplicaSetResource = new Ionoscloud.Dbaas.InMemoryDBReplicaSet("inMemoryDBReplicaSetResource", new()
{
Connections = new Ionoscloud.Dbaas.Inputs.InMemoryDBReplicaSetConnectionsArgs
{
Cidr = "string",
DatacenterId = "string",
LanId = "string",
},
Credentials = new Ionoscloud.Dbaas.Inputs.InMemoryDBReplicaSetCredentialsArgs
{
Username = "string",
HashedPassword = new Ionoscloud.Dbaas.Inputs.InMemoryDBReplicaSetCredentialsHashedPasswordArgs
{
Algorithm = "string",
Hash = "string",
},
PlainTextPassword = "string",
},
DisplayName = "string",
EvictionPolicy = "string",
PersistenceMode = "string",
Replicas = 0,
Resources = new Ionoscloud.Dbaas.Inputs.InMemoryDBReplicaSetResourcesArgs
{
Cores = 0,
Ram = 0,
Storage = 0,
},
Version = "string",
InitialSnapshotId = "string",
Location = "string",
MaintenanceWindow = new Ionoscloud.Dbaas.Inputs.InMemoryDBReplicaSetMaintenanceWindowArgs
{
DayOfTheWeek = "string",
Time = "string",
},
});
example, err := dbaas.NewInMemoryDBReplicaSet(ctx, "inMemoryDBReplicaSetResource", &dbaas.InMemoryDBReplicaSetArgs{
Connections: &dbaas.InMemoryDBReplicaSetConnectionsArgs{
Cidr: pulumi.String("string"),
DatacenterId: pulumi.String("string"),
LanId: pulumi.String("string"),
},
Credentials: &dbaas.InMemoryDBReplicaSetCredentialsArgs{
Username: pulumi.String("string"),
HashedPassword: &dbaas.InMemoryDBReplicaSetCredentialsHashedPasswordArgs{
Algorithm: pulumi.String("string"),
Hash: pulumi.String("string"),
},
PlainTextPassword: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
EvictionPolicy: pulumi.String("string"),
PersistenceMode: pulumi.String("string"),
Replicas: pulumi.Int(0),
Resources: &dbaas.InMemoryDBReplicaSetResourcesArgs{
Cores: pulumi.Int(0),
Ram: pulumi.Int(0),
Storage: pulumi.Int(0),
},
Version: pulumi.String("string"),
InitialSnapshotId: pulumi.String("string"),
Location: pulumi.String("string"),
MaintenanceWindow: &dbaas.InMemoryDBReplicaSetMaintenanceWindowArgs{
DayOfTheWeek: pulumi.String("string"),
Time: pulumi.String("string"),
},
})
var inMemoryDBReplicaSetResource = new InMemoryDBReplicaSet("inMemoryDBReplicaSetResource", InMemoryDBReplicaSetArgs.builder()
.connections(InMemoryDBReplicaSetConnectionsArgs.builder()
.cidr("string")
.datacenterId("string")
.lanId("string")
.build())
.credentials(InMemoryDBReplicaSetCredentialsArgs.builder()
.username("string")
.hashedPassword(InMemoryDBReplicaSetCredentialsHashedPasswordArgs.builder()
.algorithm("string")
.hash("string")
.build())
.plainTextPassword("string")
.build())
.displayName("string")
.evictionPolicy("string")
.persistenceMode("string")
.replicas(0)
.resources(InMemoryDBReplicaSetResourcesArgs.builder()
.cores(0)
.ram(0)
.storage(0)
.build())
.version("string")
.initialSnapshotId("string")
.location("string")
.maintenanceWindow(InMemoryDBReplicaSetMaintenanceWindowArgs.builder()
.dayOfTheWeek("string")
.time("string")
.build())
.build());
in_memory_db_replica_set_resource = ionoscloud.dbaas.InMemoryDBReplicaSet("inMemoryDBReplicaSetResource",
connections={
"cidr": "string",
"datacenter_id": "string",
"lan_id": "string",
},
credentials={
"username": "string",
"hashed_password": {
"algorithm": "string",
"hash": "string",
},
"plain_text_password": "string",
},
display_name="string",
eviction_policy="string",
persistence_mode="string",
replicas=0,
resources={
"cores": 0,
"ram": 0,
"storage": 0,
},
version="string",
initial_snapshot_id="string",
location="string",
maintenance_window={
"day_of_the_week": "string",
"time": "string",
})
const inMemoryDBReplicaSetResource = new ionoscloud.dbaas.InMemoryDBReplicaSet("inMemoryDBReplicaSetResource", {
connections: {
cidr: "string",
datacenterId: "string",
lanId: "string",
},
credentials: {
username: "string",
hashedPassword: {
algorithm: "string",
hash: "string",
},
plainTextPassword: "string",
},
displayName: "string",
evictionPolicy: "string",
persistenceMode: "string",
replicas: 0,
resources: {
cores: 0,
ram: 0,
storage: 0,
},
version: "string",
initialSnapshotId: "string",
location: "string",
maintenanceWindow: {
dayOfTheWeek: "string",
time: "string",
},
});
type: ionoscloud:dbaas:InMemoryDBReplicaSet
properties:
connections:
cidr: string
datacenterId: string
lanId: string
credentials:
hashedPassword:
algorithm: string
hash: string
plainTextPassword: string
username: string
displayName: string
evictionPolicy: string
initialSnapshotId: string
location: string
maintenanceWindow:
dayOfTheWeek: string
time: string
persistenceMode: string
replicas: 0
resources:
cores: 0
ram: 0
storage: 0
version: string
InMemoryDBReplicaSet 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 InMemoryDBReplicaSet resource accepts the following input properties:
- Connections
Ionoscloud.
In Memory DBReplica Set Connections - [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- Credentials
Ionoscloud.
In Memory DBReplica Set Credentials - [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- Display
Name string - [string] The human-readable name of your replica set.
- Eviction
Policy string - [string] The eviction policy for the replica set, possible values are:
- Persistence
Mode string - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- Replicas int
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- Resources
Ionoscloud.
In Memory DBReplica Set Resources - [object] The resources of the individual replicas.
- Version string
- [string] The InMemoryDB version of your replica set.
- Initial
Snapshot stringId - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- Location string
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - Maintenance
Window Ionoscloud.In Memory DBReplica Set Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
- Connections
In
Memory DBReplica Set Connections Args - [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- Credentials
In
Memory DBReplica Set Credentials Args - [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- Display
Name string - [string] The human-readable name of your replica set.
- Eviction
Policy string - [string] The eviction policy for the replica set, possible values are:
- Persistence
Mode string - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- Replicas int
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- Resources
In
Memory DBReplica Set Resources Args - [object] The resources of the individual replicas.
- Version string
- [string] The InMemoryDB version of your replica set.
- Initial
Snapshot stringId - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- Location string
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - Maintenance
Window InMemory DBReplica Set Maintenance Window Args - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
- connections
In
Memory DBReplica Set Connections - [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- credentials
In
Memory DBReplica Set Credentials - [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- display
Name String - [string] The human-readable name of your replica set.
- eviction
Policy String - [string] The eviction policy for the replica set, possible values are:
- persistence
Mode String - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- replicas Integer
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- resources
In
Memory DBReplica Set Resources - [object] The resources of the individual replicas.
- version String
- [string] The InMemoryDB version of your replica set.
- initial
Snapshot StringId - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- location String
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - maintenance
Window InMemory DBReplica Set Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
- connections
In
Memory DBReplica Set Connections - [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- credentials
In
Memory DBReplica Set Credentials - [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- display
Name string - [string] The human-readable name of your replica set.
- eviction
Policy string - [string] The eviction policy for the replica set, possible values are:
- persistence
Mode string - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- replicas number
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- resources
In
Memory DBReplica Set Resources - [object] The resources of the individual replicas.
- version string
- [string] The InMemoryDB version of your replica set.
- initial
Snapshot stringId - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- location string
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - maintenance
Window InMemory DBReplica Set Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
- connections
In
Memory DBReplica Set Connections Args - [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- credentials
In
Memory DBReplica Set Credentials Args - [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- display_
name str - [string] The human-readable name of your replica set.
- eviction_
policy str - [string] The eviction policy for the replica set, possible values are:
- persistence_
mode str - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- replicas int
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- resources
In
Memory DBReplica Set Resources Args - [object] The resources of the individual replicas.
- version str
- [string] The InMemoryDB version of your replica set.
- initial_
snapshot_ strid - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- location str
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - maintenance_
window InMemory DBReplica Set Maintenance Window Args - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
- connections Property Map
- [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- credentials Property Map
- [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- display
Name String - [string] The human-readable name of your replica set.
- eviction
Policy String - [string] The eviction policy for the replica set, possible values are:
- persistence
Mode String - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- replicas Number
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- resources Property Map
- [object] The resources of the individual replicas.
- version String
- [string] The InMemoryDB version of your replica set.
- initial
Snapshot StringId - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- location String
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - maintenance
Window Property Map - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
Outputs
All input properties are implicitly available as output properties. Additionally, the InMemoryDBReplicaSet resource produces the following output properties:
- Dns
Name string [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- Id string
- The provider-assigned unique ID for this managed resource.
- Dns
Name string [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- Id string
- The provider-assigned unique ID for this managed resource.
- dns
Name String [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- id String
- The provider-assigned unique ID for this managed resource.
- dns
Name string [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- id string
- The provider-assigned unique ID for this managed resource.
- dns_
name str [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- id str
- The provider-assigned unique ID for this managed resource.
- dns
Name String [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing InMemoryDBReplicaSet Resource
Get an existing InMemoryDBReplicaSet 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?: InMemoryDBReplicaSetState, opts?: CustomResourceOptions): InMemoryDBReplicaSet
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connections: Optional[InMemoryDBReplicaSetConnectionsArgs] = None,
credentials: Optional[InMemoryDBReplicaSetCredentialsArgs] = None,
display_name: Optional[str] = None,
dns_name: Optional[str] = None,
eviction_policy: Optional[str] = None,
initial_snapshot_id: Optional[str] = None,
location: Optional[str] = None,
maintenance_window: Optional[InMemoryDBReplicaSetMaintenanceWindowArgs] = None,
persistence_mode: Optional[str] = None,
replicas: Optional[int] = None,
resources: Optional[InMemoryDBReplicaSetResourcesArgs] = None,
version: Optional[str] = None) -> InMemoryDBReplicaSet
func GetInMemoryDBReplicaSet(ctx *Context, name string, id IDInput, state *InMemoryDBReplicaSetState, opts ...ResourceOption) (*InMemoryDBReplicaSet, error)
public static InMemoryDBReplicaSet Get(string name, Input<string> id, InMemoryDBReplicaSetState? state, CustomResourceOptions? opts = null)
public static InMemoryDBReplicaSet get(String name, Output<String> id, InMemoryDBReplicaSetState state, CustomResourceOptions options)
resources: _: type: ionoscloud:dbaas:InMemoryDBReplicaSet get: 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 DBReplica Set Connections - [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- Credentials
Ionoscloud.
In Memory DBReplica Set Credentials - [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- Display
Name string - [string] The human-readable name of your replica set.
- Dns
Name string [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- Eviction
Policy string - [string] The eviction policy for the replica set, possible values are:
- Initial
Snapshot stringId - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- Location string
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - Maintenance
Window Ionoscloud.In Memory DBReplica Set Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
- Persistence
Mode string - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- Replicas int
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- Resources
Ionoscloud.
In Memory DBReplica Set Resources - [object] The resources of the individual replicas.
- Version string
- [string] The InMemoryDB version of your replica set.
- Connections
In
Memory DBReplica Set Connections Args - [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- Credentials
In
Memory DBReplica Set Credentials Args - [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- Display
Name string - [string] The human-readable name of your replica set.
- Dns
Name string [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- Eviction
Policy string - [string] The eviction policy for the replica set, possible values are:
- Initial
Snapshot stringId - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- Location string
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - Maintenance
Window InMemory DBReplica Set Maintenance Window Args - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
- Persistence
Mode string - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- Replicas int
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- Resources
In
Memory DBReplica Set Resources Args - [object] The resources of the individual replicas.
- Version string
- [string] The InMemoryDB version of your replica set.
- connections
In
Memory DBReplica Set Connections - [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- credentials
In
Memory DBReplica Set Credentials - [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- display
Name String - [string] The human-readable name of your replica set.
- dns
Name String [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- eviction
Policy String - [string] The eviction policy for the replica set, possible values are:
- initial
Snapshot StringId - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- location String
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - maintenance
Window InMemory DBReplica Set Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
- persistence
Mode String - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- replicas Integer
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- resources
In
Memory DBReplica Set Resources - [object] The resources of the individual replicas.
- version String
- [string] The InMemoryDB version of your replica set.
- connections
In
Memory DBReplica Set Connections - [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- credentials
In
Memory DBReplica Set Credentials - [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- display
Name string - [string] The human-readable name of your replica set.
- dns
Name string [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- eviction
Policy string - [string] The eviction policy for the replica set, possible values are:
- initial
Snapshot stringId - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- location string
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - maintenance
Window InMemory DBReplica Set Maintenance Window - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
- persistence
Mode string - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- replicas number
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- resources
In
Memory DBReplica Set Resources - [object] The resources of the individual replicas.
- version string
- [string] The InMemoryDB version of your replica set.
- connections
In
Memory DBReplica Set Connections Args - [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- credentials
In
Memory DBReplica Set Credentials Args - [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- display_
name str - [string] The human-readable name of your replica set.
- dns_
name str [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- eviction_
policy str - [string] The eviction policy for the replica set, possible values are:
- initial_
snapshot_ strid - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- location str
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - maintenance_
window InMemory DBReplica Set Maintenance Window Args - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
- persistence_
mode str - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- replicas int
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- resources
In
Memory DBReplica Set Resources Args - [object] The resources of the individual replicas.
- version str
- [string] The InMemoryDB version of your replica set.
- connections Property Map
- [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
- credentials Property Map
- [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
- display
Name String - [string] The human-readable name of your replica set.
- dns
Name String [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
⚠ NOTE:
IONOS_API_URL_INMEMORYDB
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingendpoint
orIONOS_API_URL
does not have any effect.- eviction
Policy String - [string] The eviction policy for the replica set, possible values are:
- initial
Snapshot StringId - [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
- location String
- [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the
IONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - maintenance
Window Property Map - (Computed) A weekly 4 hour-long window, during which maintenance might occur.
- persistence
Mode String - [string] Specifies How and If data is persisted, possible values are:
None
- Data is inMemory only and will not be persisted. Useful for cache only applications.AOF
- (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.RDB
- RDB persistence performs snapshots of the current in memory state.RDB_AOF
- Both RDB and AOF persistence are enabled.
- replicas Number
- [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
- resources Property Map
- [object] The resources of the individual replicas.
- version String
- [string] The InMemoryDB version of your replica set.
Supporting Types
InMemoryDBReplicaSetConnections, InMemoryDBReplicaSetConnectionsArgs
- Cidr string
- [string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.
- Datacenter
Id string - [string] The datacenter to connect your instance to.
- Lan
Id string - [string] The numeric LAN ID to connect your instance to.
- Cidr string
- [string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.
- Datacenter
Id string - [string] The datacenter to connect your instance to.
- Lan
Id string - [string] The numeric LAN ID to connect your instance to.
- cidr String
- [string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.
- datacenter
Id String - [string] The datacenter to connect your instance to.
- lan
Id String - [string] The numeric LAN ID to connect your instance to.
- cidr string
- [string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.
- datacenter
Id string - [string] The datacenter to connect your instance to.
- lan
Id string - [string] The numeric LAN ID to connect your instance to.
- cidr str
- [string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.
- datacenter_
id str - [string] The datacenter to connect your instance to.
- lan_
id str - [string] The numeric LAN ID to connect your instance to.
- cidr String
- [string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.
- datacenter
Id String - [string] The datacenter to connect your instance to.
- lan
Id String - [string] The numeric LAN ID to connect your instance to.
InMemoryDBReplicaSetCredentials, InMemoryDBReplicaSetCredentialsArgs
- Username string
- [string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').
- Hashed
Password Ionoscloud.In Memory DBReplica Set Credentials Hashed Password - [object] The hashed password for a InMemoryDB user.
- Plain
Text stringPassword - [string] The password for a InMemoryDB user, this is a field that is marked as
Sensitive
.
- Username string
- [string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').
- Hashed
Password InMemory DBReplica Set Credentials Hashed Password - [object] The hashed password for a InMemoryDB user.
- Plain
Text stringPassword - [string] The password for a InMemoryDB user, this is a field that is marked as
Sensitive
.
- username String
- [string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').
- hashed
Password InMemory DBReplica Set Credentials Hashed Password - [object] The hashed password for a InMemoryDB user.
- plain
Text StringPassword - [string] The password for a InMemoryDB user, this is a field that is marked as
Sensitive
.
- username string
- [string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').
- hashed
Password InMemory DBReplica Set Credentials Hashed Password - [object] The hashed password for a InMemoryDB user.
- plain
Text stringPassword - [string] The password for a InMemoryDB user, this is a field that is marked as
Sensitive
.
- username str
- [string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').
- hashed_
password InMemory DBReplica Set Credentials Hashed Password - [object] The hashed password for a InMemoryDB user.
- plain_
text_ strpassword - [string] The password for a InMemoryDB user, this is a field that is marked as
Sensitive
.
- username String
- [string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').
- hashed
Password Property Map - [object] The hashed password for a InMemoryDB user.
- plain
Text StringPassword - [string] The password for a InMemoryDB user, this is a field that is marked as
Sensitive
.
InMemoryDBReplicaSetCredentialsHashedPassword, InMemoryDBReplicaSetCredentialsHashedPasswordArgs
InMemoryDBReplicaSetMaintenanceWindow, InMemoryDBReplicaSetMaintenanceWindowArgs
- Day
Of stringThe Week - [string] The name of the week day.
- Time string
- [string] Start of the maintenance window in UTC time.
- Day
Of stringThe Week - [string] The name of the week day.
- Time string
- [string] Start of the maintenance window in UTC time.
- day
Of StringThe Week - [string] The name of the week day.
- time String
- [string] Start of the maintenance window in UTC time.
- day
Of stringThe Week - [string] The name of the week day.
- time string
- [string] Start of the maintenance window in UTC time.
- day_
of_ strthe_ week - [string] The name of the week day.
- time str
- [string] Start of the maintenance window in UTC time.
- day
Of StringThe Week - [string] The name of the week day.
- time String
- [string] Start of the maintenance window in UTC time.
InMemoryDBReplicaSetResources, InMemoryDBReplicaSetResourcesArgs
Import
Resource DBaaS InMemoryDB Replica Set can be imported using the replicaset_id
and the location
, separated by :
, e.g:
$ pulumi import ionoscloud:dbaas/inMemoryDBReplicaSet:InMemoryDBReplicaSet example location:replicaSet uuid
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
ionoscloud
Terraform Provider.