1. Packages
  2. UpCloud
  3. API Docs
  4. ManagedDatabaseRedis
UpCloud v0.2.0 published on Wednesday, Apr 16, 2025 by UpCloudLtd

upcloud.ManagedDatabaseRedis

Explore with Pulumi AI

Redis is deprecated in favor of Valkey. Please use Valkey for new key value store instances.

This resource represents Redis managed database. See UpCloud Managed Databases product page for more details about the service.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as upcloud from "@upcloud/pulumi-upcloud";

// Minimal config
const example1 = new upcloud.ManagedDatabaseRedis("example_1", {
    name: "redis-1",
    title: "redis-1-example-2",
    plan: "1x1xCPU-2GB",
    zone: "fi-hel2",
});
// Service with custom properties
const example2 = new upcloud.ManagedDatabaseRedis("example_2", {
    name: "redis-2",
    title: "redis-2-example-2",
    plan: "1x1xCPU-2GB",
    zone: "fi-hel1",
    properties: {
        publicAccess: false,
    },
});
Copy
import pulumi
import pulumi_upcloud as upcloud

# Minimal config
example1 = upcloud.ManagedDatabaseRedis("example_1",
    name="redis-1",
    title="redis-1-example-2",
    plan="1x1xCPU-2GB",
    zone="fi-hel2")
# Service with custom properties
example2 = upcloud.ManagedDatabaseRedis("example_2",
    name="redis-2",
    title="redis-2-example-2",
    plan="1x1xCPU-2GB",
    zone="fi-hel1",
    properties={
        "public_access": False,
    })
Copy
package main

