1. Packages
  2. UpCloud
  3. API Docs
  4. ManagedDatabaseValkey
UpCloud v0.1.0 published on Friday, Mar 14, 2025 by UpCloudLtd

upcloud.ManagedDatabaseValkey

Explore with Pulumi AI

This resource represents Valkey 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.ManagedDatabaseValkey("example_1", {
    name: "valkey-1",
    title: "valkey-example-1",
    plan: "1x1xCPU-2GB",
    zone: "fi-hel2",
});
// Service with custom properties
const example2 = new upcloud.ManagedDatabaseValkey("example_2", {
    name: "valkey-2",
    title: "valkey-example-2",
    plan: "1x1xCPU-2GB",
    zone: "fi-hel1",
    properties: {
        publicAccess: false,
    },
});
Copy
import pulumi
import pulumi_upcloud as upcloud

# Minimal config
example1 = upcloud.ManagedDatabaseValkey("example_1",
    name="valkey-1",
    title="valkey-example-1",
    plan="1x1xCPU-2GB",
    zone="fi-hel2")
# Service with custom properties
example2 = upcloud.ManagedDatabaseValkey("example_2",
    name="valkey-2",
    title="valkey-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.NewManagedDatabaseValkey(ctx, "example_1", &upcloud.ManagedDatabaseValkeyArgs{
			Name:  pulumi.String("valkey-1"),
			Title: pulumi.String("valkey-example-1"),
			Plan:  pulumi.String("1x1xCPU-2GB"),
			Zone:  pulumi.String("fi-hel2"),
		})
		if err != nil {
			return err
		}
		// Service with custom properties
		_, err = upcloud.NewManagedDatabaseValkey(ctx, "example_2", &upcloud.ManagedDatabaseValkeyArgs{
			Name:  pulumi.String("valkey-2"),
			Title: pulumi.String("valkey-example-2"),
			Plan:  pulumi.String("1x1xCPU-2GB"),
			Zone:  pulumi.String("fi-hel1"),
			Properties: &upcloud.ManagedDatabaseValkeyPropertiesArgs{
				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.ManagedDatabaseValkey("example_1", new()
    {
        Name = "valkey-1",
        Title = "valkey-example-1",
        Plan = "1x1xCPU-2GB",
        Zone = "fi-hel2",
    });

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

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.upcloud.ManagedDatabaseValkey;
import com.pulumi.upcloud.ManagedDatabaseValkeyArgs;
import com.pulumi.upcloud.inputs.ManagedDatabaseValkeyPropertiesArgs;
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 ManagedDatabaseValkey("example1", ManagedDatabaseValkeyArgs.builder()
            .name("valkey-1")
            .title("valkey-example-1")
            .plan("1x1xCPU-2GB")
            .zone("fi-hel2")
            .build());

        // Service with custom properties
        var example2 = new ManagedDatabaseValkey("example2", ManagedDatabaseValkeyArgs.builder()
            .name("valkey-2")
            .title("valkey-example-2")
            .plan("1x1xCPU-2GB")
            .zone("fi-hel1")
            .properties(ManagedDatabaseValkeyPropertiesArgs.builder()
                .publicAccess(false)
                .build())
            .build());

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

Create ManagedDatabaseValkey Resource

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

Constructor syntax

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

@overload
def ManagedDatabaseValkey(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[ManagedDatabaseValkeyNetworkArgs]] = None,
                          powered: Optional[bool] = None,
                          properties: Optional[ManagedDatabaseValkeyPropertiesArgs] = None,
                          termination_protection: Optional[bool] = None)
func NewManagedDatabaseValkey(ctx *Context, name string, args ManagedDatabaseValkeyArgs, opts ...ResourceOption) (*ManagedDatabaseValkey, error)
public ManagedDatabaseValkey(string name, ManagedDatabaseValkeyArgs args, CustomResourceOptions? opts = null)
public ManagedDatabaseValkey(String name, ManagedDatabaseValkeyArgs args)
public ManagedDatabaseValkey(String name, ManagedDatabaseValkeyArgs args, CustomResourceOptions options)
type: upcloud:ManagedDatabaseValkey
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. ManagedDatabaseValkeyArgs
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. ManagedDatabaseValkeyArgs
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. ManagedDatabaseValkeyArgs
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. ManagedDatabaseValkeyArgs
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. ManagedDatabaseValkeyArgs
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 managedDatabaseValkeyResource = new UpCloud.ManagedDatabaseValkey("managedDatabaseValkeyResource", new()
{
    Plan = "string",
    Title = "string",
    Zone = "string",
    Labels = 
    {
        { "string", "string" },
    },
    MaintenanceWindowDow = "string",
    MaintenanceWindowTime = "string",
    Name = "string",
    Networks = new[]
    {
        new UpCloud.Inputs.ManagedDatabaseValkeyNetworkArgs
        {
            Family = "string",
            Name = "string",
            Type = "string",
            Uuid = "string",
        },
    },
    Powered = false,
    Properties = new UpCloud.Inputs.ManagedDatabaseValkeyPropertiesArgs
    {
        AutomaticUtilityNetworkIpFilter = false,
        BackupHour = 0,
        BackupMinute = 0,
        FrequentSnapshots = false,
        IpFilters = new[]
        {
            "string",
        },
        Migration = new UpCloud.Inputs.ManagedDatabaseValkeyPropertiesMigrationArgs
        {
            Dbname = "string",
            Host = "string",
            IgnoreDbs = "string",
            IgnoreRoles = "string",
            Method = "string",
            Password = "string",
            Port = 0,
            Ssl = false,
            Username = "string",
        },
        PublicAccess = false,
        ServiceLog = false,
        ValkeyAclChannelsDefault = "string",
        ValkeyActiveExpireEffort = 0,
        ValkeyIoThreads = 0,
        ValkeyLfuDecayTime = 0,
        ValkeyLfuLogFactor = 0,
        ValkeyMaxmemoryPolicy = "string",
        ValkeyNotifyKeyspaceEvents = "string",
        ValkeyNumberOfDatabases = 0,
        ValkeyPersistence = "string",
        ValkeyPubsubClientOutputBufferLimit = 0,
        ValkeySsl = false,
        ValkeyTimeout = 0,
    },
    TerminationProtection = false,
});
Copy
example, err := upcloud.NewManagedDatabaseValkey(ctx, "managedDatabaseValkeyResource", &upcloud.ManagedDatabaseValkeyArgs{
	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.ManagedDatabaseValkeyNetworkArray{
		&upcloud.ManagedDatabaseValkeyNetworkArgs{
			Family: pulumi.String("string"),
			Name:   pulumi.String("string"),
			Type:   pulumi.String("string"),
			Uuid:   pulumi.String("string"),
		},
	},
	Powered: pulumi.Bool(false),
	Properties: &upcloud.ManagedDatabaseValkeyPropertiesArgs{
		AutomaticUtilityNetworkIpFilter: pulumi.Bool(false),
		BackupHour:                      pulumi.Int(0),
		BackupMinute:                    pulumi.Int(0),
		FrequentSnapshots:               pulumi.Bool(false),
		IpFilters: pulumi.StringArray{
			pulumi.String("string"),
		},
		Migration: &upcloud.ManagedDatabaseValkeyPropertiesMigrationArgs{
			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),
		ServiceLog:                          pulumi.Bool(false),
		ValkeyAclChannelsDefault:            pulumi.String("string"),
		ValkeyActiveExpireEffort:            pulumi.Int(0),
		ValkeyIoThreads:                     pulumi.Int(0),
		ValkeyLfuDecayTime:                  pulumi.Int(0),
		ValkeyLfuLogFactor:                  pulumi.Int(0),
		ValkeyMaxmemoryPolicy:               pulumi.String("string"),
		ValkeyNotifyKeyspaceEvents:          pulumi.String("string"),
		ValkeyNumberOfDatabases:             pulumi.Int(0),
		ValkeyPersistence:                   pulumi.String("string"),
		ValkeyPubsubClientOutputBufferLimit: pulumi.Int(0),
		ValkeySsl:                           pulumi.Bool(false),
		ValkeyTimeout:                       pulumi.Int(0),
	},
	TerminationProtection: pulumi.Bool(false),
})
Copy
var managedDatabaseValkeyResource = new ManagedDatabaseValkey("managedDatabaseValkeyResource", ManagedDatabaseValkeyArgs.builder()
    .plan("string")
    .title("string")
    .zone("string")
    .labels(Map.of("string", "string"))
    .maintenanceWindowDow("string")
    .maintenanceWindowTime("string")
    .name("string")
    .networks(ManagedDatabaseValkeyNetworkArgs.builder()
        .family("string")
        .name("string")
        .type("string")
        .uuid("string")
        .build())
    .powered(false)
    .properties(ManagedDatabaseValkeyPropertiesArgs.builder()
        .automaticUtilityNetworkIpFilter(false)
        .backupHour(0)
        .backupMinute(0)
        .frequentSnapshots(false)
        .ipFilters("string")
        .migration(ManagedDatabaseValkeyPropertiesMigrationArgs.builder()
            .dbname("string")
            .host("string")
            .ignoreDbs("string")
            .ignoreRoles("string")
            .method("string")
            .password("string")
            .port(0)
            .ssl(false)
            .username("string")
            .build())
        .publicAccess(false)
        .serviceLog(false)
        .valkeyAclChannelsDefault("string")
        .valkeyActiveExpireEffort(0)
        .valkeyIoThreads(0)
        .valkeyLfuDecayTime(0)
        .valkeyLfuLogFactor(0)
        .valkeyMaxmemoryPolicy("string")
        .valkeyNotifyKeyspaceEvents("string")
        .valkeyNumberOfDatabases(0)
        .valkeyPersistence("string")
        .valkeyPubsubClientOutputBufferLimit(0)
        .valkeySsl(false)
        .valkeyTimeout(0)
        .build())
    .terminationProtection(false)
    .build());
Copy
managed_database_valkey_resource = upcloud.ManagedDatabaseValkey("managedDatabaseValkeyResource",
    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,
        "frequent_snapshots": False,
        "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,
        "service_log": False,
        "valkey_acl_channels_default": "string",
        "valkey_active_expire_effort": 0,
        "valkey_io_threads": 0,
        "valkey_lfu_decay_time": 0,
        "valkey_lfu_log_factor": 0,
        "valkey_maxmemory_policy": "string",
        "valkey_notify_keyspace_events": "string",
        "valkey_number_of_databases": 0,
        "valkey_persistence": "string",
        "valkey_pubsub_client_output_buffer_limit": 0,
        "valkey_ssl": False,
        "valkey_timeout": 0,
    },
    termination_protection=False)
Copy
const managedDatabaseValkeyResource = new upcloud.ManagedDatabaseValkey("managedDatabaseValkeyResource", {
    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,
        frequentSnapshots: false,
        ipFilters: ["string"],
        migration: {
            dbname: "string",
            host: "string",
            ignoreDbs: "string",
            ignoreRoles: "string",
            method: "string",
            password: "string",
            port: 0,
            ssl: false,
            username: "string",
        },
        publicAccess: false,
        serviceLog: false,
        valkeyAclChannelsDefault: "string",
        valkeyActiveExpireEffort: 0,
        valkeyIoThreads: 0,
        valkeyLfuDecayTime: 0,
        valkeyLfuLogFactor: 0,
        valkeyMaxmemoryPolicy: "string",
        valkeyNotifyKeyspaceEvents: "string",
        valkeyNumberOfDatabases: 0,
        valkeyPersistence: "string",
        valkeyPubsubClientOutputBufferLimit: 0,
        valkeySsl: false,
        valkeyTimeout: 0,
    },
    terminationProtection: false,
});
Copy
type: upcloud:ManagedDatabaseValkey
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
        frequentSnapshots: false
        ipFilters:
            - string
        migration:
            dbname: string
            host: string
            ignoreDbs: string
            ignoreRoles: string
            method: string
            password: string
            port: 0
            ssl: false
            username: string
        publicAccess: false
        serviceLog: false
        valkeyAclChannelsDefault: string
        valkeyActiveExpireEffort: 0
        valkeyIoThreads: 0
        valkeyLfuDecayTime: 0
        valkeyLfuLogFactor: 0
        valkeyMaxmemoryPolicy: string
        valkeyNotifyKeyspaceEvents: string
        valkeyNumberOfDatabases: 0
        valkeyPersistence: string
        valkeyPubsubClientOutputBufferLimit: 0
        valkeySsl: false
        valkeyTimeout: 0
    terminationProtection: false
    title: string
    zone: string
