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

upcloud.ManagedDatabaseUser

Explore with Pulumi AI

This resource represents a user in managed database

Example Usage

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

const example = new upcloud.ManagedDatabasePostgresql("example", {
    name: "postgres",
    plan: "1x1xCPU-2GB-25GB",
    title: "postgres",
    zone: "fi-hel1",
});
const exampleUser = new upcloud.ManagedDatabaseUser("example_user", {
    service: example.id,
    username: "example_user",
    password: "<USER_PASSWORD>",
});
Copy
import pulumi
import pulumi_upcloud as upcloud

example = upcloud.ManagedDatabasePostgresql("example",
    name="postgres",
    plan="1x1xCPU-2GB-25GB",
    title="postgres",
    zone="fi-hel1")
example_user = upcloud.ManagedDatabaseUser("example_user",
    service=example.id,
    username="example_user",
    password="<USER_PASSWORD>")
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 {
		example, err := upcloud.NewManagedDatabasePostgresql(ctx, "example", &upcloud.ManagedDatabasePostgresqlArgs{
			Name:  pulumi.String("postgres"),
			Plan:  pulumi.String("1x1xCPU-2GB-25GB"),
			Title: pulumi.String("postgres"),
			Zone:  pulumi.String("fi-hel1"),
		})
		if err != nil {
			return err
		}
		_, err = upcloud.NewManagedDatabaseUser(ctx, "example_user", &upcloud.ManagedDatabaseUserArgs{
			Service:  example.ID(),
			Username: pulumi.String("example_user"),
			Password: pulumi.String("<USER_PASSWORD>"),
		})
		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(() => 
{
    var example = new UpCloud.ManagedDatabasePostgresql("example", new()
    {
        Name = "postgres",
        Plan = "1x1xCPU-2GB-25GB",
        Title = "postgres",
        Zone = "fi-hel1",
    });

    var exampleUser = new UpCloud.ManagedDatabaseUser("example_user", new()
    {
        Service = example.Id,
        Username = "example_user",
        Password = "<USER_PASSWORD>",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.upcloud.ManagedDatabasePostgresql;
import com.pulumi.upcloud.ManagedDatabasePostgresqlArgs;
import com.pulumi.upcloud.ManagedDatabaseUser;
import com.pulumi.upcloud.ManagedDatabaseUserArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ManagedDatabasePostgresql("example", ManagedDatabasePostgresqlArgs.builder()
            .name("postgres")
            .plan("1x1xCPU-2GB-25GB")
            .title("postgres")
            .zone("fi-hel1")
            .build());

        var exampleUser = new ManagedDatabaseUser("exampleUser", ManagedDatabaseUserArgs.builder()
            .service(example.id())
            .username("example_user")
            .password("<USER_PASSWORD>")
            .build());

    }
}
Copy
resources:
  example:
    type: upcloud:ManagedDatabasePostgresql
    properties:
      name: postgres
      plan: 1x1xCPU-2GB-25GB
      title: postgres
      zone: fi-hel1
  exampleUser:
    type: upcloud:ManagedDatabaseUser
    name: example_user
    properties:
      service: ${example.id}
      username: example_user
      password: <USER_PASSWORD>
Copy

Create ManagedDatabaseUser Resource

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

Constructor syntax

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

@overload
def ManagedDatabaseUser(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        service: Optional[str] = None,
                        username: Optional[str] = None,
                        authentication: Optional[str] = None,
                        opensearch_access_control: Optional[ManagedDatabaseUserOpensearchAccessControlArgs] = None,
                        password: Optional[str] = None,
                        pg_access_control: Optional[ManagedDatabaseUserPgAccessControlArgs] = None,
                        redis_access_control: Optional[ManagedDatabaseUserRedisAccessControlArgs] = None,
                        valkey_access_control: Optional[ManagedDatabaseUserValkeyAccessControlArgs] = None)
func NewManagedDatabaseUser(ctx *Context, name string, args ManagedDatabaseUserArgs, opts ...ResourceOption) (*ManagedDatabaseUser, error)
public ManagedDatabaseUser(string name, ManagedDatabaseUserArgs args, CustomResourceOptions? opts = null)
public ManagedDatabaseUser(String name, ManagedDatabaseUserArgs args)
public ManagedDatabaseUser(String name, ManagedDatabaseUserArgs args, CustomResourceOptions options)
type: upcloud:ManagedDatabaseUser
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. ManagedDatabaseUserArgs
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. ManagedDatabaseUserArgs
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. ManagedDatabaseUserArgs
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. ManagedDatabaseUserArgs
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. ManagedDatabaseUserArgs
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 managedDatabaseUserResource = new UpCloud.ManagedDatabaseUser("managedDatabaseUserResource", new()
{
    Service = "string",
    Username = "string",
    Authentication = "string",
    OpensearchAccessControl = new UpCloud.Inputs.ManagedDatabaseUserOpensearchAccessControlArgs
    {
        Rules = new[]
        {
            new UpCloud.Inputs.ManagedDatabaseUserOpensearchAccessControlRuleArgs
            {
                Index = "string",
                Permission = "string",
            },
        },
    },
    Password = "string",
    PgAccessControl = new UpCloud.Inputs.ManagedDatabaseUserPgAccessControlArgs
    {
        AllowReplication = false,
    },
    RedisAccessControl = new UpCloud.Inputs.ManagedDatabaseUserRedisAccessControlArgs
    {
        Categories = "string",
        Channels = "string",
        Commands = "string",
        Keys = "string",
    },
    ValkeyAccessControl = new UpCloud.Inputs.ManagedDatabaseUserValkeyAccessControlArgs
    {
        Categories = "string",
        Channels = "string",
        Commands = "string",
        Keys = "string",
    },
});
Copy
example, err := upcloud.NewManagedDatabaseUser(ctx, "managedDatabaseUserResource", &upcloud.ManagedDatabaseUserArgs{
	Service:        pulumi.String("string"),
	Username:       pulumi.String("string"),
	Authentication: pulumi.String("string"),
	OpensearchAccessControl: &upcloud.ManagedDatabaseUserOpensearchAccessControlArgs{
		Rules: upcloud.ManagedDatabaseUserOpensearchAccessControlRuleArray{
			&upcloud.ManagedDatabaseUserOpensearchAccessControlRuleArgs{
				Index:      pulumi.String("string"),
				Permission: pulumi.String("string"),
			},
		},
	},
	Password: pulumi.String("string"),
	PgAccessControl: &upcloud.ManagedDatabaseUserPgAccessControlArgs{
		AllowReplication: pulumi.Bool(false),
	},
	RedisAccessControl: &upcloud.ManagedDatabaseUserRedisAccessControlArgs{
		Categories: pulumi.String("string"),
		Channels:   pulumi.String("string"),
		Commands:   pulumi.String("string"),
		Keys:       pulumi.String("string"),
	},
	ValkeyAccessControl: &upcloud.ManagedDatabaseUserValkeyAccessControlArgs{
		Categories: pulumi.String("string"),
		Channels:   pulumi.String("string"),
		Commands:   pulumi.String("string"),
		Keys:       pulumi.String("string"),
	},
})
Copy
var managedDatabaseUserResource = new ManagedDatabaseUser("managedDatabaseUserResource", ManagedDatabaseUserArgs.builder()
    .service("string")
    .username("string")
    .authentication("string")
    .opensearchAccessControl(ManagedDatabaseUserOpensearchAccessControlArgs.builder()
        .rules(ManagedDatabaseUserOpensearchAccessControlRuleArgs.builder()
            .index("string")
            .permission("string")
            .build())
        .build())
    .password("string")
    .pgAccessControl(ManagedDatabaseUserPgAccessControlArgs.builder()
        .allowReplication(false)
        .build())
    .redisAccessControl(ManagedDatabaseUserRedisAccessControlArgs.builder()
        .categories("string")
        .channels("string")
        .commands("string")
        .keys("string")
        .build())
    .valkeyAccessControl(ManagedDatabaseUserValkeyAccessControlArgs.builder()
        .categories("string")
        .channels("string")
        .commands("string")
        .keys("string")
        .build())
    .build());
Copy
managed_database_user_resource = upcloud.ManagedDatabaseUser("managedDatabaseUserResource",
    service="string",
    username="string",
    authentication="string",
    opensearch_access_control={
        "rules": [{
            "index": "string",
            "permission": "string",
        }],
    },
    password="string",
    pg_access_control={
        "allow_replication": False,
    },
    redis_access_control={
        "categories": "string",
        "channels": "string",
        "commands": "string",
        "keys": "string",
    },
    valkey_access_control={
        "categories": "string",
        "channels": "string",
        "commands": "string",
        "keys": "string",
    })
Copy
const managedDatabaseUserResource = new upcloud.ManagedDatabaseUser("managedDatabaseUserResource", {
    service: "string",
    username: "string",
    authentication: "string",
    opensearchAccessControl: {
        rules: [{
            index: "string",
            permission: "string",
        }],
    },
    password: "string",
    pgAccessControl: {
        allowReplication: false,
    },
    redisAccessControl: {
        categories: "string",
        channels: "string",
        commands: "string",
        keys: "string",
    },
    valkeyAccessControl: {
        categories: "string",
        channels: "string",
        commands: "string",
        keys: "string",
    },
});
Copy
type: upcloud:ManagedDatabaseUser
properties:
    authentication: string
    opensearchAccessControl:
        rules:
            - index: string
              permission: string
    password: string
    pgAccessControl:
        allowReplication: false
    redisAccessControl:
        categories: string
        channels: string
        commands: string
        keys: string
    service: string
    username: string
    valkeyAccessControl:
        categories: string
        channels: string
        commands: string
        keys: string
Copy

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

Service
This property is required.
Changes to this property will trigger replacement.
string
Service's UUID for which this user belongs to
Username
This property is required.
Changes to this property will trigger replacement.
string
Name of the database user
Authentication string
MySQL only, authentication type.
OpensearchAccessControl UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseUserOpensearchAccessControl
OpenSearch access control object.
Password string
Password for the database user. Defaults to a random value
PgAccessControl UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseUserPgAccessControl
PostgreSQL access control object.
RedisAccessControl UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseUserRedisAccessControl
Redis access control object.
ValkeyAccessControl UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseUserValkeyAccessControl
Valkey access control object.
Service
This property is required.
Changes to this property will trigger replacement.
string
Service's UUID for which this user belongs to
Username
This property is required.
Changes to this property will trigger replacement.
string
Name of the database user
Authentication string
MySQL only, authentication type.
OpensearchAccessControl ManagedDatabaseUserOpensearchAccessControlArgs
OpenSearch access control object.
Password string
Password for the database user. Defaults to a random value
PgAccessControl ManagedDatabaseUserPgAccessControlArgs
PostgreSQL access control object.
RedisAccessControl ManagedDatabaseUserRedisAccessControlArgs
Redis access control object.
ValkeyAccessControl ManagedDatabaseUserValkeyAccessControlArgs
Valkey access control object.
service
This property is required.
Changes to this property will trigger replacement.
String
Service's UUID for which this user belongs to
username
This property is required.
Changes to this property will trigger replacement.
String
Name of the database user
authentication String
MySQL only, authentication type.
opensearchAccessControl ManagedDatabaseUserOpensearchAccessControl
OpenSearch access control object.
password String
Password for the database user. Defaults to a random value
pgAccessControl ManagedDatabaseUserPgAccessControl
PostgreSQL access control object.
redisAccessControl ManagedDatabaseUserRedisAccessControl
Redis access control object.
valkeyAccessControl ManagedDatabaseUserValkeyAccessControl
Valkey access control object.
service
This property is required.
Changes to this property will trigger replacement.
string
Service's UUID for which this user belongs to
username
This property is required.
Changes to this property will trigger replacement.
string
Name of the database user
authentication string
MySQL only, authentication type.
opensearchAccessControl ManagedDatabaseUserOpensearchAccessControl
OpenSearch access control object.
password string
Password for the database user. Defaults to a random value
pgAccessControl ManagedDatabaseUserPgAccessControl
PostgreSQL access control object.
redisAccessControl ManagedDatabaseUserRedisAccessControl
Redis access control object.
valkeyAccessControl ManagedDatabaseUserValkeyAccessControl
Valkey access control object.
service
This property is required.
Changes to this property will trigger replacement.
str
Service's UUID for which this user belongs to
username
This property is required.
Changes to this property will trigger replacement.
str
Name of the database user
authentication str
MySQL only, authentication type.
opensearch_access_control ManagedDatabaseUserOpensearchAccessControlArgs
OpenSearch access control object.
password str
Password for the database user. Defaults to a random value
pg_access_control ManagedDatabaseUserPgAccessControlArgs
PostgreSQL access control object.
redis_access_control ManagedDatabaseUserRedisAccessControlArgs
Redis access control object.
valkey_access_control ManagedDatabaseUserValkeyAccessControlArgs
Valkey access control object.
service
This property is required.
Changes to this property will trigger replacement.
String
Service's UUID for which this user belongs to
username
This property is required.
Changes to this property will trigger replacement.
String
Name of the database user
authentication String
MySQL only, authentication type.
opensearchAccessControl Property Map
OpenSearch access control object.
password String
Password for the database user. Defaults to a random value
pgAccessControl Property Map
PostgreSQL access control object.
redisAccessControl Property Map
Redis access control object.
valkeyAccessControl Property Map
Valkey access control object.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Type string
Type of the user. Only normal type users can be created
Id string
The provider-assigned unique ID for this managed resource.
Type string
Type of the user. Only normal type users can be created
id String
The provider-assigned unique ID for this managed resource.
type String
Type of the user. Only normal type users can be created
id string
The provider-assigned unique ID for this managed resource.
type string
Type of the user. Only normal type users can be created
id str
The provider-assigned unique ID for this managed resource.
type str
Type of the user. Only normal type users can be created
id String
The provider-assigned unique ID for this managed resource.
type String
Type of the user. Only normal type users can be created

Look up Existing ManagedDatabaseUser Resource

Get an existing ManagedDatabaseUser 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?: ManagedDatabaseUserState, opts?: CustomResourceOptions): ManagedDatabaseUser
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authentication: Optional[str] = None,
        opensearch_access_control: Optional[ManagedDatabaseUserOpensearchAccessControlArgs] = None,
        password: Optional[str] = None,
        pg_access_control: Optional[ManagedDatabaseUserPgAccessControlArgs] = None,
        redis_access_control: Optional[ManagedDatabaseUserRedisAccessControlArgs] = None,
        service: Optional[str] = None,
        type: Optional[str] = None,
        username: Optional[str] = None,
        valkey_access_control: Optional[ManagedDatabaseUserValkeyAccessControlArgs] = None) -> ManagedDatabaseUser
func GetManagedDatabaseUser(ctx *Context, name string, id IDInput, state *ManagedDatabaseUserState, opts ...ResourceOption) (*ManagedDatabaseUser, error)
public static ManagedDatabaseUser Get(string name, Input<string> id, ManagedDatabaseUserState? state, CustomResourceOptions? opts = null)
public static ManagedDatabaseUser get(String name, Output<String> id, ManagedDatabaseUserState state, CustomResourceOptions options)
resources:  _:    type: upcloud:ManagedDatabaseUser    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:
Authentication string
MySQL only, authentication type.
OpensearchAccessControl UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseUserOpensearchAccessControl
OpenSearch access control object.
Password string
Password for the database user. Defaults to a random value
PgAccessControl UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseUserPgAccessControl
PostgreSQL access control object.
RedisAccessControl UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseUserRedisAccessControl
Redis access control object.
Service Changes to this property will trigger replacement. string
Service's UUID for which this user belongs to
Type string
Type of the user. Only normal type users can be created
Username Changes to this property will trigger replacement. string
Name of the database user
ValkeyAccessControl UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseUserValkeyAccessControl
Valkey access control object.
Authentication string
MySQL only, authentication type.
OpensearchAccessControl ManagedDatabaseUserOpensearchAccessControlArgs
OpenSearch access control object.
Password string
Password for the database user. Defaults to a random value
PgAccessControl ManagedDatabaseUserPgAccessControlArgs
PostgreSQL access control object.
RedisAccessControl ManagedDatabaseUserRedisAccessControlArgs
Redis access control object.
Service Changes to this property will trigger replacement. string
Service's UUID for which this user belongs to
Type string
Type of the user. Only normal type users can be created
Username Changes to this property will trigger replacement. string
Name of the database user
ValkeyAccessControl ManagedDatabaseUserValkeyAccessControlArgs
Valkey access control object.
authentication String
MySQL only, authentication type.
opensearchAccessControl ManagedDatabaseUserOpensearchAccessControl
OpenSearch access control object.
password String
Password for the database user. Defaults to a random value
pgAccessControl ManagedDatabaseUserPgAccessControl
PostgreSQL access control object.
redisAccessControl ManagedDatabaseUserRedisAccessControl
Redis access control object.
service Changes to this property will trigger replacement. String
Service's UUID for which this user belongs to
type String
Type of the user. Only normal type users can be created
username Changes to this property will trigger replacement. String
Name of the database user
valkeyAccessControl ManagedDatabaseUserValkeyAccessControl
Valkey access control object.
authentication string
MySQL only, authentication type.
opensearchAccessControl ManagedDatabaseUserOpensearchAccessControl
OpenSearch access control object.
password string
Password for the database user. Defaults to a random value
pgAccessControl ManagedDatabaseUserPgAccessControl
PostgreSQL access control object.
redisAccessControl ManagedDatabaseUserRedisAccessControl
Redis access control object.
service Changes to this property will trigger replacement. string
Service's UUID for which this user belongs to
type string
Type of the user. Only normal type users can be created
username Changes to this property will trigger replacement. string
Name of the database user
valkeyAccessControl ManagedDatabaseUserValkeyAccessControl
Valkey access control object.
authentication str
MySQL only, authentication type.
opensearch_access_control ManagedDatabaseUserOpensearchAccessControlArgs
OpenSearch access control object.
password str
Password for the database user. Defaults to a random value
pg_access_control ManagedDatabaseUserPgAccessControlArgs
PostgreSQL access control object.
redis_access_control ManagedDatabaseUserRedisAccessControlArgs
Redis access control object.
service Changes to this property will trigger replacement. str
Service's UUID for which this user belongs to
type str
Type of the user. Only normal type users can be created
username Changes to this property will trigger replacement. str
Name of the database user
valkey_access_control ManagedDatabaseUserValkeyAccessControlArgs
Valkey access control object.
authentication String
MySQL only, authentication type.
opensearchAccessControl Property Map
OpenSearch access control object.
password String
Password for the database user. Defaults to a random value
pgAccessControl Property Map
PostgreSQL access control object.
redisAccessControl Property Map
Redis access control object.
service Changes to this property will trigger replacement. String
Service's UUID for which this user belongs to
type String
Type of the user. Only normal type users can be created
username Changes to this property will trigger replacement. String
Name of the database user
valkeyAccessControl Property Map
Valkey access control object.

Supporting Types

ManagedDatabaseUserOpensearchAccessControl
, ManagedDatabaseUserOpensearchAccessControlArgs

Rules This property is required. List<UpCloud.Pulumi.UpCloud.Inputs.ManagedDatabaseUserOpensearchAccessControlRule>
Set user access control rules.
Rules This property is required. []ManagedDatabaseUserOpensearchAccessControlRule
Set user access control rules.
rules This property is required. List<ManagedDatabaseUserOpensearchAccessControlRule>
Set user access control rules.
rules This property is required. ManagedDatabaseUserOpensearchAccessControlRule[]
Set user access control rules.
rules This property is required. Sequence[ManagedDatabaseUserOpensearchAccessControlRule]
Set user access control rules.
rules This property is required. List<Property Map>
Set user access control rules.

ManagedDatabaseUserOpensearchAccessControlRule
, ManagedDatabaseUserOpensearchAccessControlRuleArgs

Index This property is required. string
Set index name, pattern or top level API.
Permission This property is required. string
Set permission access.
Index This property is required. string
Set index name, pattern or top level API.
Permission This property is required. string
Set permission access.
index This property is required. String
Set index name, pattern or top level API.
permission This property is required. String
Set permission access.
index This property is required. string
Set index name, pattern or top level API.
permission This property is required. string
Set permission access.
index This property is required. str
Set index name, pattern or top level API.
permission This property is required. str
Set permission access.
index This property is required. String
Set index name, pattern or top level API.
permission This property is required. String
Set permission access.

ManagedDatabaseUserPgAccessControl
, ManagedDatabaseUserPgAccessControlArgs

AllowReplication bool
Grant replication privilege
AllowReplication bool
Grant replication privilege
allowReplication Boolean
Grant replication privilege
allowReplication boolean
Grant replication privilege
allow_replication bool
Grant replication privilege
allowReplication Boolean
Grant replication privilege

ManagedDatabaseUserRedisAccessControl
, ManagedDatabaseUserRedisAccessControlArgs

Categories string
Set access control to all commands in specified categories.
Channels string
Set access control to Pub/Sub channels.
Commands string
Set access control to commands.
Keys string
Set access control to keys.
Categories string
Set access control to all commands in specified categories.
Channels string
Set access control to Pub/Sub channels.
Commands string
Set access control to commands.
Keys string
Set access control to keys.
categories String
Set access control to all commands in specified categories.
channels String
Set access control to Pub/Sub channels.
commands String
Set access control to commands.
keys String
Set access control to keys.
categories string
Set access control to all commands in specified categories.
channels string
Set access control to Pub/Sub channels.
commands string
Set access control to commands.
keys string
Set access control to keys.
categories str
Set access control to all commands in specified categories.
channels str
Set access control to Pub/Sub channels.
commands str
Set access control to commands.
keys str
Set access control to keys.
categories String
Set access control to all commands in specified categories.
channels String
Set access control to Pub/Sub channels.
commands String
Set access control to commands.
keys String
Set access control to keys.

ManagedDatabaseUserValkeyAccessControl
, ManagedDatabaseUserValkeyAccessControlArgs

Categories string
Set access control to all commands in specified categories.
Channels string
Set access control to Pub/Sub channels.
Commands string
Set access control to commands.
Keys string
Set access control to keys.
Categories string
Set access control to all commands in specified categories.
Channels string
Set access control to Pub/Sub channels.
Commands string
Set access control to commands.
Keys string
Set access control to keys.
categories String
Set access control to all commands in specified categories.
channels String
Set access control to Pub/Sub channels.
commands String
Set access control to commands.
keys String
Set access control to keys.
categories string
Set access control to all commands in specified categories.
channels string
Set access control to Pub/Sub channels.
commands string
Set access control to commands.
keys string
Set access control to keys.
categories str
Set access control to all commands in specified categories.
channels str
Set access control to Pub/Sub channels.
commands str
Set access control to commands.
keys str
Set access control to keys.
categories String
Set access control to all commands in specified categories.
channels String
Set access control to Pub/Sub channels.
commands String
Set access control to commands.
keys String
Set access control to keys.

Package Details

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