import (
	"github.com/UpCloudLtd/pulumi-upcloud/sdk/go/upcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Minimal config
		_, err := upcloud.NewManagedDatabaseRedis(ctx, "example_1", &upcloud.ManagedDatabaseRedisArgs{
			Name:  pulumi.String("redis-1"),
			Title: pulumi.String("redis-1-example-2"),
			Plan:  pulumi.String("1x1xCPU-2GB"),
			Zone:  pulumi.String("fi-hel2"),
		})
		if err != nil {
			return err
		}
		// Service with custom properties
		_, err = upcloud.NewManagedDatabaseRedis(ctx, "example_2", &upcloud.ManagedDatabaseRedisArgs{
			Name:  pulumi.String("redis-2"),
			Title: pulumi.String("redis-2-example-2"),
			Plan:  pulumi.String("1x1xCPU-2GB"),
			Zone:  pulumi.String("fi-hel1"),
			Properties: &upcloud.ManagedDatabaseRedisPropertiesArgs{
				PublicAccess: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using UpCloud = UpCloud.Pulumi.UpCloud;

return await Deployment.RunAsync(() => 
{
    // Minimal config
    var example1 = new UpCloud.ManagedDatabaseRedis("example_1", new()
    {
        Name = "redis-1",
        Title = "redis-1-example-2",
        Plan = "1x1xCPU-2GB",
        Zone = "fi-hel2",
    });

    // Service with custom properties
    var example2 = new UpCloud.ManagedDatabaseRedis("example_2", new()
    {
        Name = "redis-2",
        Title = "redis-2-example-2",
        Plan = "1x1xCPU-2GB",
        Zone = "fi-hel1",
        Properties = new UpCloud.Inputs.ManagedDatabaseRedisPropertiesArgs
        {
            PublicAccess = false,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.upcloud.ManagedDatabaseRedis;
import com.pulumi.upcloud.ManagedDatabaseRedisArgs;
import com.pulumi.upcloud.inputs.ManagedDatabaseRedisPropertiesArgs;
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) {
        // Minimal config
        var example1 = new ManagedDatabaseRedis("example1", ManagedDatabaseRedisArgs.builder()
            .name("redis-1")
            .title("redis-1-example-2")
            .plan("1x1xCPU-2GB")
            .zone("fi-hel2")
            .build());

        // Service with custom properties
        var example2 = new ManagedDatabaseRedis("example2", ManagedDatabaseRedisArgs.builder()
            .name("redis-2")
            .title("redis-2-example-2")
            .plan("1x1xCPU-2GB")
            .zone("fi-hel1")
            .properties(ManagedDatabaseRedisPropertiesArgs.builder()
                .publicAccess(false)
                .build())
            .build());

    }
}
Copy
resources:
  # Minimal config
  example1:
    type: upcloud:ManagedDatabaseRedis
    name: example_1
    properties:
      name: redis-1
      title: redis-1-example-2
      plan: 1x1xCPU-2GB
      zone: fi-hel2
  # Service with custom properties
  example2:
    type: upcloud:ManagedDatabaseRedis
    name: example_2
    properties:
      name: redis-2
      title: redis-2-example-2
      plan: 1x1xCPU-2GB
      zone: fi-hel1
      properties:
        publicAccess: false
Copy

Create ManagedDatabaseRedis Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ManagedDatabaseRedis(name: string, args: ManagedDatabaseRedisArgs, opts?: CustomResourceOptions);
@overload
def ManagedDatabaseRedis(resource_name: str,
                         args: ManagedDatabaseRedisArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def ManagedDatabaseRedis(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         plan: Optional[str] = None,
                         title: Optional[str] = None,
                         zone: Optional[str] = None,
                         labels: Optional[Mapping[str, str]] = None,
                         maintenance_window_dow: Optional[str] = None,
                         maintenance_window_time: Optional[str] = None,
                         name: Optional[str] = None,
                         networks: Optional[Sequence[ManagedDatabaseRedisNetworkArgs]] = None,
                         powered: Optional[bool] = None,
                         properties: Optional[ManagedDatabaseRedisPropertiesArgs] = None,
                         termination_protection: Optional[bool] = None)
func NewManagedDatabaseRedis(ctx *Context, name string, args ManagedDatabaseRedisArgs, opts ...ResourceOption) (*ManagedDatabaseRedis, error)
public ManagedDatabaseRedis(string name, ManagedDatabaseRedisArgs args, CustomResourceOptions? opts = null)
public ManagedDatabaseRedis(String name, ManagedDatabaseRedisArgs args)
public ManagedDatabaseRedis(String name, ManagedDatabaseRedisArgs args, CustomResourceOptions options)
type: upcloud:ManagedDatabaseRedis
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ManagedDatabaseRedisArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ManagedDatabaseRedisArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ManagedDatabaseRedisArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ManagedDatabaseRedisArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ManagedDatabaseRedisArgs
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 managedDatabaseRedisResource = new UpCloud.ManagedDatabaseRedis("managedDatabaseRedisResource", new()
{
    Plan = "string",
    Title = "string",
    Zone = "string",
    Labels = 
    {
        { "string", "string" },
    },
    MaintenanceWindowDow = "string",
    MaintenanceWindowTime = "string",
    Name = "string",
    Networks = new[]
    {
        new UpCloud.Inputs.ManagedDatabaseRedisNetworkArgs
        {
            Family = "string",
            Name = "string",
            Type = "string",
            Uuid = "string",
        },
    },
    Powered = false,
    Properties = new UpCloud.Inputs.ManagedDatabaseRedisPropertiesArgs
    {
        AutomaticUtilityNetworkIpFilter = false,
        BackupHour = 0,
        BackupMinute = 0,
        IpFilters = new[]
        {
            "string",
        },
        Migration = new UpCloud.Inputs.ManagedDatabaseRedisPropertiesMigrationArgs
        {
            Dbname = "string",
            Host = "string",
            IgnoreDbs = "string",
            IgnoreRoles = "string",
            Method = "string",
            Password = "string",
            Port = 0,
            Ssl = false,
            Username = "string",
        },
        PublicAccess = false,
        RedisAclChannelsDefault = "string",
        RedisIoThreads = 0,
        RedisLfuDecayTime = 0,
        RedisLfuLogFactor = 0,
        RedisMaxmemoryPolicy = "string",
        RedisNotifyKeyspaceEvents = "string",
        RedisNumberOfDatabases = 0,
        RedisPersistence = "string",
        RedisPubsubClientOutputBufferLimit = 0,
        RedisSsl = false,
        RedisTimeout = 0,
        RedisVersion = "string",
        ServiceLog = false,
    },
    TerminationProtection = false,
});
Copy
example, err := upcloud.NewManagedDatabaseRedis(ctx, "managedDatabaseRedisResource", &upcloud.ManagedDatabaseRedisArgs{
	Plan:  pulumi.String("string"),
	Title: pulumi.String("string"),
	Zone:  pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	MaintenanceWindowDow:  pulumi.String("string"),
	MaintenanceWindowTime: pulumi.String("string"),
	Name:                  pulumi.String("string"),
	Networks: upcloud.ManagedDatabaseRedisNetworkArray{
		&upcloud.ManagedDatabaseRedisNetworkArgs{
			Family: pulumi.String("string"),
			Name:   pulumi.String("string"),
			Type:   pulumi.String("string"),
			Uuid:   pulumi.String("string"),
		},
	},
	Powered: pulumi.Bool(false),
	Properties: &upcloud.ManagedDatabaseRedisPropertiesArgs{
		AutomaticUtilityNetworkIpFilter: pulumi.Bool(false),
		BackupHour:                      pulumi.Int(0),
		BackupMinute:                    pulumi.Int(0),
		IpFilters: pulumi.StringArray{
			pulumi.String("string"),
		},
		Migration: &upcloud.ManagedDatabaseRedisPropertiesMigrationArgs{
			Dbname:      pulumi.String("string"),
			Host:        pulumi.String("string"),
			IgnoreDbs:   pulumi.String("string"),
			IgnoreRoles: pulumi.String("string"),
			Method:      pulumi.String("string"),
			Password:    pulumi.String("string"),
			Port:        pulumi.Int(0),
			Ssl:         pulumi.Bool(false),
			Username:    pulumi.String("string"),
		},
		PublicAccess:                       pulumi.Bool(false),
		RedisAclChannelsDefault:            pulumi.String("string"),
		RedisIoThreads:                     pulumi.Int(0),
		RedisLfuDecayTime:                  pulumi.Int(0),
		RedisLfuLogFactor:                  pulumi.Int(0),
		RedisMaxmemoryPolicy:               pulumi.String("string"),
		RedisNotifyKeyspaceEvents:          pulumi.String("string"),
		RedisNumberOfDatabases:             pulumi.Int(0),
		RedisPersistence:                   pulumi.String("string"),
		RedisPubsubClientOutputBufferLimit: pulumi.Int(0),
		RedisSsl:                           pulumi.Bool(false),
		RedisTimeout:                       pulumi.Int(0),
		RedisVersion:                       pulumi.String("string"),
		ServiceLog:                         pulumi.Bool(false),
	},
	TerminationProtection: pulumi.Bool(false),
})
Copy
var managedDatabaseRedisResource = new ManagedDatabaseRedis("managedDatabaseRedisResource", ManagedDatabaseRedisArgs.builder()
    .plan("string")
    .title("string")
    .zone("string")
    .labels(Map.of("string", "string"))
    .maintenanceWindowDow("string")
    .maintenanceWindowTime("string")
    .name("string")
    .networks(ManagedDatabaseRedisNetworkArgs.builder()
        .family("string")
        .name("string")
        .type("string")
        .uuid("string")
        .build())
    .powered(false)
    .properties(ManagedDatabaseRedisPropertiesArgs.builder()
        .automaticUtilityNetworkIpFilter(false)
        .backupHour(0)
        .backupMinute(0)
        .ipFilters("string")
        .migration(ManagedDatabaseRedisPropertiesMigrationArgs.builder()
            .dbname("string")
            .host("string")
            .ignoreDbs("string")
            .ignoreRoles("string")
            .method("string")
            .password("string")
            .port(0)
            .ssl(false)
            .username("string")
            .build())
        .publicAccess(false)
        .redisAclChannelsDefault("string")
        .redisIoThreads(0)
        .redisLfuDecayTime(0)
        .redisLfuLogFactor(0)
        .redisMaxmemoryPolicy("string")
        .redisNotifyKeyspaceEvents("string")
        .redisNumberOfDatabases(0)
        .redisPersistence("string")
        .redisPubsubClientOutputBufferLimit(0)
        .redisSsl(false)
        .redisTimeout(0)
        .redisVersion("string")
        .serviceLog(false)
        .build())
    .terminationProtection(false)
    .build());
Copy
managed_database_redis_resource = upcloud.ManagedDatabaseRedis("managedDatabaseRedisResource",
    plan="string",
    title="string",
    zone="string",
    labels={
        "string": "string",
    },
    maintenance_window_dow="string",
    maintenance_window_time="string",
    name="string",
    networks=[{
        "family": "string",
        "name": "string",
        "type": "string",
        "uuid": "string",
    }],
    powered=False,
    properties={
        "automatic_utility_network_ip_filter": False,
        "backup_hour": 0,
        "backup_minute": 0,
        "ip_filters": ["string"],
        "migration": {
            "dbname": "string",
            "host": "string",
            "ignore_dbs": "string",
            "ignore_roles": "string",
            "method": "string",
            "password": "string",
            "port": 0,
            "ssl": False,
            "username": "string",
        },
        "public_access": False,
        "redis_acl_channels_default": "string",
        "redis_io_threads": 0,
        "redis_lfu_decay_time": 0,
        "redis_lfu_log_factor": 0,
        "redis_maxmemory_policy": "string",
        "redis_notify_keyspace_events": "string",
        "redis_number_of_databases": 0,
        "redis_persistence": "string",
        "redis_pubsub_client_output_buffer_limit": 0,
        "redis_ssl": False,
        "redis_timeout": 0,
        "redis_version": "string",
        "service_log": False,
    },
    termination_protection=False)
Copy
const managedDatabaseRedisResource = new upcloud.ManagedDatabaseRedis("managedDatabaseRedisResource", {
    plan: "string",
    title: "string",
    zone: "string",
    labels: {
        string: "string",
    },
    maintenanceWindowDow: "string",
    maintenanceWindowTime: "string",
    name: "string",
    networks: [{
        family: "string",
        name: "string",
        type: "string",
        uuid: "string",
    }],
    powered: false,
    properties: {
        automaticUtilityNetworkIpFilter: false,
        backupHour: 0,
        backupMinute: 0,
        ipFilters: ["string"],
        migration: {
            dbname: "string",
            host: "string",
            ignoreDbs: "string",
            ignoreRoles: "string",
            method: "string",
            password: "string",
            port: 0,
            ssl: false,
            username: "string",
        },
        publicAccess: false,
        redisAclChannelsDefault: "string",
        redisIoThreads: 0,
        redisLfuDecayTime: 0,
        redisLfuLogFactor: 0,
        redisMaxmemoryPolicy: "string",
        redisNotifyKeyspaceEvents: "string",
        redisNumberOfDatabases: 0,
        redisPersistence: "string",
        redisPubsubClientOutputBufferLimit: 0,
        redisSsl: false,
        redisTimeout: 0,
        redisVersion: "string",
        serviceLog: false,
    },
    terminationProtection: false,
});
Copy
type: upcloud:ManagedDatabaseRedis
properties:
    labels:
        string: string
    maintenanceWindowDow: string
    maintenanceWindowTime: string
    name: string
    networks:
        - family: string
          name: string
          type: string
          uuid: string
    plan: string
    powered: false
    properties:
        automaticUtilityNetworkIpFilter: false
        backupHour: 0
        backupMinute: 0
        ipFilters:
            - string
        migration:
            dbname: string
            host: string
            ignoreDbs: string
            ignoreRoles: string
            method: string
            password: string
            port: 0
            ssl: false
            username: string
        publicAccess: false
        redisAclChannelsDefault: string
        redisIoThreads: 0
        redisLfuDecayTime: 0
        redisLfuLogFactor: 0
        redisMaxmemoryPolicy: string
        redisNotifyKeyspaceEvents: string
        redisNumberOfDatabases: 0
        redisPersistence: string
        redisPubsubClientOutputBufferLimit: 0
        redisSsl: false
        redisTimeout: 0
        redisVersion: string
        serviceLog: false
    terminationProtection: false
    title: string
    zone: string
Copy

ManagedDatabaseRedis 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 ManagedDatabaseRedis resource accepts the following input properties:

Plan This property is required. string
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
Title This property is required. string
Title of a managed database instance
Zone This property is required. string
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.
Labels Dictionary<string, string>
User defined key-value pairs to classify the managed database.
MaintenanceWindowDow string
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
MaintenanceWindowTime string
Maintenance window UTC time in hh:mm:ss format
Name Changes to this property will trigger replacement. string
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
Networks List<UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseRedisNetwork>
Private networks attached to the managed database
Powered bool
The administrative power state of the service
Properties UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseRedisProperties
Database Engine properties for Redis
TerminationProtection bool
If set to true, prevents the managed service from being powered off, or deleted.
Plan This property is required. string
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
Title This property is required. string
Title of a managed database instance
Zone This property is required. string
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.
Labels map[string]string
User defined key-value pairs to classify the managed database.
MaintenanceWindowDow string
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
MaintenanceWindowTime string
Maintenance window UTC time in hh:mm:ss format
Name Changes to this property will trigger replacement. string
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
Networks []ManagedDatabaseRedisNetworkArgs
Private networks attached to the managed database
Powered bool
The administrative power state of the service
Properties ManagedDatabaseRedisPropertiesArgs
Database Engine properties for Redis
TerminationProtection bool
If set to true, prevents the managed service from being powered off, or deleted.
plan This property is required. String
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
title This property is required. String
Title of a managed database instance
zone This property is required. String
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.
labels Map<String,String>
User defined key-value pairs to classify the managed database.
maintenanceWindowDow String
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
maintenanceWindowTime String
Maintenance window UTC time in hh:mm:ss format
name Changes to this property will trigger replacement. String
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
networks List<ManagedDatabaseRedisNetwork>
Private networks attached to the managed database
powered Boolean
The administrative power state of the service
properties ManagedDatabaseRedisProperties
Database Engine properties for Redis
terminationProtection Boolean
If set to true, prevents the managed service from being powered off, or deleted.
plan This property is required. string
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
title This property is required. string
Title of a managed database instance
zone This property is required. string
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.
labels {[key: string]: string}
User defined key-value pairs to classify the managed database.
maintenanceWindowDow string
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
maintenanceWindowTime string
Maintenance window UTC time in hh:mm:ss format
name Changes to this property will trigger replacement. string
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
networks ManagedDatabaseRedisNetwork[]
Private networks attached to the managed database
powered boolean
The administrative power state of the service
properties ManagedDatabaseRedisProperties
Database Engine properties for Redis
terminationProtection boolean
If set to true, prevents the managed service from being powered off, or deleted.
plan This property is required. str
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
title This property is required. str
Title of a managed database instance
zone This property is required. str
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.
labels Mapping[str, str]
User defined key-value pairs to classify the managed database.
maintenance_window_dow str
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
maintenance_window_time str
Maintenance window UTC time in hh:mm:ss format
name Changes to this property will trigger replacement. str
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
networks Sequence[ManagedDatabaseRedisNetworkArgs]
Private networks attached to the managed database
powered bool
The administrative power state of the service
properties ManagedDatabaseRedisPropertiesArgs
Database Engine properties for Redis
termination_protection bool
If set to true, prevents the managed service from being powered off, or deleted.
plan This property is required. String
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
title This property is required. String
Title of a managed database instance
zone This property is required. String
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.
labels Map<String>
User defined key-value pairs to classify the managed database.
maintenanceWindowDow String
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
maintenanceWindowTime String
Maintenance window UTC time in hh:mm:ss format
name Changes to this property will trigger replacement. String
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
networks List<Property Map>
Private networks attached to the managed database
powered Boolean
The administrative power state of the service
properties Property Map
Database Engine properties for Redis
terminationProtection Boolean
If set to true, prevents the managed service from being powered off, or deleted.

Outputs

All input properties are implicitly available as output properties. Additionally, the ManagedDatabaseRedis resource produces the following output properties:

Components List<UpCloud.Pulumi.UpCloud.Outputs.ManagedDatabaseRedisComponent>
Service component information
Id string
The provider-assigned unique ID for this managed resource.
NodeStates List<UpCloud.Pulumi.UpCloud.Outputs.ManagedDatabaseRedisNodeState>
Information about nodes providing the managed service
PrimaryDatabase string
Primary database name
ServiceHost string
Hostname to the service instance
ServicePassword string
Primary username's password to the service instance
ServicePort string
Port to the service instance
ServiceUri string
URI to the service instance
ServiceUsername string
Primary username to the service instance
State string
State of the service
Type string
Type of the service
Components []ManagedDatabaseRedisComponent
Service component information
Id string
The provider-assigned unique ID for this managed resource.
NodeStates []ManagedDatabaseRedisNodeState
Information about nodes providing the managed service
PrimaryDatabase string
Primary database name
ServiceHost string
Hostname to the service instance
ServicePassword string
Primary username's password to the service instance
ServicePort string
Port to the service instance
ServiceUri string
URI to the service instance
ServiceUsername string
Primary username to the service instance
State string
State of the service
Type string
Type of the service
components List<ManagedDatabaseRedisComponent>
Service component information
id String
The provider-assigned unique ID for this managed resource.
nodeStates List<ManagedDatabaseRedisNodeState>
Information about nodes providing the managed service
primaryDatabase String
Primary database name
serviceHost String
Hostname to the service instance
servicePassword String
Primary username's password to the service instance
servicePort String
Port to the service instance
serviceUri String
URI to the service instance
serviceUsername String
Primary username to the service instance
state String
State of the service
type String
Type of the service
components ManagedDatabaseRedisComponent[]
Service component information
id string
The provider-assigned unique ID for this managed resource.
nodeStates ManagedDatabaseRedisNodeState[]
Information about nodes providing the managed service
primaryDatabase string
Primary database name
serviceHost string
Hostname to the service instance
servicePassword string
Primary username's password to the service instance
servicePort string
Port to the service instance
serviceUri string
URI to the service instance
serviceUsername string
Primary username to the service instance
state string
State of the service
type string
Type of the service
components Sequence[ManagedDatabaseRedisComponent]
Service component information
id str
The provider-assigned unique ID for this managed resource.
node_states Sequence[ManagedDatabaseRedisNodeState]
Information about nodes providing the managed service
primary_database str
Primary database name
service_host str
Hostname to the service instance
service_password str
Primary username's password to the service instance
service_port str
Port to the service instance
service_uri str
URI to the service instance
service_username str
Primary username to the service instance
state str
State of the service
type str
Type of the service
components List<Property Map>
Service component information
id String
The provider-assigned unique ID for this managed resource.
nodeStates List<Property Map>
Information about nodes providing the managed service
primaryDatabase String
Primary database name
serviceHost String
Hostname to the service instance
servicePassword String
Primary username's password to the service instance
servicePort String
Port to the service instance
serviceUri String
URI to the service instance
serviceUsername String
Primary username to the service instance
state String
State of the service
type String
Type of the service

Look up Existing ManagedDatabaseRedis Resource

Get an existing ManagedDatabaseRedis 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?: ManagedDatabaseRedisState, opts?: CustomResourceOptions): ManagedDatabaseRedis
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        components: Optional[Sequence[ManagedDatabaseRedisComponentArgs]] = None,
        labels: Optional[Mapping[str, str]] = None,
        maintenance_window_dow: Optional[str] = None,
        maintenance_window_time: Optional[str] = None,
        name: Optional[str] = None,
        networks: Optional[Sequence[ManagedDatabaseRedisNetworkArgs]] = None,
        node_states: Optional[Sequence[ManagedDatabaseRedisNodeStateArgs]] = None,
        plan: Optional[str] = None,
        powered: Optional[bool] = None,
        primary_database: Optional[str] = None,
        properties: Optional[ManagedDatabaseRedisPropertiesArgs] = None,
        service_host: Optional[str] = None,
        service_password: Optional[str] = None,
        service_port: Optional[str] = None,
        service_uri: Optional[str] = None,
        service_username: Optional[str] = None,
        state: Optional[str] = None,
        termination_protection: Optional[bool] = None,
        title: Optional[str] = None,
        type: Optional[str] = None,
        zone: Optional[str] = None) -> ManagedDatabaseRedis
func GetManagedDatabaseRedis(ctx *Context, name string, id IDInput, state *ManagedDatabaseRedisState, opts ...ResourceOption) (*ManagedDatabaseRedis, error)
public static ManagedDatabaseRedis Get(string name, Input<string> id, ManagedDatabaseRedisState? state, CustomResourceOptions? opts = null)
public static ManagedDatabaseRedis get(String name, Output<String> id, ManagedDatabaseRedisState state, CustomResourceOptions options)
resources:  _:    type: upcloud:ManagedDatabaseRedis    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Components List<UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseRedisComponent>
Service component information
Labels Dictionary<string, string>
User defined key-value pairs to classify the managed database.
MaintenanceWindowDow string
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
MaintenanceWindowTime string
Maintenance window UTC time in hh:mm:ss format
Name Changes to this property will trigger replacement. string
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
Networks List<UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseRedisNetwork>
Private networks attached to the managed database
NodeStates List<UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseRedisNodeState>
Information about nodes providing the managed service
Plan string
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
Powered bool
The administrative power state of the service
PrimaryDatabase string
Primary database name
Properties UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseRedisProperties
Database Engine properties for Redis
ServiceHost string
Hostname to the service instance
ServicePassword string
Primary username's password to the service instance
ServicePort string
Port to the service instance
ServiceUri string
URI to the service instance
ServiceUsername string
Primary username to the service instance
State string
State of the service
TerminationProtection bool
If set to true, prevents the managed service from being powered off, or deleted.
Title string
Title of a managed database instance
Type string
Type of the service
Zone string
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.
Components []ManagedDatabaseRedisComponentArgs
Service component information
Labels map[string]string
User defined key-value pairs to classify the managed database.
MaintenanceWindowDow string
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
MaintenanceWindowTime string
Maintenance window UTC time in hh:mm:ss format
Name Changes to this property will trigger replacement. string
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
Networks []ManagedDatabaseRedisNetworkArgs
Private networks attached to the managed database
NodeStates []ManagedDatabaseRedisNodeStateArgs
Information about nodes providing the managed service
Plan string
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
Powered bool
The administrative power state of the service
PrimaryDatabase string
Primary database name
Properties ManagedDatabaseRedisPropertiesArgs
Database Engine properties for Redis
ServiceHost string
Hostname to the service instance
ServicePassword string
Primary username's password to the service instance
ServicePort string
Port to the service instance
ServiceUri string
URI to the service instance
ServiceUsername string
Primary username to the service instance
State string
State of the service
TerminationProtection bool
If set to true, prevents the managed service from being powered off, or deleted.
Title string
Title of a managed database instance
Type string
Type of the service
Zone string
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.
components List<ManagedDatabaseRedisComponent>
Service component information
labels Map<String,String>
User defined key-value pairs to classify the managed database.
maintenanceWindowDow String
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
maintenanceWindowTime String
Maintenance window UTC time in hh:mm:ss format
name Changes to this property will trigger replacement. String
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
networks List<ManagedDatabaseRedisNetwork>
Private networks attached to the managed database
nodeStates List<ManagedDatabaseRedisNodeState>
Information about nodes providing the managed service
plan String
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
powered Boolean
The administrative power state of the service
primaryDatabase String
Primary database name
properties ManagedDatabaseRedisProperties
Database Engine properties for Redis
serviceHost String
Hostname to the service instance
servicePassword String
Primary username's password to the service instance
servicePort String
Port to the service instance
serviceUri String
URI to the service instance
serviceUsername String
Primary username to the service instance
state String
State of the service
terminationProtection Boolean
If set to true, prevents the managed service from being powered off, or deleted.
title String
Title of a managed database instance
type String
Type of the service
zone String
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.
components ManagedDatabaseRedisComponent[]
Service component information
labels {[key: string]: string}
User defined key-value pairs to classify the managed database.
maintenanceWindowDow string
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
maintenanceWindowTime string
Maintenance window UTC time in hh:mm:ss format
name Changes to this property will trigger replacement. string
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
networks ManagedDatabaseRedisNetwork[]
Private networks attached to the managed database
nodeStates ManagedDatabaseRedisNodeState[]
Information about nodes providing the managed service
plan string
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
powered boolean
The administrative power state of the service
primaryDatabase string
Primary database name
properties ManagedDatabaseRedisProperties
Database Engine properties for Redis
serviceHost string
Hostname to the service instance
servicePassword string
Primary username's password to the service instance
servicePort string
Port to the service instance
serviceUri string
URI to the service instance
serviceUsername string
Primary username to the service instance
state string
State of the service
terminationProtection boolean
If set to true, prevents the managed service from being powered off, or deleted.
title string
Title of a managed database instance
type string
Type of the service
zone string
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.
components Sequence[ManagedDatabaseRedisComponentArgs]
Service component information
labels Mapping[str, str]
User defined key-value pairs to classify the managed database.
maintenance_window_dow str
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
maintenance_window_time str
Maintenance window UTC time in hh:mm:ss format
name Changes to this property will trigger replacement. str
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
networks Sequence[ManagedDatabaseRedisNetworkArgs]
Private networks attached to the managed database
node_states Sequence[ManagedDatabaseRedisNodeStateArgs]
Information about nodes providing the managed service
plan str
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
powered bool
The administrative power state of the service
primary_database str
Primary database name
properties ManagedDatabaseRedisPropertiesArgs
Database Engine properties for Redis
service_host str
Hostname to the service instance
service_password str
Primary username's password to the service instance
service_port str
Port to the service instance
service_uri str
URI to the service instance
service_username str
Primary username to the service instance
state str
State of the service
termination_protection bool
If set to true, prevents the managed service from being powered off, or deleted.
title str
Title of a managed database instance
type str
Type of the service
zone str
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.
components List<Property Map>
Service component information
labels Map<String>
User defined key-value pairs to classify the managed database.
maintenanceWindowDow String
Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
maintenanceWindowTime String
Maintenance window UTC time in hh:mm:ss format
name Changes to this property will trigger replacement. String
Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
networks List<Property Map>
Private networks attached to the managed database
nodeStates List<Property Map>
Information about nodes providing the managed service
plan String
Service plan to use. This determines how much resources the instance will have. You can list available plans with upctl database plans <type>.
powered Boolean
The administrative power state of the service
primaryDatabase String
Primary database name
properties Property Map
Database Engine properties for Redis
serviceHost String
Hostname to the service instance
servicePassword String
Primary username's password to the service instance
servicePort String
Port to the service instance
serviceUri String
URI to the service instance
serviceUsername String
Primary username to the service instance
state String
State of the service
terminationProtection Boolean
If set to true, prevents the managed service from being powered off, or deleted.
title String
Title of a managed database instance
type String
Type of the service
zone String
Zone where the instance resides, e.g. de-fra1. You can list available zones with upctl zone list.

Supporting Types

ManagedDatabaseRedisComponent
, ManagedDatabaseRedisComponentArgs

Component string
Type of the component
Host string
Hostname of the component
Port int
Port number of the component
Route string
Component network route type
Usage string
Usage of the component
Component string
Type of the component
Host string
Hostname of the component
Port int
Port number of the component
Route string
Component network route type
Usage string
Usage of the component
component String
Type of the component
host String
Hostname of the component
port Integer
Port number of the component
route String
Component network route type
usage String
Usage of the component
component string
Type of the component
host string
Hostname of the component
port number
Port number of the component
route string
Component network route type
usage string
Usage of the component
component str
Type of the component
host str
Hostname of the component
port int
Port number of the component
route str
Component network route type
usage str
Usage of the component
component String
Type of the component
host String
Hostname of the component
port Number
Port number of the component
route String
Component network route type
usage String
Usage of the component

ManagedDatabaseRedisNetwork
, ManagedDatabaseRedisNetworkArgs

Family This property is required. string
Network family. Currently only IPv4 is supported.
Name This property is required. string
The name of the network. Must be unique within the service.
Type This property is required. string
The type of the network. Must be private.
Uuid This property is required. string
Private network UUID. Must reside in the same zone as the database.
Family This property is required. string
Network family. Currently only IPv4 is supported.
Name This property is required. string
The name of the network. Must be unique within the service.
Type This property is required. string
The type of the network. Must be private.
Uuid This property is required. string
Private network UUID. Must reside in the same zone as the database.
family This property is required. String
Network family. Currently only IPv4 is supported.
name This property is required. String
The name of the network. Must be unique within the service.
type This property is required. String
The type of the network. Must be private.
uuid This property is required. String
Private network UUID. Must reside in the same zone as the database.
family This property is required. string
Network family. Currently only IPv4 is supported.
name This property is required. string
The name of the network. Must be unique within the service.
type This property is required. string
The type of the network. Must be private.
uuid This property is required. string
Private network UUID. Must reside in the same zone as the database.
family This property is required. str
Network family. Currently only IPv4 is supported.
name This property is required. str
The name of the network. Must be unique within the service.
type This property is required. str
The type of the network. Must be private.
uuid This property is required. str
Private network UUID. Must reside in the same zone as the database.
family This property is required. String
Network family. Currently only IPv4 is supported.
name This property is required. String
The name of the network. Must be unique within the service.
type This property is required. String
The type of the network. Must be private.
uuid This property is required. String
Private network UUID. Must reside in the same zone as the database.

ManagedDatabaseRedisNodeState
, ManagedDatabaseRedisNodeStateArgs

Name string
Name plus a node iteration
Role string
Role of the node
State string
State of the node
Name string
Name plus a node iteration
Role string
Role of the node
State string
State of the node
name String
Name plus a node iteration
role String
Role of the node
state String
State of the node
name string
Name plus a node iteration
role string
Role of the node
state string
State of the node
name str
Name plus a node iteration
role str
Role of the node
state str
State of the node
name String
Name plus a node iteration
role String
Role of the node
state String
State of the node

ManagedDatabaseRedisProperties
, ManagedDatabaseRedisPropertiesArgs

AutomaticUtilityNetworkIpFilter bool
Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
BackupHour int
The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
BackupMinute int
The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
IpFilters List<string>
IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
Migration UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseRedisPropertiesMigration
Migrate data from existing server.
PublicAccess bool
Public Access. Allow access to the service from the public Internet.
RedisAclChannelsDefault string
Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default.
RedisIoThreads int
Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service.
RedisLfuDecayTime int
LFU maxmemory-policy counter decay time in minutes.
RedisLfuLogFactor int
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
RedisMaxmemoryPolicy string
Redis maxmemory-policy.
RedisNotifyKeyspaceEvents string
Set notify-keyspace-events option.
RedisNumberOfDatabases int
Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service.
RedisPersistence string
Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked.
RedisPubsubClientOutputBufferLimit int
Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
RedisSsl bool
Require SSL to access Redis.
RedisTimeout int
Redis idle connection timeout in seconds.
RedisVersion string
Redis major version.
ServiceLog bool
Service logging. Store logs for the service so that they are available in the HTTP API and console.
AutomaticUtilityNetworkIpFilter bool
Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
BackupHour int
The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
BackupMinute int
The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
IpFilters []string
IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
Migration ManagedDatabaseRedisPropertiesMigration
Migrate data from existing server.
PublicAccess bool
Public Access. Allow access to the service from the public Internet.
RedisAclChannelsDefault string
Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default.
RedisIoThreads int
Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service.
RedisLfuDecayTime int
LFU maxmemory-policy counter decay time in minutes.
RedisLfuLogFactor int
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
RedisMaxmemoryPolicy string
Redis maxmemory-policy.
RedisNotifyKeyspaceEvents string
Set notify-keyspace-events option.
RedisNumberOfDatabases int
Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service.
RedisPersistence string
Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked.
RedisPubsubClientOutputBufferLimit int
Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
RedisSsl bool
Require SSL to access Redis.
RedisTimeout int
Redis idle connection timeout in seconds.
RedisVersion string
Redis major version.
ServiceLog bool
Service logging. Store logs for the service so that they are available in the HTTP API and console.
automaticUtilityNetworkIpFilter Boolean
Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
backupHour Integer
The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
backupMinute Integer
The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
ipFilters List<String>
IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
migration ManagedDatabaseRedisPropertiesMigration
Migrate data from existing server.
publicAccess Boolean
Public Access. Allow access to the service from the public Internet.
redisAclChannelsDefault String
Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default.
redisIoThreads Integer
Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service.
redisLfuDecayTime Integer
LFU maxmemory-policy counter decay time in minutes.
redisLfuLogFactor Integer
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
redisMaxmemoryPolicy String
Redis maxmemory-policy.
redisNotifyKeyspaceEvents String
Set notify-keyspace-events option.
redisNumberOfDatabases Integer
Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service.
redisPersistence String
Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked.
redisPubsubClientOutputBufferLimit Integer
Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
redisSsl Boolean
Require SSL to access Redis.
redisTimeout Integer
Redis idle connection timeout in seconds.
redisVersion String
Redis major version.
serviceLog Boolean
Service logging. Store logs for the service so that they are available in the HTTP API and console.
automaticUtilityNetworkIpFilter boolean
Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
backupHour number
The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
backupMinute number
The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
ipFilters string[]
IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
migration ManagedDatabaseRedisPropertiesMigration
Migrate data from existing server.
publicAccess boolean
Public Access. Allow access to the service from the public Internet.
redisAclChannelsDefault string
Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default.
redisIoThreads number
Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service.
redisLfuDecayTime number
LFU maxmemory-policy counter decay time in minutes.
redisLfuLogFactor number
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
redisMaxmemoryPolicy string
Redis maxmemory-policy.
redisNotifyKeyspaceEvents string
Set notify-keyspace-events option.
redisNumberOfDatabases number
Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service.
redisPersistence string
Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked.
redisPubsubClientOutputBufferLimit number
Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
redisSsl boolean
Require SSL to access Redis.
redisTimeout number
Redis idle connection timeout in seconds.
redisVersion string
Redis major version.
serviceLog boolean
Service logging. Store logs for the service so that they are available in the HTTP API and console.
automatic_utility_network_ip_filter bool
Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
backup_hour int
The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
backup_minute int
The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
ip_filters Sequence[str]
IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
migration ManagedDatabaseRedisPropertiesMigration
Migrate data from existing server.
public_access bool
Public Access. Allow access to the service from the public Internet.
redis_acl_channels_default str
Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default.
redis_io_threads int
Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service.
redis_lfu_decay_time int
LFU maxmemory-policy counter decay time in minutes.
redis_lfu_log_factor int
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
redis_maxmemory_policy str
Redis maxmemory-policy.
redis_notify_keyspace_events str
Set notify-keyspace-events option.
redis_number_of_databases int
Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service.
redis_persistence str
Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked.
redis_pubsub_client_output_buffer_limit int
Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
redis_ssl bool
Require SSL to access Redis.
redis_timeout int
Redis idle connection timeout in seconds.
redis_version str
Redis major version.
service_log bool
Service logging. Store logs for the service so that they are available in the HTTP API and console.
automaticUtilityNetworkIpFilter Boolean
Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
backupHour Number
The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
backupMinute Number
The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
ipFilters List<String>
IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
migration Property Map
Migrate data from existing server.
publicAccess Boolean
Public Access. Allow access to the service from the public Internet.
redisAclChannelsDefault String
Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default.
redisIoThreads Number
Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service.
redisLfuDecayTime Number
LFU maxmemory-policy counter decay time in minutes.
redisLfuLogFactor Number
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
redisMaxmemoryPolicy String
Redis maxmemory-policy.
redisNotifyKeyspaceEvents String
Set notify-keyspace-events option.
redisNumberOfDatabases Number
Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service.
redisPersistence String
Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked.
redisPubsubClientOutputBufferLimit Number
Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
redisSsl Boolean
Require SSL to access Redis.
redisTimeout Number
Redis idle connection timeout in seconds.
redisVersion String
Redis major version.
serviceLog Boolean
Service logging. Store logs for the service so that they are available in the HTTP API and console.

ManagedDatabaseRedisPropertiesMigration
, ManagedDatabaseRedisPropertiesMigrationArgs

Dbname string
Database name for bootstrapping the initial connection.
Host string
Hostname or IP address of the server where to migrate data from.
IgnoreDbs string
Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
IgnoreRoles string
Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
Method string
The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
Password string
Password for authentication with the server where to migrate data from.
Port int
Port number of the server where to migrate data from.
Ssl bool
The server where to migrate data from is secured with SSL.
Username string
User name for authentication with the server where to migrate data from.
Dbname string
Database name for bootstrapping the initial connection.
Host string
Hostname or IP address of the server where to migrate data from.
IgnoreDbs string
Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
IgnoreRoles string
Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
Method string
The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
Password string
Password for authentication with the server where to migrate data from.
Port int
Port number of the server where to migrate data from.
Ssl bool
The server where to migrate data from is secured with SSL.
Username string
User name for authentication with the server where to migrate data from.
dbname String
Database name for bootstrapping the initial connection.
host String
Hostname or IP address of the server where to migrate data from.
ignoreDbs String
Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
ignoreRoles String
Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
method String
The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
password String
Password for authentication with the server where to migrate data from.
port Integer
Port number of the server where to migrate data from.
ssl Boolean
The server where to migrate data from is secured with SSL.
username String
User name for authentication with the server where to migrate data from.
dbname string
Database name for bootstrapping the initial connection.
host string
Hostname or IP address of the server where to migrate data from.
ignoreDbs string
Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
ignoreRoles string
Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
method string
The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
password string
Password for authentication with the server where to migrate data from.
port number
Port number of the server where to migrate data from.
ssl boolean
The server where to migrate data from is secured with SSL.
username string
User name for authentication with the server where to migrate data from.
dbname str
Database name for bootstrapping the initial connection.
host str
Hostname or IP address of the server where to migrate data from.
ignore_dbs str
Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
ignore_roles str
Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
method str
The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
password str
Password for authentication with the server where to migrate data from.
port int
Port number of the server where to migrate data from.
ssl bool
The server where to migrate data from is secured with SSL.
username str
User name for authentication with the server where to migrate data from.
dbname String
Database name for bootstrapping the initial connection.
host String
Hostname or IP address of the server where to migrate data from.
ignoreDbs String
Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
ignoreRoles String
Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
method String
The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
password String
Password for authentication with the server where to migrate data from.
port Number
Port number of the server where to migrate data from.
ssl Boolean
The server where to migrate data from is secured with SSL.
username String
User name for authentication with the server where to migrate data from.

Package Details

Repository
upcloud UpCloudLtd/pulumi-upcloud
License
Apache-2.0
Notes
This Pulumi package is based on the upcloud Terraform Provider.