Copy

ManagedDatabaseValkey 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 ManagedDatabaseValkey 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.ManagedDatabaseValkeyNetwork>
Private networks attached to the managed database
Powered bool
The administrative power state of the service
Properties UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseValkeyProperties
Database Engine properties for Valkey
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 []ManagedDatabaseValkeyNetworkArgs
Private networks attached to the managed database
Powered bool
The administrative power state of the service
Properties ManagedDatabaseValkeyPropertiesArgs
Database Engine properties for Valkey
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<ManagedDatabaseValkeyNetwork>
Private networks attached to the managed database
powered Boolean
The administrative power state of the service
properties ManagedDatabaseValkeyProperties
Database Engine properties for Valkey
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 ManagedDatabaseValkeyNetwork[]
Private networks attached to the managed database
powered boolean
The administrative power state of the service
properties ManagedDatabaseValkeyProperties
Database Engine properties for Valkey
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[ManagedDatabaseValkeyNetworkArgs]
Private networks attached to the managed database
powered bool
The administrative power state of the service
properties ManagedDatabaseValkeyPropertiesArgs
Database Engine properties for Valkey
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 Valkey
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 ManagedDatabaseValkey resource produces the following output properties:

Components List<UpCloud.Pulumi.UpCloud.Outputs.ManagedDatabaseValkeyComponent>
Service component information
Id string
The provider-assigned unique ID for this managed resource.
NodeStates List<UpCloud.Pulumi.UpCloud.Outputs.ManagedDatabaseValkeyNodeState>
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 []ManagedDatabaseValkeyComponent
Service component information
Id string
The provider-assigned unique ID for this managed resource.
NodeStates []ManagedDatabaseValkeyNodeState
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<ManagedDatabaseValkeyComponent>
Service component information
id String
The provider-assigned unique ID for this managed resource.
nodeStates List<ManagedDatabaseValkeyNodeState>
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 ManagedDatabaseValkeyComponent[]
Service component information
id string
The provider-assigned unique ID for this managed resource.
nodeStates ManagedDatabaseValkeyNodeState[]
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[ManagedDatabaseValkeyComponent]
Service component information
id str
The provider-assigned unique ID for this managed resource.
node_states Sequence[ManagedDatabaseValkeyNodeState]
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 ManagedDatabaseValkey Resource

Get an existing ManagedDatabaseValkey 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?: ManagedDatabaseValkeyState, opts?: CustomResourceOptions): ManagedDatabaseValkey
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        components: Optional[Sequence[ManagedDatabaseValkeyComponentArgs]] = 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[ManagedDatabaseValkeyNetworkArgs]] = None,
        node_states: Optional[Sequence[ManagedDatabaseValkeyNodeStateArgs]] = None,
        plan: Optional[str] = None,
        powered: Optional[bool] = None,
        primary_database: Optional[str] = None,
        properties: Optional[ManagedDatabaseValkeyPropertiesArgs] = 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) -> ManagedDatabaseValkey
func GetManagedDatabaseValkey(ctx *Context, name string, id IDInput, state *ManagedDatabaseValkeyState, opts ...ResourceOption) (*ManagedDatabaseValkey, error)
public static ManagedDatabaseValkey Get(string name, Input<string> id, ManagedDatabaseValkeyState? state, CustomResourceOptions? opts = null)
public static ManagedDatabaseValkey get(String name, Output<String> id, ManagedDatabaseValkeyState state, CustomResourceOptions options)
resources:  _:    type: upcloud:ManagedDatabaseValkey    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.ManagedDatabaseValkeyComponent>
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.ManagedDatabaseValkeyNetwork>
Private networks attached to the managed database
NodeStates List<UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseValkeyNodeState>
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.ManagedDatabaseValkeyProperties
Database Engine properties for Valkey
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 []ManagedDatabaseValkeyComponentArgs
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 []ManagedDatabaseValkeyNetworkArgs
Private networks attached to the managed database
NodeStates []ManagedDatabaseValkeyNodeStateArgs
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 ManagedDatabaseValkeyPropertiesArgs
Database Engine properties for Valkey
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<ManagedDatabaseValkeyComponent>
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<ManagedDatabaseValkeyNetwork>
Private networks attached to the managed database
nodeStates List<ManagedDatabaseValkeyNodeState>
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 ManagedDatabaseValkeyProperties
Database Engine properties for Valkey
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 ManagedDatabaseValkeyComponent[]
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 ManagedDatabaseValkeyNetwork[]
Private networks attached to the managed database
nodeStates ManagedDatabaseValkeyNodeState[]
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 ManagedDatabaseValkeyProperties
Database Engine properties for Valkey
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[ManagedDatabaseValkeyComponentArgs]
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[ManagedDatabaseValkeyNetworkArgs]
Private networks attached to the managed database
node_states Sequence[ManagedDatabaseValkeyNodeStateArgs]
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 ManagedDatabaseValkeyPropertiesArgs
Database Engine properties for Valkey
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 Valkey
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

ManagedDatabaseValkeyComponent
, ManagedDatabaseValkeyComponentArgs

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

ManagedDatabaseValkeyNetwork
, ManagedDatabaseValkeyNetworkArgs

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.

ManagedDatabaseValkeyNodeState
, ManagedDatabaseValkeyNodeStateArgs

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

ManagedDatabaseValkeyProperties
, ManagedDatabaseValkeyPropertiesArgs

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.
FrequentSnapshots bool
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
IpFilters List<string>
IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
Migration UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseValkeyPropertiesMigration
Migrate data from existing server.
PublicAccess bool
Public Access. Allow access to the service from the public Internet.
ServiceLog bool
Service logging. Store logs for the service so that they are available in the HTTP API and console.
ValkeyAclChannelsDefault string
Default ACL for pub/sub channels used when a Valkey 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 Valkey configuration acl-pubsub-default.
ValkeyActiveExpireEffort int
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
ValkeyIoThreads int
Valkey IO thread count. Set Valkey IO thread count. Changing this will cause a restart of the Valkey service.
ValkeyLfuDecayTime int
LFU maxmemory-policy counter decay time in minutes.
ValkeyLfuLogFactor int
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
ValkeyMaxmemoryPolicy string
Valkey maxmemory-policy.
ValkeyNotifyKeyspaceEvents string
Set notify-keyspace-events option.
ValkeyNumberOfDatabases int
Number of Valkey databases. Set number of Valkey databases. Changing this will cause a restart of the Valkey service.
ValkeyPersistence string
Valkey persistence. When persistence is 'rdb', Valkey does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is 'off', no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
ValkeyPubsubClientOutputBufferLimit 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.
ValkeySsl bool
Require SSL to access Valkey.
ValkeyTimeout int
Valkey idle connection timeout in seconds.
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.
FrequentSnapshots bool
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
IpFilters []string
IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
Migration ManagedDatabaseValkeyPropertiesMigration
Migrate data from existing server.
PublicAccess bool
Public Access. Allow access to the service from the public Internet.
ServiceLog bool
Service logging. Store logs for the service so that they are available in the HTTP API and console.
ValkeyAclChannelsDefault string
Default ACL for pub/sub channels used when a Valkey 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 Valkey configuration acl-pubsub-default.
ValkeyActiveExpireEffort int
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
ValkeyIoThreads int
Valkey IO thread count. Set Valkey IO thread count. Changing this will cause a restart of the Valkey service.
ValkeyLfuDecayTime int
LFU maxmemory-policy counter decay time in minutes.
ValkeyLfuLogFactor int
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
ValkeyMaxmemoryPolicy string
Valkey maxmemory-policy.
ValkeyNotifyKeyspaceEvents string
Set notify-keyspace-events option.
ValkeyNumberOfDatabases int
Number of Valkey databases. Set number of Valkey databases. Changing this will cause a restart of the Valkey service.
ValkeyPersistence string
Valkey persistence. When persistence is 'rdb', Valkey does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is 'off', no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
ValkeyPubsubClientOutputBufferLimit 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.
ValkeySsl bool
Require SSL to access Valkey.
ValkeyTimeout int
Valkey idle connection timeout in seconds.
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.
frequentSnapshots Boolean
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
ipFilters List<String>
IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
migration ManagedDatabaseValkeyPropertiesMigration
Migrate data from existing server.
publicAccess Boolean
Public Access. Allow access to the service from the public Internet.
serviceLog Boolean
Service logging. Store logs for the service so that they are available in the HTTP API and console.
valkeyAclChannelsDefault String
Default ACL for pub/sub channels used when a Valkey 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 Valkey configuration acl-pubsub-default.
valkeyActiveExpireEffort Integer
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
valkeyIoThreads Integer
Valkey IO thread count. Set Valkey IO thread count. Changing this will cause a restart of the Valkey service.
valkeyLfuDecayTime Integer
LFU maxmemory-policy counter decay time in minutes.
valkeyLfuLogFactor Integer
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
valkeyMaxmemoryPolicy String
Valkey maxmemory-policy.
valkeyNotifyKeyspaceEvents String
Set notify-keyspace-events option.
valkeyNumberOfDatabases Integer
Number of Valkey databases. Set number of Valkey databases. Changing this will cause a restart of the Valkey service.
valkeyPersistence String
Valkey persistence. When persistence is 'rdb', Valkey does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is 'off', no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
valkeyPubsubClientOutputBufferLimit 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.
valkeySsl Boolean
Require SSL to access Valkey.
valkeyTimeout Integer
Valkey idle connection timeout in seconds.
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.
frequentSnapshots boolean
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
ipFilters string[]
IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
migration ManagedDatabaseValkeyPropertiesMigration
Migrate data from existing server.
publicAccess boolean
Public Access. Allow access to the service from the public Internet.
serviceLog boolean
Service logging. Store logs for the service so that they are available in the HTTP API and console.
valkeyAclChannelsDefault string
Default ACL for pub/sub channels used when a Valkey 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 Valkey configuration acl-pubsub-default.
valkeyActiveExpireEffort number
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
valkeyIoThreads number
Valkey IO thread count. Set Valkey IO thread count. Changing this will cause a restart of the Valkey service.
valkeyLfuDecayTime number
LFU maxmemory-policy counter decay time in minutes.
valkeyLfuLogFactor number
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
valkeyMaxmemoryPolicy string
Valkey maxmemory-policy.
valkeyNotifyKeyspaceEvents string
Set notify-keyspace-events option.
valkeyNumberOfDatabases number
Number of Valkey databases. Set number of Valkey databases. Changing this will cause a restart of the Valkey service.
valkeyPersistence string
Valkey persistence. When persistence is 'rdb', Valkey does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is 'off', no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
valkeyPubsubClientOutputBufferLimit 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.
valkeySsl boolean
Require SSL to access Valkey.
valkeyTimeout number
Valkey idle connection timeout in seconds.
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.
frequent_snapshots bool
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
ip_filters Sequence[str]
IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
migration ManagedDatabaseValkeyPropertiesMigration
Migrate data from existing server.
public_access bool
Public Access. Allow access to the service from the public Internet.
service_log bool
Service logging. Store logs for the service so that they are available in the HTTP API and console.
valkey_acl_channels_default str
Default ACL for pub/sub channels used when a Valkey 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 Valkey configuration acl-pubsub-default.
valkey_active_expire_effort int
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
valkey_io_threads int
Valkey IO thread count. Set Valkey IO thread count. Changing this will cause a restart of the Valkey service.
valkey_lfu_decay_time int
LFU maxmemory-policy counter decay time in minutes.
valkey_lfu_log_factor int
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
valkey_maxmemory_policy str
Valkey maxmemory-policy.
valkey_notify_keyspace_events str
Set notify-keyspace-events option.
valkey_number_of_databases int
Number of Valkey databases. Set number of Valkey databases. Changing this will cause a restart of the Valkey service.
valkey_persistence str
Valkey persistence. When persistence is 'rdb', Valkey does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is 'off', no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
valkey_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.
valkey_ssl bool
Require SSL to access Valkey.
valkey_timeout int
Valkey idle connection timeout in seconds.
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.
frequentSnapshots Boolean
Frequent RDB snapshots. When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when valkey_persistence is set to off.
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.
serviceLog Boolean
Service logging. Store logs for the service so that they are available in the HTTP API and console.
valkeyAclChannelsDefault String
Default ACL for pub/sub channels used when a Valkey 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 Valkey configuration acl-pubsub-default.
valkeyActiveExpireEffort Number
Active expire effort. Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
valkeyIoThreads Number
Valkey IO thread count. Set Valkey IO thread count. Changing this will cause a restart of the Valkey service.
valkeyLfuDecayTime Number
LFU maxmemory-policy counter decay time in minutes.
valkeyLfuLogFactor Number
Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
valkeyMaxmemoryPolicy String
Valkey maxmemory-policy.
valkeyNotifyKeyspaceEvents String
Set notify-keyspace-events option.
valkeyNumberOfDatabases Number
Number of Valkey databases. Set number of Valkey databases. Changing this will cause a restart of the Valkey service.
valkeyPersistence String
Valkey persistence. When persistence is 'rdb', Valkey does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is 'off', no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
valkeyPubsubClientOutputBufferLimit 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.
valkeySsl Boolean
Require SSL to access Valkey.
valkeyTimeout Number
Valkey idle connection timeout in seconds.

ManagedDatabaseValkeyPropertiesMigration
, ManagedDatabaseValkeyPropertiesMigrationArgs

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.