upcloud.ManagedDatabasePostgresql
Explore with Pulumi AI
This resource represents PostgreSQL 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.ManagedDatabasePostgresql("example_1", {
name: "postgres-1",
plan: "1x1xCPU-2GB-25GB",
title: "postgres",
zone: "fi-hel1",
});
// Service with custom properties
const example2 = new upcloud.ManagedDatabasePostgresql("example_2", {
name: "postgres-2",
plan: "1x1xCPU-2GB-25GB",
title: "postgres",
zone: "fi-hel1",
properties: {
timezone: "Europe/Helsinki",
adminUsername: "admin",
adminPassword: "<ADMIN_PASSWORD>",
},
});
import pulumi
import pulumi_upcloud as upcloud
# Minimal config
example1 = upcloud.ManagedDatabasePostgresql("example_1",
name="postgres-1",
plan="1x1xCPU-2GB-25GB",
title="postgres",
zone="fi-hel1")
# Service with custom properties
example2 = upcloud.ManagedDatabasePostgresql("example_2",
name="postgres-2",
plan="1x1xCPU-2GB-25GB",
title="postgres",
zone="fi-hel1",
properties={
"timezone": "Europe/Helsinki",
"admin_username": "admin",
"admin_password": "<ADMIN_PASSWORD>",
})
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.NewManagedDatabasePostgresql(ctx, "example_1", &upcloud.ManagedDatabasePostgresqlArgs{
Name: pulumi.String("postgres-1"),
Plan: pulumi.String("1x1xCPU-2GB-25GB"),
Title: pulumi.String("postgres"),
Zone: pulumi.String("fi-hel1"),
})
if err != nil {
return err
}
// Service with custom properties
_, err = upcloud.NewManagedDatabasePostgresql(ctx, "example_2", &upcloud.ManagedDatabasePostgresqlArgs{
Name: pulumi.String("postgres-2"),
Plan: pulumi.String("1x1xCPU-2GB-25GB"),
Title: pulumi.String("postgres"),
Zone: pulumi.String("fi-hel1"),
Properties: &upcloud.ManagedDatabasePostgresqlPropertiesArgs{
Timezone: pulumi.String("Europe/Helsinki"),
AdminUsername: pulumi.String("admin"),
AdminPassword: pulumi.String("<ADMIN_PASSWORD>"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using UpCloud = UpCloud.Pulumi.UpCloud;
return await Deployment.RunAsync(() =>
{
// Minimal config
var example1 = new UpCloud.ManagedDatabasePostgresql("example_1", new()
{
Name = "postgres-1",
Plan = "1x1xCPU-2GB-25GB",
Title = "postgres",
Zone = "fi-hel1",
});
// Service with custom properties
var example2 = new UpCloud.ManagedDatabasePostgresql("example_2", new()
{
Name = "postgres-2",
Plan = "1x1xCPU-2GB-25GB",
Title = "postgres",
Zone = "fi-hel1",
Properties = new UpCloud.Inputs.ManagedDatabasePostgresqlPropertiesArgs
{
Timezone = "Europe/Helsinki",
AdminUsername = "admin",
AdminPassword = "<ADMIN_PASSWORD>",
},
});
});
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.inputs.ManagedDatabasePostgresqlPropertiesArgs;
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 ManagedDatabasePostgresql("example1", ManagedDatabasePostgresqlArgs.builder()
.name("postgres-1")
.plan("1x1xCPU-2GB-25GB")
.title("postgres")
.zone("fi-hel1")
.build());
// Service with custom properties
var example2 = new ManagedDatabasePostgresql("example2", ManagedDatabasePostgresqlArgs.builder()
.name("postgres-2")
.plan("1x1xCPU-2GB-25GB")
.title("postgres")
.zone("fi-hel1")
.properties(ManagedDatabasePostgresqlPropertiesArgs.builder()
.timezone("Europe/Helsinki")
.adminUsername("admin")
.adminPassword("<ADMIN_PASSWORD>")
.build())
.build());
}
}
resources:
# Minimal config
example1:
type: upcloud:ManagedDatabasePostgresql
name: example_1
properties:
name: postgres-1
plan: 1x1xCPU-2GB-25GB
title: postgres
zone: fi-hel1
# Service with custom properties
example2:
type: upcloud:ManagedDatabasePostgresql
name: example_2
properties:
name: postgres-2
plan: 1x1xCPU-2GB-25GB
title: postgres
zone: fi-hel1
properties:
timezone: Europe/Helsinki
adminUsername: admin
adminPassword: <ADMIN_PASSWORD>
Create ManagedDatabasePostgresql Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedDatabasePostgresql(name: string, args: ManagedDatabasePostgresqlArgs, opts?: CustomResourceOptions);
@overload
def ManagedDatabasePostgresql(resource_name: str,
args: ManagedDatabasePostgresqlArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedDatabasePostgresql(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[ManagedDatabasePostgresqlNetworkArgs]] = None,
powered: Optional[bool] = None,
properties: Optional[ManagedDatabasePostgresqlPropertiesArgs] = None,
termination_protection: Optional[bool] = None)
func NewManagedDatabasePostgresql(ctx *Context, name string, args ManagedDatabasePostgresqlArgs, opts ...ResourceOption) (*ManagedDatabasePostgresql, error)
public ManagedDatabasePostgresql(string name, ManagedDatabasePostgresqlArgs args, CustomResourceOptions? opts = null)
public ManagedDatabasePostgresql(String name, ManagedDatabasePostgresqlArgs args)
public ManagedDatabasePostgresql(String name, ManagedDatabasePostgresqlArgs args, CustomResourceOptions options)
type: upcloud:ManagedDatabasePostgresql
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ManagedDatabasePostgresqlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ManagedDatabasePostgresqlArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ManagedDatabasePostgresqlArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedDatabasePostgresqlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedDatabasePostgresqlArgs
- 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 managedDatabasePostgresqlResource = new UpCloud.ManagedDatabasePostgresql("managedDatabasePostgresqlResource", new()
{
Plan = "string",
Title = "string",
Zone = "string",
Labels =
{
{ "string", "string" },
},
MaintenanceWindowDow = "string",
MaintenanceWindowTime = "string",
Name = "string",
Networks = new[]
{
new UpCloud.Inputs.ManagedDatabasePostgresqlNetworkArgs
{
Family = "string",
Name = "string",
Type = "string",
Uuid = "string",
},
},
Powered = false,
Properties = new UpCloud.Inputs.ManagedDatabasePostgresqlPropertiesArgs
{
AdminPassword = "string",
AdminUsername = "string",
AutomaticUtilityNetworkIpFilter = false,
AutovacuumAnalyzeScaleFactor = 0,
AutovacuumAnalyzeThreshold = 0,
AutovacuumFreezeMaxAge = 0,
AutovacuumMaxWorkers = 0,
AutovacuumNaptime = 0,
AutovacuumVacuumCostDelay = 0,
AutovacuumVacuumCostLimit = 0,
AutovacuumVacuumScaleFactor = 0,
AutovacuumVacuumThreshold = 0,
BackupHour = 0,
BackupMinute = 0,
BgwriterDelay = 0,
BgwriterFlushAfter = 0,
BgwriterLruMaxpages = 0,
BgwriterLruMultiplier = 0,
DeadlockTimeout = 0,
DefaultToastCompression = "string",
IdleInTransactionSessionTimeout = 0,
IpFilters = new[]
{
"string",
},
Jit = false,
LogAutovacuumMinDuration = 0,
LogErrorVerbosity = "string",
LogLinePrefix = "string",
LogMinDurationStatement = 0,
LogTempFiles = 0,
MaxConnections = 0,
MaxFilesPerProcess = 0,
MaxLocksPerTransaction = 0,
MaxLogicalReplicationWorkers = 0,
MaxParallelWorkers = 0,
MaxParallelWorkersPerGather = 0,
MaxPredLocksPerTransaction = 0,
MaxPreparedTransactions = 0,
MaxReplicationSlots = 0,
MaxSlotWalKeepSize = 0,
MaxStackDepth = 0,
MaxStandbyArchiveDelay = 0,
MaxStandbyStreamingDelay = 0,
MaxSyncWorkersPerSubscription = 0,
MaxWalSenders = 0,
MaxWorkerProcesses = 0,
Migration = new UpCloud.Inputs.ManagedDatabasePostgresqlPropertiesMigrationArgs
{
Dbname = "string",
Host = "string",
IgnoreDbs = "string",
IgnoreRoles = "string",
Method = "string",
Password = "string",
Port = 0,
Ssl = false,
Username = "string",
},
PasswordEncryption = "string",
PgPartmanBgwInterval = 0,
PgPartmanBgwRole = "string",
PgStatMonitorEnable = false,
PgStatMonitorPgsmEnableQueryPlan = false,
PgStatMonitorPgsmMaxBuckets = 0,
PgStatStatementsTrack = "string",
Pgaudit = new UpCloud.Inputs.ManagedDatabasePostgresqlPropertiesPgauditArgs
{
FeatureEnabled = false,
LogCatalog = false,
LogClient = false,
LogLevel = "string",
LogMaxStringLength = 0,
LogNestedStatements = false,
LogParameter = false,
LogParameterMaxSize = 0,
LogRelation = false,
LogRows = false,
LogStatement = false,
LogStatementOnce = false,
Logs = new[]
{
"string",
},
Role = "string",
},
Pgbouncer = new UpCloud.Inputs.ManagedDatabasePostgresqlPropertiesPgbouncerArgs
{
AutodbIdleTimeout = 0,
AutodbMaxDbConnections = 0,
AutodbPoolMode = "string",
AutodbPoolSize = 0,
IgnoreStartupParameters = new[]
{
"string",
},
MaxPreparedStatements = 0,
MinPoolSize = 0,
ServerIdleTimeout = 0,
ServerLifetime = 0,
ServerResetQueryAlways = false,
},
Pglookout = new UpCloud.Inputs.ManagedDatabasePostgresqlPropertiesPglookoutArgs
{
MaxFailoverReplicationTimeLag = 0,
},
PublicAccess = false,
ServiceLog = false,
SharedBuffersPercentage = 0,
SynchronousReplication = "string",
TempFileLimit = 0,
Timescaledb = new UpCloud.Inputs.ManagedDatabasePostgresqlPropertiesTimescaledbArgs
{
MaxBackgroundWorkers = 0,
},
Timezone = "string",
TrackActivityQuerySize = 0,
TrackCommitTimestamp = "string",
TrackFunctions = "string",
TrackIoTiming = "string",
Variant = "string",
Version = "string",
WalSenderTimeout = 0,
WalWriterDelay = 0,
WorkMem = 0,
},
TerminationProtection = false,
});
example, err := upcloud.NewManagedDatabasePostgresql(ctx, "managedDatabasePostgresqlResource", &upcloud.ManagedDatabasePostgresqlArgs{
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.ManagedDatabasePostgresqlNetworkArray{
&upcloud.ManagedDatabasePostgresqlNetworkArgs{
Family: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Uuid: pulumi.String("string"),
},
},
Powered: pulumi.Bool(false),
Properties: &upcloud.ManagedDatabasePostgresqlPropertiesArgs{
AdminPassword: pulumi.String("string"),
AdminUsername: pulumi.String("string"),
AutomaticUtilityNetworkIpFilter: pulumi.Bool(false),
AutovacuumAnalyzeScaleFactor: pulumi.Float64(0),
AutovacuumAnalyzeThreshold: pulumi.Int(0),
AutovacuumFreezeMaxAge: pulumi.Int(0),
AutovacuumMaxWorkers: pulumi.Int(0),
AutovacuumNaptime: pulumi.Int(0),
AutovacuumVacuumCostDelay: pulumi.Int(0),
AutovacuumVacuumCostLimit: pulumi.Int(0),
AutovacuumVacuumScaleFactor: pulumi.Float64(0),
AutovacuumVacuumThreshold: pulumi.Int(0),
BackupHour: pulumi.Int(0),
BackupMinute: pulumi.Int(0),
BgwriterDelay: pulumi.Int(0),
BgwriterFlushAfter: pulumi.Int(0),
BgwriterLruMaxpages: pulumi.Int(0),
BgwriterLruMultiplier: pulumi.Float64(0),
DeadlockTimeout: pulumi.Int(0),
DefaultToastCompression: pulumi.String("string"),
IdleInTransactionSessionTimeout: pulumi.Int(0),
IpFilters: pulumi.StringArray{
pulumi.String("string"),
},
Jit: pulumi.Bool(false),
LogAutovacuumMinDuration: pulumi.Int(0),
LogErrorVerbosity: pulumi.String("string"),
LogLinePrefix: pulumi.String("string"),
LogMinDurationStatement: pulumi.Int(0),
LogTempFiles: pulumi.Int(0),
MaxConnections: pulumi.Int(0),
MaxFilesPerProcess: pulumi.Int(0),
MaxLocksPerTransaction: pulumi.Int(0),
MaxLogicalReplicationWorkers: pulumi.Int(0),
MaxParallelWorkers: pulumi.Int(0),
MaxParallelWorkersPerGather: pulumi.Int(0),
MaxPredLocksPerTransaction: pulumi.Int(0),
MaxPreparedTransactions: pulumi.Int(0),
MaxReplicationSlots: pulumi.Int(0),
MaxSlotWalKeepSize: pulumi.Int(0),
MaxStackDepth: pulumi.Int(0),
MaxStandbyArchiveDelay: pulumi.Int(0),
MaxStandbyStreamingDelay: pulumi.Int(0),
MaxSyncWorkersPerSubscription: pulumi.Int(0),
MaxWalSenders: pulumi.Int(0),
MaxWorkerProcesses: pulumi.Int(0),
Migration: &upcloud.ManagedDatabasePostgresqlPropertiesMigrationArgs{
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"),
},
PasswordEncryption: pulumi.String("string"),
PgPartmanBgwInterval: pulumi.Int(0),
PgPartmanBgwRole: pulumi.String("string"),
PgStatMonitorEnable: pulumi.Bool(false),
PgStatMonitorPgsmEnableQueryPlan: pulumi.Bool(false),
PgStatMonitorPgsmMaxBuckets: pulumi.Int(0),
PgStatStatementsTrack: pulumi.String("string"),
Pgaudit: &upcloud.ManagedDatabasePostgresqlPropertiesPgauditArgs{
FeatureEnabled: pulumi.Bool(false),
LogCatalog: pulumi.Bool(false),
LogClient: pulumi.Bool(false),
LogLevel: pulumi.String("string"),
LogMaxStringLength: pulumi.Int(0),
LogNestedStatements: pulumi.Bool(false),
LogParameter: pulumi.Bool(false),
LogParameterMaxSize: pulumi.Int(0),
LogRelation: pulumi.Bool(false),
LogRows: pulumi.Bool(false),
LogStatement: pulumi.Bool(false),
LogStatementOnce: pulumi.Bool(false),
Logs: pulumi.StringArray{
pulumi.String("string"),
},
Role: pulumi.String("string"),
},
Pgbouncer: &upcloud.ManagedDatabasePostgresqlPropertiesPgbouncerArgs{
AutodbIdleTimeout: pulumi.Int(0),
AutodbMaxDbConnections: pulumi.Int(0),
AutodbPoolMode: pulumi.String("string"),
AutodbPoolSize: pulumi.Int(0),
IgnoreStartupParameters: pulumi.StringArray{
pulumi.String("string"),
},
MaxPreparedStatements: pulumi.Int(0),
MinPoolSize: pulumi.Int(0),
ServerIdleTimeout: pulumi.Int(0),
ServerLifetime: pulumi.Int(0),
ServerResetQueryAlways: pulumi.Bool(false),
},
Pglookout: &upcloud.ManagedDatabasePostgresqlPropertiesPglookoutArgs{
MaxFailoverReplicationTimeLag: pulumi.Int(0),
},
PublicAccess: pulumi.Bool(false),
ServiceLog: pulumi.Bool(false),
SharedBuffersPercentage: pulumi.Float64(0),
SynchronousReplication: pulumi.String("string"),
TempFileLimit: pulumi.Int(0),
Timescaledb: &upcloud.ManagedDatabasePostgresqlPropertiesTimescaledbArgs{
MaxBackgroundWorkers: pulumi.Int(0),
},
Timezone: pulumi.String("string"),
TrackActivityQuerySize: pulumi.Int(0),
TrackCommitTimestamp: pulumi.String("string"),
TrackFunctions: pulumi.String("string"),
TrackIoTiming: pulumi.String("string"),
Variant: pulumi.String("string"),
Version: pulumi.String("string"),
WalSenderTimeout: pulumi.Int(0),
WalWriterDelay: pulumi.Int(0),
WorkMem: pulumi.Int(0),
},
TerminationProtection: pulumi.Bool(false),
})
var managedDatabasePostgresqlResource = new ManagedDatabasePostgresql("managedDatabasePostgresqlResource", ManagedDatabasePostgresqlArgs.builder()
.plan("string")
.title("string")
.zone("string")
.labels(Map.of("string", "string"))
.maintenanceWindowDow("string")
.maintenanceWindowTime("string")
.name("string")
.networks(ManagedDatabasePostgresqlNetworkArgs.builder()
.family("string")
.name("string")
.type("string")
.uuid("string")
.build())
.powered(false)
.properties(ManagedDatabasePostgresqlPropertiesArgs.builder()
.adminPassword("string")
.adminUsername("string")
.automaticUtilityNetworkIpFilter(false)
.autovacuumAnalyzeScaleFactor(0.0)
.autovacuumAnalyzeThreshold(0)
.autovacuumFreezeMaxAge(0)
.autovacuumMaxWorkers(0)
.autovacuumNaptime(0)
.autovacuumVacuumCostDelay(0)
.autovacuumVacuumCostLimit(0)
.autovacuumVacuumScaleFactor(0.0)
.autovacuumVacuumThreshold(0)
.backupHour(0)
.backupMinute(0)
.bgwriterDelay(0)
.bgwriterFlushAfter(0)
.bgwriterLruMaxpages(0)
.bgwriterLruMultiplier(0.0)
.deadlockTimeout(0)
.defaultToastCompression("string")
.idleInTransactionSessionTimeout(0)
.ipFilters("string")
.jit(false)
.logAutovacuumMinDuration(0)
.logErrorVerbosity("string")
.logLinePrefix("string")
.logMinDurationStatement(0)
.logTempFiles(0)
.maxConnections(0)
.maxFilesPerProcess(0)
.maxLocksPerTransaction(0)
.maxLogicalReplicationWorkers(0)
.maxParallelWorkers(0)
.maxParallelWorkersPerGather(0)
.maxPredLocksPerTransaction(0)
.maxPreparedTransactions(0)
.maxReplicationSlots(0)
.maxSlotWalKeepSize(0)
.maxStackDepth(0)
.maxStandbyArchiveDelay(0)
.maxStandbyStreamingDelay(0)
.maxSyncWorkersPerSubscription(0)
.maxWalSenders(0)
.maxWorkerProcesses(0)
.migration(ManagedDatabasePostgresqlPropertiesMigrationArgs.builder()
.dbname("string")
.host("string")
.ignoreDbs("string")
.ignoreRoles("string")
.method("string")
.password("string")
.port(0)
.ssl(false)
.username("string")
.build())
.passwordEncryption("string")
.pgPartmanBgwInterval(0)
.pgPartmanBgwRole("string")
.pgStatMonitorEnable(false)
.pgStatMonitorPgsmEnableQueryPlan(false)
.pgStatMonitorPgsmMaxBuckets(0)
.pgStatStatementsTrack("string")
.pgaudit(ManagedDatabasePostgresqlPropertiesPgauditArgs.builder()
.featureEnabled(false)
.logCatalog(false)
.logClient(false)
.logLevel("string")
.logMaxStringLength(0)
.logNestedStatements(false)
.logParameter(false)
.logParameterMaxSize(0)
.logRelation(false)
.logRows(false)
.logStatement(false)
.logStatementOnce(false)
.logs("string")
.role("string")
.build())
.pgbouncer(ManagedDatabasePostgresqlPropertiesPgbouncerArgs.builder()
.autodbIdleTimeout(0)
.autodbMaxDbConnections(0)
.autodbPoolMode("string")
.autodbPoolSize(0)
.ignoreStartupParameters("string")
.maxPreparedStatements(0)
.minPoolSize(0)
.serverIdleTimeout(0)
.serverLifetime(0)
.serverResetQueryAlways(false)
.build())
.pglookout(ManagedDatabasePostgresqlPropertiesPglookoutArgs.builder()
.maxFailoverReplicationTimeLag(0)
.build())
.publicAccess(false)
.serviceLog(false)
.sharedBuffersPercentage(0.0)
.synchronousReplication("string")
.tempFileLimit(0)
.timescaledb(ManagedDatabasePostgresqlPropertiesTimescaledbArgs.builder()
.maxBackgroundWorkers(0)
.build())
.timezone("string")
.trackActivityQuerySize(0)
.trackCommitTimestamp("string")
.trackFunctions("string")
.trackIoTiming("string")
.variant("string")
.version("string")
.walSenderTimeout(0)
.walWriterDelay(0)
.workMem(0)
.build())
.terminationProtection(false)
.build());
managed_database_postgresql_resource = upcloud.ManagedDatabasePostgresql("managedDatabasePostgresqlResource",
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={
"admin_password": "string",
"admin_username": "string",
"automatic_utility_network_ip_filter": False,
"autovacuum_analyze_scale_factor": 0,
"autovacuum_analyze_threshold": 0,
"autovacuum_freeze_max_age": 0,
"autovacuum_max_workers": 0,
"autovacuum_naptime": 0,
"autovacuum_vacuum_cost_delay": 0,
"autovacuum_vacuum_cost_limit": 0,
"autovacuum_vacuum_scale_factor": 0,
"autovacuum_vacuum_threshold": 0,
"backup_hour": 0,
"backup_minute": 0,
"bgwriter_delay": 0,
"bgwriter_flush_after": 0,
"bgwriter_lru_maxpages": 0,
"bgwriter_lru_multiplier": 0,
"deadlock_timeout": 0,
"default_toast_compression": "string",
"idle_in_transaction_session_timeout": 0,
"ip_filters": ["string"],
"jit": False,
"log_autovacuum_min_duration": 0,
"log_error_verbosity": "string",
"log_line_prefix": "string",
"log_min_duration_statement": 0,
"log_temp_files": 0,
"max_connections": 0,
"max_files_per_process": 0,
"max_locks_per_transaction": 0,
"max_logical_replication_workers": 0,
"max_parallel_workers": 0,
"max_parallel_workers_per_gather": 0,
"max_pred_locks_per_transaction": 0,
"max_prepared_transactions": 0,
"max_replication_slots": 0,
"max_slot_wal_keep_size": 0,
"max_stack_depth": 0,
"max_standby_archive_delay": 0,
"max_standby_streaming_delay": 0,
"max_sync_workers_per_subscription": 0,
"max_wal_senders": 0,
"max_worker_processes": 0,
"migration": {
"dbname": "string",
"host": "string",
"ignore_dbs": "string",
"ignore_roles": "string",
"method": "string",
"password": "string",
"port": 0,
"ssl": False,
"username": "string",
},
"password_encryption": "string",
"pg_partman_bgw_interval": 0,
"pg_partman_bgw_role": "string",
"pg_stat_monitor_enable": False,
"pg_stat_monitor_pgsm_enable_query_plan": False,
"pg_stat_monitor_pgsm_max_buckets": 0,
"pg_stat_statements_track": "string",
"pgaudit": {
"feature_enabled": False,
"log_catalog": False,
"log_client": False,
"log_level": "string",
"log_max_string_length": 0,
"log_nested_statements": False,
"log_parameter": False,
"log_parameter_max_size": 0,
"log_relation": False,
"log_rows": False,
"log_statement": False,
"log_statement_once": False,
"logs": ["string"],
"role": "string",
},
"pgbouncer": {
"autodb_idle_timeout": 0,
"autodb_max_db_connections": 0,
"autodb_pool_mode": "string",
"autodb_pool_size": 0,
"ignore_startup_parameters": ["string"],
"max_prepared_statements": 0,
"min_pool_size": 0,
"server_idle_timeout": 0,
"server_lifetime": 0,
"server_reset_query_always": False,
},
"pglookout": {
"max_failover_replication_time_lag": 0,
},
"public_access": False,
"service_log": False,
"shared_buffers_percentage": 0,
"synchronous_replication": "string",
"temp_file_limit": 0,
"timescaledb": {
"max_background_workers": 0,
},
"timezone": "string",
"track_activity_query_size": 0,
"track_commit_timestamp": "string",
"track_functions": "string",
"track_io_timing": "string",
"variant": "string",
"version": "string",
"wal_sender_timeout": 0,
"wal_writer_delay": 0,
"work_mem": 0,
},
termination_protection=False)
const managedDatabasePostgresqlResource = new upcloud.ManagedDatabasePostgresql("managedDatabasePostgresqlResource", {
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: {
adminPassword: "string",
adminUsername: "string",
automaticUtilityNetworkIpFilter: false,
autovacuumAnalyzeScaleFactor: 0,
autovacuumAnalyzeThreshold: 0,
autovacuumFreezeMaxAge: 0,
autovacuumMaxWorkers: 0,
autovacuumNaptime: 0,
autovacuumVacuumCostDelay: 0,
autovacuumVacuumCostLimit: 0,
autovacuumVacuumScaleFactor: 0,
autovacuumVacuumThreshold: 0,
backupHour: 0,
backupMinute: 0,
bgwriterDelay: 0,
bgwriterFlushAfter: 0,
bgwriterLruMaxpages: 0,
bgwriterLruMultiplier: 0,
deadlockTimeout: 0,
defaultToastCompression: "string",
idleInTransactionSessionTimeout: 0,
ipFilters: ["string"],
jit: false,
logAutovacuumMinDuration: 0,
logErrorVerbosity: "string",
logLinePrefix: "string",
logMinDurationStatement: 0,
logTempFiles: 0,
maxConnections: 0,
maxFilesPerProcess: 0,
maxLocksPerTransaction: 0,
maxLogicalReplicationWorkers: 0,
maxParallelWorkers: 0,
maxParallelWorkersPerGather: 0,
maxPredLocksPerTransaction: 0,
maxPreparedTransactions: 0,
maxReplicationSlots: 0,
maxSlotWalKeepSize: 0,
maxStackDepth: 0,
maxStandbyArchiveDelay: 0,
maxStandbyStreamingDelay: 0,
maxSyncWorkersPerSubscription: 0,
maxWalSenders: 0,
maxWorkerProcesses: 0,
migration: {
dbname: "string",
host: "string",
ignoreDbs: "string",
ignoreRoles: "string",
method: "string",
password: "string",
port: 0,
ssl: false,
username: "string",
},
passwordEncryption: "string",
pgPartmanBgwInterval: 0,
pgPartmanBgwRole: "string",
pgStatMonitorEnable: false,
pgStatMonitorPgsmEnableQueryPlan: false,
pgStatMonitorPgsmMaxBuckets: 0,
pgStatStatementsTrack: "string",
pgaudit: {
featureEnabled: false,
logCatalog: false,
logClient: false,
logLevel: "string",
logMaxStringLength: 0,
logNestedStatements: false,
logParameter: false,
logParameterMaxSize: 0,
logRelation: false,
logRows: false,
logStatement: false,
logStatementOnce: false,
logs: ["string"],
role: "string",
},
pgbouncer: {
autodbIdleTimeout: 0,
autodbMaxDbConnections: 0,
autodbPoolMode: "string",
autodbPoolSize: 0,
ignoreStartupParameters: ["string"],
maxPreparedStatements: 0,
minPoolSize: 0,
serverIdleTimeout: 0,
serverLifetime: 0,
serverResetQueryAlways: false,
},
pglookout: {
maxFailoverReplicationTimeLag: 0,
},
publicAccess: false,
serviceLog: false,
sharedBuffersPercentage: 0,
synchronousReplication: "string",
tempFileLimit: 0,
timescaledb: {
maxBackgroundWorkers: 0,
},
timezone: "string",
trackActivityQuerySize: 0,
trackCommitTimestamp: "string",
trackFunctions: "string",
trackIoTiming: "string",
variant: "string",
version: "string",
walSenderTimeout: 0,
walWriterDelay: 0,
workMem: 0,
},
terminationProtection: false,
});
type: upcloud:ManagedDatabasePostgresql
properties:
labels:
string: string
maintenanceWindowDow: string
maintenanceWindowTime: string
name: string
networks:
- family: string
name: string
type: string
uuid: string
plan: string
powered: false
properties:
adminPassword: string
adminUsername: string
automaticUtilityNetworkIpFilter: false
autovacuumAnalyzeScaleFactor: 0
autovacuumAnalyzeThreshold: 0
autovacuumFreezeMaxAge: 0
autovacuumMaxWorkers: 0
autovacuumNaptime: 0
autovacuumVacuumCostDelay: 0
autovacuumVacuumCostLimit: 0
autovacuumVacuumScaleFactor: 0
autovacuumVacuumThreshold: 0
backupHour: 0
backupMinute: 0
bgwriterDelay: 0
bgwriterFlushAfter: 0
bgwriterLruMaxpages: 0
bgwriterLruMultiplier: 0
deadlockTimeout: 0
defaultToastCompression: string
idleInTransactionSessionTimeout: 0
ipFilters:
- string
jit: false
logAutovacuumMinDuration: 0
logErrorVerbosity: string
logLinePrefix: string
logMinDurationStatement: 0
logTempFiles: 0
maxConnections: 0
maxFilesPerProcess: 0
maxLocksPerTransaction: 0
maxLogicalReplicationWorkers: 0
maxParallelWorkers: 0
maxParallelWorkersPerGather: 0
maxPredLocksPerTransaction: 0
maxPreparedTransactions: 0
maxReplicationSlots: 0
maxSlotWalKeepSize: 0
maxStackDepth: 0
maxStandbyArchiveDelay: 0
maxStandbyStreamingDelay: 0
maxSyncWorkersPerSubscription: 0
maxWalSenders: 0
maxWorkerProcesses: 0
migration:
dbname: string
host: string
ignoreDbs: string
ignoreRoles: string
method: string
password: string
port: 0
ssl: false
username: string
passwordEncryption: string
pgPartmanBgwInterval: 0
pgPartmanBgwRole: string
pgStatMonitorEnable: false
pgStatMonitorPgsmEnableQueryPlan: false
pgStatMonitorPgsmMaxBuckets: 0
pgStatStatementsTrack: string
pgaudit:
featureEnabled: false
logCatalog: false
logClient: false
logLevel: string
logMaxStringLength: 0
logNestedStatements: false
logParameter: false
logParameterMaxSize: 0
logRelation: false
logRows: false
logStatement: false
logStatementOnce: false
logs:
- string
role: string
pgbouncer:
autodbIdleTimeout: 0
autodbMaxDbConnections: 0
autodbPoolMode: string
autodbPoolSize: 0
ignoreStartupParameters:
- string
maxPreparedStatements: 0
minPoolSize: 0
serverIdleTimeout: 0
serverLifetime: 0
serverResetQueryAlways: false
pglookout:
maxFailoverReplicationTimeLag: 0
publicAccess: false
serviceLog: false
sharedBuffersPercentage: 0
synchronousReplication: string
tempFileLimit: 0
timescaledb:
maxBackgroundWorkers: 0
timezone: string
trackActivityQuerySize: 0
trackCommitTimestamp: string
trackFunctions: string
trackIoTiming: string
variant: string
version: string
walSenderTimeout: 0
walWriterDelay: 0
workMem: 0
terminationProtection: false
title: string
zone: string
ManagedDatabasePostgresql 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 ManagedDatabasePostgresql resource accepts the following input properties:
- 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>
. - Title string
- Title of a managed database instance
- Zone string
- Zone where the instance resides, e.g.
de-fra1
. You can list available zones withupctl zone list
. - Labels Dictionary<string, string>
- User defined key-value pairs to classify the managed database.
- Maintenance
Window stringDow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- Maintenance
Window stringTime - Maintenance window UTC time in hh:mm:ss format
- Name string
- Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
- Networks
List<Up
Cloud. Pulumi. Up Cloud. Inputs. Managed Database Postgresql Network> - Private networks attached to the managed database
- Powered bool
- The administrative power state of the service
- Properties
Up
Cloud. Pulumi. Up Cloud. Inputs. Managed Database Postgresql Properties - Database Engine properties for PostgreSQL
- Termination
Protection bool - If set to true, prevents the managed service from being powered off, or deleted.
- 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>
. - Title string
- Title of a managed database instance
- Zone string
- Zone where the instance resides, e.g.
de-fra1
. You can list available zones withupctl zone list
. - Labels map[string]string
- User defined key-value pairs to classify the managed database.
- Maintenance
Window stringDow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- Maintenance
Window stringTime - Maintenance window UTC time in hh:mm:ss format
- Name string
- Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
- Networks
[]Managed
Database Postgresql Network Args - Private networks attached to the managed database
- Powered bool
- The administrative power state of the service
- Properties
Managed
Database Postgresql Properties Args - Database Engine properties for PostgreSQL
- Termination
Protection bool - If set to true, prevents the managed service from being powered off, or deleted.
- 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>
. - title String
- Title of a managed database instance
- zone String
- Zone where the instance resides, e.g.
de-fra1
. You can list available zones withupctl zone list
. - labels Map<String,String>
- User defined key-value pairs to classify the managed database.
- maintenance
Window StringDow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- maintenance
Window StringTime - Maintenance window UTC time in hh:mm:ss format
- name String
- Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
- networks
List<Managed
Database Postgresql Network> - Private networks attached to the managed database
- powered Boolean
- The administrative power state of the service
- properties
Managed
Database Postgresql Properties - Database Engine properties for PostgreSQL
- termination
Protection Boolean - If set to true, prevents the managed service from being powered off, or deleted.
- 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>
. - title string
- Title of a managed database instance
- zone string
- Zone where the instance resides, e.g.
de-fra1
. You can list available zones withupctl zone list
. - labels {[key: string]: string}
- User defined key-value pairs to classify the managed database.
- maintenance
Window stringDow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- maintenance
Window stringTime - Maintenance window UTC time in hh:mm:ss format
- name string
- Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
- networks
Managed
Database Postgresql Network[] - Private networks attached to the managed database
- powered boolean
- The administrative power state of the service
- properties
Managed
Database Postgresql Properties - Database Engine properties for PostgreSQL
- termination
Protection boolean - If set to true, prevents the managed service from being powered off, or deleted.
- 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>
. - title str
- Title of a managed database instance
- zone str
- Zone where the instance resides, e.g.
de-fra1
. You can list available zones withupctl zone list
. - labels Mapping[str, str]
- User defined key-value pairs to classify the managed database.
- maintenance_
window_ strdow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- maintenance_
window_ strtime - Maintenance window UTC time in hh:mm:ss format
- name str
- Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
- networks
Sequence[Managed
Database Postgresql Network Args] - Private networks attached to the managed database
- powered bool
- The administrative power state of the service
- properties
Managed
Database Postgresql Properties Args - Database Engine properties for PostgreSQL
- termination_
protection bool - If set to true, prevents the managed service from being powered off, or deleted.
- 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>
. - title String
- Title of a managed database instance
- zone String
- Zone where the instance resides, e.g.
de-fra1
. You can list available zones withupctl zone list
. - labels Map<String>
- User defined key-value pairs to classify the managed database.
- maintenance
Window StringDow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- maintenance
Window StringTime - Maintenance window UTC time in hh:mm:ss format
- name 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 PostgreSQL
- termination
Protection 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 ManagedDatabasePostgresql resource produces the following output properties:
- Components
List<Up
Cloud. Pulumi. Up Cloud. Outputs. Managed Database Postgresql Component> - Service component information
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
States List<UpCloud. Pulumi. Up Cloud. Outputs. Managed Database Postgresql Node State> - Information about nodes providing the managed service
- Primary
Database string - Primary database name
- Service
Host string - Hostname to the service instance
- Service
Password string - Primary username's password to the service instance
- Service
Port string - Port to the service instance
- Service
Uri string - URI to the service instance
- Service
Username string - Primary username to the service instance
- Sslmode string
- SSL Connection Mode for PostgreSQL
- State string
- State of the service
- Type string
- Type of the service
- Components
[]Managed
Database Postgresql Component - Service component information
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
States []ManagedDatabase Postgresql Node State - Information about nodes providing the managed service
- Primary
Database string - Primary database name
- Service
Host string - Hostname to the service instance
- Service
Password string - Primary username's password to the service instance
- Service
Port string - Port to the service instance
- Service
Uri string - URI to the service instance
- Service
Username string - Primary username to the service instance
- Sslmode string
- SSL Connection Mode for PostgreSQL
- State string
- State of the service
- Type string
- Type of the service
- components
List<Managed
Database Postgresql Component> - Service component information
- id String
- The provider-assigned unique ID for this managed resource.
- node
States List<ManagedDatabase Postgresql Node State> - Information about nodes providing the managed service
- primary
Database String - Primary database name
- service
Host String - Hostname to the service instance
- service
Password String - Primary username's password to the service instance
- service
Port String - Port to the service instance
- service
Uri String - URI to the service instance
- service
Username String - Primary username to the service instance
- sslmode String
- SSL Connection Mode for PostgreSQL
- state String
- State of the service
- type String
- Type of the service
- components
Managed
Database Postgresql Component[] - Service component information
- id string
- The provider-assigned unique ID for this managed resource.
- node
States ManagedDatabase Postgresql Node State[] - Information about nodes providing the managed service
- primary
Database string - Primary database name
- service
Host string - Hostname to the service instance
- service
Password string - Primary username's password to the service instance
- service
Port string - Port to the service instance
- service
Uri string - URI to the service instance
- service
Username string - Primary username to the service instance
- sslmode string
- SSL Connection Mode for PostgreSQL
- state string
- State of the service
- type string
- Type of the service
- components
Sequence[Managed
Database Postgresql Component] - Service component information
- id str
- The provider-assigned unique ID for this managed resource.
- node_
states Sequence[ManagedDatabase Postgresql Node State] - 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
- sslmode str
- SSL Connection Mode for PostgreSQL
- 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.
- node
States List<Property Map> - Information about nodes providing the managed service
- primary
Database String - Primary database name
- service
Host String - Hostname to the service instance
- service
Password String - Primary username's password to the service instance
- service
Port String - Port to the service instance
- service
Uri String - URI to the service instance
- service
Username String - Primary username to the service instance
- sslmode String
- SSL Connection Mode for PostgreSQL
- state String
- State of the service
- type String
- Type of the service
Look up Existing ManagedDatabasePostgresql Resource
Get an existing ManagedDatabasePostgresql 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?: ManagedDatabasePostgresqlState, opts?: CustomResourceOptions): ManagedDatabasePostgresql
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
components: Optional[Sequence[ManagedDatabasePostgresqlComponentArgs]] = 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[ManagedDatabasePostgresqlNetworkArgs]] = None,
node_states: Optional[Sequence[ManagedDatabasePostgresqlNodeStateArgs]] = None,
plan: Optional[str] = None,
powered: Optional[bool] = None,
primary_database: Optional[str] = None,
properties: Optional[ManagedDatabasePostgresqlPropertiesArgs] = 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,
sslmode: Optional[str] = None,
state: Optional[str] = None,
termination_protection: Optional[bool] = None,
title: Optional[str] = None,
type: Optional[str] = None,
zone: Optional[str] = None) -> ManagedDatabasePostgresql
func GetManagedDatabasePostgresql(ctx *Context, name string, id IDInput, state *ManagedDatabasePostgresqlState, opts ...ResourceOption) (*ManagedDatabasePostgresql, error)
public static ManagedDatabasePostgresql Get(string name, Input<string> id, ManagedDatabasePostgresqlState? state, CustomResourceOptions? opts = null)
public static ManagedDatabasePostgresql get(String name, Output<String> id, ManagedDatabasePostgresqlState state, CustomResourceOptions options)
resources: _: type: upcloud:ManagedDatabasePostgresql get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Components
List<Up
Cloud. Pulumi. Up Cloud. Inputs. Managed Database Postgresql Component> - Service component information
- Labels Dictionary<string, string>
- User defined key-value pairs to classify the managed database.
- Maintenance
Window stringDow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- Maintenance
Window stringTime - Maintenance window UTC time in hh:mm:ss format
- Name string
- Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
- Networks
List<Up
Cloud. Pulumi. Up Cloud. Inputs. Managed Database Postgresql Network> - Private networks attached to the managed database
- Node
States List<UpCloud. Pulumi. Up Cloud. Inputs. Managed Database Postgresql Node State> - 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
- Primary
Database string - Primary database name
- Properties
Up
Cloud. Pulumi. Up Cloud. Inputs. Managed Database Postgresql Properties - Database Engine properties for PostgreSQL
- Service
Host string - Hostname to the service instance
- Service
Password string - Primary username's password to the service instance
- Service
Port string - Port to the service instance
- Service
Uri string - URI to the service instance
- Service
Username string - Primary username to the service instance
- Sslmode string
- SSL Connection Mode for PostgreSQL
- State string
- State of the service
- Termination
Protection 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 withupctl zone list
.
- Components
[]Managed
Database Postgresql Component Args - Service component information
- Labels map[string]string
- User defined key-value pairs to classify the managed database.
- Maintenance
Window stringDow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- Maintenance
Window stringTime - Maintenance window UTC time in hh:mm:ss format
- Name string
- Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
- Networks
[]Managed
Database Postgresql Network Args - Private networks attached to the managed database
- Node
States []ManagedDatabase Postgresql Node State Args - 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
- Primary
Database string - Primary database name
- Properties
Managed
Database Postgresql Properties Args - Database Engine properties for PostgreSQL
- Service
Host string - Hostname to the service instance
- Service
Password string - Primary username's password to the service instance
- Service
Port string - Port to the service instance
- Service
Uri string - URI to the service instance
- Service
Username string - Primary username to the service instance
- Sslmode string
- SSL Connection Mode for PostgreSQL
- State string
- State of the service
- Termination
Protection 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 withupctl zone list
.
- components
List<Managed
Database Postgresql Component> - Service component information
- labels Map<String,String>
- User defined key-value pairs to classify the managed database.
- maintenance
Window StringDow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- maintenance
Window StringTime - Maintenance window UTC time in hh:mm:ss format
- name String
- Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
- networks
List<Managed
Database Postgresql Network> - Private networks attached to the managed database
- node
States List<ManagedDatabase Postgresql Node State> - 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
- primary
Database String - Primary database name
- properties
Managed
Database Postgresql Properties - Database Engine properties for PostgreSQL
- service
Host String - Hostname to the service instance
- service
Password String - Primary username's password to the service instance
- service
Port String - Port to the service instance
- service
Uri String - URI to the service instance
- service
Username String - Primary username to the service instance
- sslmode String
- SSL Connection Mode for PostgreSQL
- state String
- State of the service
- termination
Protection 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 withupctl zone list
.
- components
Managed
Database Postgresql Component[] - Service component information
- labels {[key: string]: string}
- User defined key-value pairs to classify the managed database.
- maintenance
Window stringDow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- maintenance
Window stringTime - Maintenance window UTC time in hh:mm:ss format
- name string
- Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
- networks
Managed
Database Postgresql Network[] - Private networks attached to the managed database
- node
States ManagedDatabase Postgresql Node State[] - 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
- primary
Database string - Primary database name
- properties
Managed
Database Postgresql Properties - Database Engine properties for PostgreSQL
- service
Host string - Hostname to the service instance
- service
Password string - Primary username's password to the service instance
- service
Port string - Port to the service instance
- service
Uri string - URI to the service instance
- service
Username string - Primary username to the service instance
- sslmode string
- SSL Connection Mode for PostgreSQL
- state string
- State of the service
- termination
Protection 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 withupctl zone list
.
- components
Sequence[Managed
Database Postgresql Component Args] - Service component information
- labels Mapping[str, str]
- User defined key-value pairs to classify the managed database.
- maintenance_
window_ strdow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- maintenance_
window_ strtime - Maintenance window UTC time in hh:mm:ss format
- name str
- Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account
- networks
Sequence[Managed
Database Postgresql Network Args] - Private networks attached to the managed database
- node_
states Sequence[ManagedDatabase Postgresql Node State Args] - 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
Managed
Database Postgresql Properties Args - Database Engine properties for PostgreSQL
- 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
- sslmode str
- SSL Connection Mode for PostgreSQL
- 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 withupctl zone list
.
- components List<Property Map>
- Service component information
- labels Map<String>
- User defined key-value pairs to classify the managed database.
- maintenance
Window StringDow - Maintenance window day of week. Lower case weekday name (monday, tuesday, ...)
- maintenance
Window StringTime - Maintenance window UTC time in hh:mm:ss format
- name 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
- node
States 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
- primary
Database String - Primary database name
- properties Property Map
- Database Engine properties for PostgreSQL
- service
Host String - Hostname to the service instance
- service
Password String - Primary username's password to the service instance
- service
Port String - Port to the service instance
- service
Uri String - URI to the service instance
- service
Username String - Primary username to the service instance
- sslmode String
- SSL Connection Mode for PostgreSQL
- state String
- State of the service
- termination
Protection 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 withupctl zone list
.
Supporting Types
ManagedDatabasePostgresqlComponent, ManagedDatabasePostgresqlComponentArgs
ManagedDatabasePostgresqlNetwork, ManagedDatabasePostgresqlNetworkArgs
ManagedDatabasePostgresqlNodeState, ManagedDatabasePostgresqlNodeStateArgs
ManagedDatabasePostgresqlProperties, ManagedDatabasePostgresqlPropertiesArgs
- Admin
Password string - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- Admin
Username string - Custom username for admin user. This must be set only when a new service is being created.
- Automatic
Utility boolNetwork Ip Filter - Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
- Autovacuum
Analyze doubleScale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g.
0.2
for 20% of the table size). The default is0.2
. - Autovacuum
Analyze intThreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is
50
. - Autovacuum
Freeze intMax Age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart.
- Autovacuum
Max intWorkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is
3
. Changing this parameter causes a service restart. - Autovacuum
Naptime int - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is
60
. - Autovacuum
Vacuum intCost Delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_delay value will be used. The default is2
(upstream default). - Autovacuum
Vacuum intCost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_limit value will be used. The default is-1
(upstream default). - Autovacuum
Vacuum doubleScale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g.
0.2
for 20% of the table size). The default is0.2
. - Autovacuum
Vacuum intThreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is
50
. - 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.
- Bgwriter
Delay int - Specifies the delay between activity rounds for the background writer in milliseconds. The default is
200
. - Bgwriter
Flush intAfter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is
512
. - Bgwriter
Lru intMaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is
100
. - Bgwriter
Lru doubleMultiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is
2.0
. - Deadlock
Timeout int - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is
1000
(upstream default). - Default
Toast stringCompression - Specifies the default TOAST compression method for values of compressible columns. The default is
lz4
. Only available for PostgreSQL 14+. - Idle
In intTransaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- Ip
Filters List<string> - IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- Jit bool
- Controls system-wide use of Just-in-Time Compilation (JIT).
- Log
Autovacuum intMin Duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is
1000
. - Log
Error stringVerbosity - Controls the amount of detail written in the server log for each message that is logged.
- Log
Line stringPrefix - Choose from one of the available log formats.
- Log
Min intDuration Statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- Log
Temp intFiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- Max
Connections int - PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart.
- Max
Files intPer Process - PostgreSQL maximum number of files that can be open per process. The default is
1000
(upstream default). Changing this parameter causes a service restart. - Max
Locks intPer Transaction - PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
- Max
Logical intReplication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is
4
(upstream default). Changing this parameter causes a service restart. - Max
Parallel intWorkers - Sets the maximum number of workers that the system can support for parallel queries. The default is
8
(upstream default). - Max
Parallel intWorkers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is
2
(upstream default). - Max
Pred intLocks Per Transaction - PostgreSQL maximum predicate locks per transaction. The default is
64
(upstream default). Changing this parameter causes a service restart. - Max
Prepared intTransactions - PostgreSQL maximum prepared transactions. The default is
0
. Changing this parameter causes a service restart. - Max
Replication intSlots - PostgreSQL maximum replication slots. The default is
20
. Changing this parameter causes a service restart. - Max
Slot intWal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. If
-1
is specified, replication slots may retain an unlimited amount of WAL files. The default is-1
(upstream default). wal_keep_size minimum WAL size setting takes precedence over this. - Max
Stack intDepth - Maximum depth of the stack in bytes. The default is
2097152
(upstream default). - Max
Standby intArchive Delay - Max standby archive delay in milliseconds. The default is
30000
(upstream default). - Max
Standby intStreaming Delay - Max standby streaming delay in milliseconds. The default is
30000
(upstream default). - Max
Sync intWorkers Per Subscription - Maximum number of synchronization workers per subscription. The default is
2
. - Max
Wal intSenders - PostgreSQL maximum WAL senders. The default is
20
. Changing this parameter causes a service restart. - Max
Worker intProcesses - Sets the maximum number of background processes that the system can support. The default is
8
. Changing this parameter causes a service restart. - Migration
Up
Cloud. Pulumi. Up Cloud. Inputs. Managed Database Postgresql Properties Migration - Migrate data from existing server.
- Password
Encryption string - Chooses the algorithm for encrypting passwords.
- Pg
Partman intBgw Interval - Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is
3600
. - Pg
Partman stringBgw Role - Controls which role to use for pg_partman's scheduled background tasks.
- Pg
Stat boolMonitor Enable - Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Changing this parameter causes a service restart. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- Pg
Stat boolMonitor Pgsm Enable Query Plan - Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- Pg
Stat intMonitor Pgsm Max Buckets - Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- Pg
Stat stringStatements Track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is
top
. - Pgaudit
Up
Cloud. Pulumi. Up Cloud. Inputs. Managed Database Postgresql Properties Pgaudit - PGAudit settings. System-wide settings for the pgaudit extension.
- Pgbouncer
Up
Cloud. Pulumi. Up Cloud. Inputs. Managed Database Postgresql Properties Pgbouncer - PGBouncer connection pooling settings. System-wide settings for pgbouncer.
- Pglookout
Up
Cloud. Pulumi. Up Cloud. Inputs. Managed Database Postgresql Properties Pglookout - PGLookout settings. System-wide settings for pglookout.
- 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.
- double
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Changing this parameter causes a service restart.
- Synchronous
Replication string - Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- Temp
File intLimit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- Timescaledb
Up
Cloud. Pulumi. Up Cloud. Inputs. Managed Database Postgresql Properties Timescaledb - TimescaleDB extension configuration values. System-wide settings for the timescaledb extension.
- Timezone string
- PostgreSQL service timezone.
- Track
Activity intQuery Size - Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart.
- Track
Commit stringTimestamp - Record commit time of transactions. Changing this parameter causes a service restart.
- Track
Functions string - Enables tracking of function call counts and time used.
- Track
Io stringTiming - Enables timing of database I/O calls. The default is
off
. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - Variant string
- Variant of the PostgreSQL service, may affect the features that are exposed by default.
- Version string
- PostgreSQL major version.
- Wal
Sender intTimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- Wal
Writer intDelay - WAL flush interval in milliseconds. The default is
200
. Setting this parameter to a lower value may negatively impact performance. - Work
Mem int - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. The default is 1MB + 0.075% of total RAM (up to 32MB).
- Admin
Password string - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- Admin
Username string - Custom username for admin user. This must be set only when a new service is being created.
- Automatic
Utility boolNetwork Ip Filter - Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
- Autovacuum
Analyze float64Scale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g.
0.2
for 20% of the table size). The default is0.2
. - Autovacuum
Analyze intThreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is
50
. - Autovacuum
Freeze intMax Age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart.
- Autovacuum
Max intWorkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is
3
. Changing this parameter causes a service restart. - Autovacuum
Naptime int - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is
60
. - Autovacuum
Vacuum intCost Delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_delay value will be used. The default is2
(upstream default). - Autovacuum
Vacuum intCost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_limit value will be used. The default is-1
(upstream default). - Autovacuum
Vacuum float64Scale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g.
0.2
for 20% of the table size). The default is0.2
. - Autovacuum
Vacuum intThreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is
50
. - 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.
- Bgwriter
Delay int - Specifies the delay between activity rounds for the background writer in milliseconds. The default is
200
. - Bgwriter
Flush intAfter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is
512
. - Bgwriter
Lru intMaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is
100
. - Bgwriter
Lru float64Multiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is
2.0
. - Deadlock
Timeout int - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is
1000
(upstream default). - Default
Toast stringCompression - Specifies the default TOAST compression method for values of compressible columns. The default is
lz4
. Only available for PostgreSQL 14+. - Idle
In intTransaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- Ip
Filters []string - IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- Jit bool
- Controls system-wide use of Just-in-Time Compilation (JIT).
- Log
Autovacuum intMin Duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is
1000
. - Log
Error stringVerbosity - Controls the amount of detail written in the server log for each message that is logged.
- Log
Line stringPrefix - Choose from one of the available log formats.
- Log
Min intDuration Statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- Log
Temp intFiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- Max
Connections int - PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart.
- Max
Files intPer Process - PostgreSQL maximum number of files that can be open per process. The default is
1000
(upstream default). Changing this parameter causes a service restart. - Max
Locks intPer Transaction - PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
- Max
Logical intReplication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is
4
(upstream default). Changing this parameter causes a service restart. - Max
Parallel intWorkers - Sets the maximum number of workers that the system can support for parallel queries. The default is
8
(upstream default). - Max
Parallel intWorkers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is
2
(upstream default). - Max
Pred intLocks Per Transaction - PostgreSQL maximum predicate locks per transaction. The default is
64
(upstream default). Changing this parameter causes a service restart. - Max
Prepared intTransactions - PostgreSQL maximum prepared transactions. The default is
0
. Changing this parameter causes a service restart. - Max
Replication intSlots - PostgreSQL maximum replication slots. The default is
20
. Changing this parameter causes a service restart. - Max
Slot intWal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. If
-1
is specified, replication slots may retain an unlimited amount of WAL files. The default is-1
(upstream default). wal_keep_size minimum WAL size setting takes precedence over this. - Max
Stack intDepth - Maximum depth of the stack in bytes. The default is
2097152
(upstream default). - Max
Standby intArchive Delay - Max standby archive delay in milliseconds. The default is
30000
(upstream default). - Max
Standby intStreaming Delay - Max standby streaming delay in milliseconds. The default is
30000
(upstream default). - Max
Sync intWorkers Per Subscription - Maximum number of synchronization workers per subscription. The default is
2
. - Max
Wal intSenders - PostgreSQL maximum WAL senders. The default is
20
. Changing this parameter causes a service restart. - Max
Worker intProcesses - Sets the maximum number of background processes that the system can support. The default is
8
. Changing this parameter causes a service restart. - Migration
Managed
Database Postgresql Properties Migration - Migrate data from existing server.
- Password
Encryption string - Chooses the algorithm for encrypting passwords.
- Pg
Partman intBgw Interval - Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is
3600
. - Pg
Partman stringBgw Role - Controls which role to use for pg_partman's scheduled background tasks.
- Pg
Stat boolMonitor Enable - Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Changing this parameter causes a service restart. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- Pg
Stat boolMonitor Pgsm Enable Query Plan - Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- Pg
Stat intMonitor Pgsm Max Buckets - Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- Pg
Stat stringStatements Track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is
top
. - Pgaudit
Managed
Database Postgresql Properties Pgaudit - PGAudit settings. System-wide settings for the pgaudit extension.
- Pgbouncer
Managed
Database Postgresql Properties Pgbouncer - PGBouncer connection pooling settings. System-wide settings for pgbouncer.
- Pglookout
Managed
Database Postgresql Properties Pglookout - PGLookout settings. System-wide settings for pglookout.
- 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.
- float64
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Changing this parameter causes a service restart.
- Synchronous
Replication string - Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- Temp
File intLimit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- Timescaledb
Managed
Database Postgresql Properties Timescaledb - TimescaleDB extension configuration values. System-wide settings for the timescaledb extension.
- Timezone string
- PostgreSQL service timezone.
- Track
Activity intQuery Size - Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart.
- Track
Commit stringTimestamp - Record commit time of transactions. Changing this parameter causes a service restart.
- Track
Functions string - Enables tracking of function call counts and time used.
- Track
Io stringTiming - Enables timing of database I/O calls. The default is
off
. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - Variant string
- Variant of the PostgreSQL service, may affect the features that are exposed by default.
- Version string
- PostgreSQL major version.
- Wal
Sender intTimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- Wal
Writer intDelay - WAL flush interval in milliseconds. The default is
200
. Setting this parameter to a lower value may negatively impact performance. - Work
Mem int - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. The default is 1MB + 0.075% of total RAM (up to 32MB).
- admin
Password String - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- admin
Username String - Custom username for admin user. This must be set only when a new service is being created.
- automatic
Utility BooleanNetwork Ip Filter - Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
- autovacuum
Analyze DoubleScale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g.
0.2
for 20% of the table size). The default is0.2
. - autovacuum
Analyze IntegerThreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is
50
. - autovacuum
Freeze IntegerMax Age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart.
- autovacuum
Max IntegerWorkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is
3
. Changing this parameter causes a service restart. - autovacuum
Naptime Integer - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is
60
. - autovacuum
Vacuum IntegerCost Delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_delay value will be used. The default is2
(upstream default). - autovacuum
Vacuum IntegerCost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_limit value will be used. The default is-1
(upstream default). - autovacuum
Vacuum DoubleScale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g.
0.2
for 20% of the table size). The default is0.2
. - autovacuum
Vacuum IntegerThreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is
50
. - backup
Hour 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.
- backup
Minute Integer - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- bgwriter
Delay Integer - Specifies the delay between activity rounds for the background writer in milliseconds. The default is
200
. - bgwriter
Flush IntegerAfter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is
512
. - bgwriter
Lru IntegerMaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is
100
. - bgwriter
Lru DoubleMultiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is
2.0
. - deadlock
Timeout Integer - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is
1000
(upstream default). - default
Toast StringCompression - Specifies the default TOAST compression method for values of compressible columns. The default is
lz4
. Only available for PostgreSQL 14+. - idle
In IntegerTransaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- ip
Filters List<String> - IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- jit Boolean
- Controls system-wide use of Just-in-Time Compilation (JIT).
- log
Autovacuum IntegerMin Duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is
1000
. - log
Error StringVerbosity - Controls the amount of detail written in the server log for each message that is logged.
- log
Line StringPrefix - Choose from one of the available log formats.
- log
Min IntegerDuration Statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- log
Temp IntegerFiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- max
Connections Integer - PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart.
- max
Files IntegerPer Process - PostgreSQL maximum number of files that can be open per process. The default is
1000
(upstream default). Changing this parameter causes a service restart. - max
Locks IntegerPer Transaction - PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
- max
Logical IntegerReplication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is
4
(upstream default). Changing this parameter causes a service restart. - max
Parallel IntegerWorkers - Sets the maximum number of workers that the system can support for parallel queries. The default is
8
(upstream default). - max
Parallel IntegerWorkers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is
2
(upstream default). - max
Pred IntegerLocks Per Transaction - PostgreSQL maximum predicate locks per transaction. The default is
64
(upstream default). Changing this parameter causes a service restart. - max
Prepared IntegerTransactions - PostgreSQL maximum prepared transactions. The default is
0
. Changing this parameter causes a service restart. - max
Replication IntegerSlots - PostgreSQL maximum replication slots. The default is
20
. Changing this parameter causes a service restart. - max
Slot IntegerWal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. If
-1
is specified, replication slots may retain an unlimited amount of WAL files. The default is-1
(upstream default). wal_keep_size minimum WAL size setting takes precedence over this. - max
Stack IntegerDepth - Maximum depth of the stack in bytes. The default is
2097152
(upstream default). - max
Standby IntegerArchive Delay - Max standby archive delay in milliseconds. The default is
30000
(upstream default). - max
Standby IntegerStreaming Delay - Max standby streaming delay in milliseconds. The default is
30000
(upstream default). - max
Sync IntegerWorkers Per Subscription - Maximum number of synchronization workers per subscription. The default is
2
. - max
Wal IntegerSenders - PostgreSQL maximum WAL senders. The default is
20
. Changing this parameter causes a service restart. - max
Worker IntegerProcesses - Sets the maximum number of background processes that the system can support. The default is
8
. Changing this parameter causes a service restart. - migration
Managed
Database Postgresql Properties Migration - Migrate data from existing server.
- password
Encryption String - Chooses the algorithm for encrypting passwords.
- pg
Partman IntegerBgw Interval - Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is
3600
. - pg
Partman StringBgw Role - Controls which role to use for pg_partman's scheduled background tasks.
- pg
Stat BooleanMonitor Enable - Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Changing this parameter causes a service restart. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- pg
Stat BooleanMonitor Pgsm Enable Query Plan - Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- pg
Stat IntegerMonitor Pgsm Max Buckets - Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- pg
Stat StringStatements Track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is
top
. - pgaudit
Managed
Database Postgresql Properties Pgaudit - PGAudit settings. System-wide settings for the pgaudit extension.
- pgbouncer
Managed
Database Postgresql Properties Pgbouncer - PGBouncer connection pooling settings. System-wide settings for pgbouncer.
- pglookout
Managed
Database Postgresql Properties Pglookout - PGLookout settings. System-wide settings for pglookout.
- public
Access Boolean - Public Access. Allow access to the service from the public Internet.
- service
Log Boolean - Service logging. Store logs for the service so that they are available in the HTTP API and console.
- Double
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Changing this parameter causes a service restart.
- synchronous
Replication String - Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- temp
File IntegerLimit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- timescaledb
Managed
Database Postgresql Properties Timescaledb - TimescaleDB extension configuration values. System-wide settings for the timescaledb extension.
- timezone String
- PostgreSQL service timezone.
- track
Activity IntegerQuery Size - Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart.
- track
Commit StringTimestamp - Record commit time of transactions. Changing this parameter causes a service restart.
- track
Functions String - Enables tracking of function call counts and time used.
- track
Io StringTiming - Enables timing of database I/O calls. The default is
off
. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - variant String
- Variant of the PostgreSQL service, may affect the features that are exposed by default.
- version String
- PostgreSQL major version.
- wal
Sender IntegerTimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- wal
Writer IntegerDelay - WAL flush interval in milliseconds. The default is
200
. Setting this parameter to a lower value may negatively impact performance. - work
Mem Integer - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. The default is 1MB + 0.075% of total RAM (up to 32MB).
- admin
Password string - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- admin
Username string - Custom username for admin user. This must be set only when a new service is being created.
- automatic
Utility booleanNetwork Ip Filter - Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
- autovacuum
Analyze numberScale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g.
0.2
for 20% of the table size). The default is0.2
. - autovacuum
Analyze numberThreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is
50
. - autovacuum
Freeze numberMax Age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart.
- autovacuum
Max numberWorkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is
3
. Changing this parameter causes a service restart. - autovacuum
Naptime number - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is
60
. - autovacuum
Vacuum numberCost Delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_delay value will be used. The default is2
(upstream default). - autovacuum
Vacuum numberCost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_limit value will be used. The default is-1
(upstream default). - autovacuum
Vacuum numberScale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g.
0.2
for 20% of the table size). The default is0.2
. - autovacuum
Vacuum numberThreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is
50
. - backup
Hour 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.
- backup
Minute number - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- bgwriter
Delay number - Specifies the delay between activity rounds for the background writer in milliseconds. The default is
200
. - bgwriter
Flush numberAfter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is
512
. - bgwriter
Lru numberMaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is
100
. - bgwriter
Lru numberMultiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is
2.0
. - deadlock
Timeout number - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is
1000
(upstream default). - default
Toast stringCompression - Specifies the default TOAST compression method for values of compressible columns. The default is
lz4
. Only available for PostgreSQL 14+. - idle
In numberTransaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- ip
Filters string[] - IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- jit boolean
- Controls system-wide use of Just-in-Time Compilation (JIT).
- log
Autovacuum numberMin Duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is
1000
. - log
Error stringVerbosity - Controls the amount of detail written in the server log for each message that is logged.
- log
Line stringPrefix - Choose from one of the available log formats.
- log
Min numberDuration Statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- log
Temp numberFiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- max
Connections number - PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart.
- max
Files numberPer Process - PostgreSQL maximum number of files that can be open per process. The default is
1000
(upstream default). Changing this parameter causes a service restart. - max
Locks numberPer Transaction - PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
- max
Logical numberReplication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is
4
(upstream default). Changing this parameter causes a service restart. - max
Parallel numberWorkers - Sets the maximum number of workers that the system can support for parallel queries. The default is
8
(upstream default). - max
Parallel numberWorkers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is
2
(upstream default). - max
Pred numberLocks Per Transaction - PostgreSQL maximum predicate locks per transaction. The default is
64
(upstream default). Changing this parameter causes a service restart. - max
Prepared numberTransactions - PostgreSQL maximum prepared transactions. The default is
0
. Changing this parameter causes a service restart. - max
Replication numberSlots - PostgreSQL maximum replication slots. The default is
20
. Changing this parameter causes a service restart. - max
Slot numberWal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. If
-1
is specified, replication slots may retain an unlimited amount of WAL files. The default is-1
(upstream default). wal_keep_size minimum WAL size setting takes precedence over this. - max
Stack numberDepth - Maximum depth of the stack in bytes. The default is
2097152
(upstream default). - max
Standby numberArchive Delay - Max standby archive delay in milliseconds. The default is
30000
(upstream default). - max
Standby numberStreaming Delay - Max standby streaming delay in milliseconds. The default is
30000
(upstream default). - max
Sync numberWorkers Per Subscription - Maximum number of synchronization workers per subscription. The default is
2
. - max
Wal numberSenders - PostgreSQL maximum WAL senders. The default is
20
. Changing this parameter causes a service restart. - max
Worker numberProcesses - Sets the maximum number of background processes that the system can support. The default is
8
. Changing this parameter causes a service restart. - migration
Managed
Database Postgresql Properties Migration - Migrate data from existing server.
- password
Encryption string - Chooses the algorithm for encrypting passwords.
- pg
Partman numberBgw Interval - Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is
3600
. - pg
Partman stringBgw Role - Controls which role to use for pg_partman's scheduled background tasks.
- pg
Stat booleanMonitor Enable - Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Changing this parameter causes a service restart. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- pg
Stat booleanMonitor Pgsm Enable Query Plan - Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- pg
Stat numberMonitor Pgsm Max Buckets - Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- pg
Stat stringStatements Track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is
top
. - pgaudit
Managed
Database Postgresql Properties Pgaudit - PGAudit settings. System-wide settings for the pgaudit extension.
- pgbouncer
Managed
Database Postgresql Properties Pgbouncer - PGBouncer connection pooling settings. System-wide settings for pgbouncer.
- pglookout
Managed
Database Postgresql Properties Pglookout - PGLookout settings. System-wide settings for pglookout.
- public
Access boolean - Public Access. Allow access to the service from the public Internet.
- service
Log boolean - Service logging. Store logs for the service so that they are available in the HTTP API and console.
- number
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Changing this parameter causes a service restart.
- synchronous
Replication string - Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- temp
File numberLimit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- timescaledb
Managed
Database Postgresql Properties Timescaledb - TimescaleDB extension configuration values. System-wide settings for the timescaledb extension.
- timezone string
- PostgreSQL service timezone.
- track
Activity numberQuery Size - Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart.
- track
Commit stringTimestamp - Record commit time of transactions. Changing this parameter causes a service restart.
- track
Functions string - Enables tracking of function call counts and time used.
- track
Io stringTiming - Enables timing of database I/O calls. The default is
off
. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - variant string
- Variant of the PostgreSQL service, may affect the features that are exposed by default.
- version string
- PostgreSQL major version.
- wal
Sender numberTimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- wal
Writer numberDelay - WAL flush interval in milliseconds. The default is
200
. Setting this parameter to a lower value may negatively impact performance. - work
Mem number - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. The default is 1MB + 0.075% of total RAM (up to 32MB).
- admin_
password str - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- admin_
username str - Custom username for admin user. This must be set only when a new service is being created.
- automatic_
utility_ boolnetwork_ ip_ filter - Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
- autovacuum_
analyze_ floatscale_ factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g.
0.2
for 20% of the table size). The default is0.2
. - autovacuum_
analyze_ intthreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is
50
. - autovacuum_
freeze_ intmax_ age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart.
- autovacuum_
max_ intworkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is
3
. Changing this parameter causes a service restart. - autovacuum_
naptime int - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is
60
. - autovacuum_
vacuum_ intcost_ delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_delay value will be used. The default is2
(upstream default). - autovacuum_
vacuum_ intcost_ limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_limit value will be used. The default is-1
(upstream default). - autovacuum_
vacuum_ floatscale_ factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g.
0.2
for 20% of the table size). The default is0.2
. - autovacuum_
vacuum_ intthreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is
50
. - 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.
- bgwriter_
delay int - Specifies the delay between activity rounds for the background writer in milliseconds. The default is
200
. - bgwriter_
flush_ intafter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is
512
. - bgwriter_
lru_ intmaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is
100
. - bgwriter_
lru_ floatmultiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is
2.0
. - deadlock_
timeout int - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is
1000
(upstream default). - default_
toast_ strcompression - Specifies the default TOAST compression method for values of compressible columns. The default is
lz4
. Only available for PostgreSQL 14+. - idle_
in_ inttransaction_ session_ timeout - Time out sessions with open transactions after this number of milliseconds.
- ip_
filters Sequence[str] - IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- jit bool
- Controls system-wide use of Just-in-Time Compilation (JIT).
- log_
autovacuum_ intmin_ duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is
1000
. - log_
error_ strverbosity - Controls the amount of detail written in the server log for each message that is logged.
- log_
line_ strprefix - Choose from one of the available log formats.
- log_
min_ intduration_ statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- log_
temp_ intfiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- max_
connections int - PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart.
- max_
files_ intper_ process - PostgreSQL maximum number of files that can be open per process. The default is
1000
(upstream default). Changing this parameter causes a service restart. - max_
locks_ intper_ transaction - PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
- max_
logical_ intreplication_ workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is
4
(upstream default). Changing this parameter causes a service restart. - max_
parallel_ intworkers - Sets the maximum number of workers that the system can support for parallel queries. The default is
8
(upstream default). - max_
parallel_ intworkers_ per_ gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is
2
(upstream default). - max_
pred_ intlocks_ per_ transaction - PostgreSQL maximum predicate locks per transaction. The default is
64
(upstream default). Changing this parameter causes a service restart. - max_
prepared_ inttransactions - PostgreSQL maximum prepared transactions. The default is
0
. Changing this parameter causes a service restart. - max_
replication_ intslots - PostgreSQL maximum replication slots. The default is
20
. Changing this parameter causes a service restart. - max_
slot_ intwal_ keep_ size - PostgreSQL maximum WAL size (MB) reserved for replication slots. If
-1
is specified, replication slots may retain an unlimited amount of WAL files. The default is-1
(upstream default). wal_keep_size minimum WAL size setting takes precedence over this. - max_
stack_ intdepth - Maximum depth of the stack in bytes. The default is
2097152
(upstream default). - max_
standby_ intarchive_ delay - Max standby archive delay in milliseconds. The default is
30000
(upstream default). - max_
standby_ intstreaming_ delay - Max standby streaming delay in milliseconds. The default is
30000
(upstream default). - max_
sync_ intworkers_ per_ subscription - Maximum number of synchronization workers per subscription. The default is
2
. - max_
wal_ intsenders - PostgreSQL maximum WAL senders. The default is
20
. Changing this parameter causes a service restart. - max_
worker_ intprocesses - Sets the maximum number of background processes that the system can support. The default is
8
. Changing this parameter causes a service restart. - migration
Managed
Database Postgresql Properties Migration - Migrate data from existing server.
- password_
encryption str - Chooses the algorithm for encrypting passwords.
- pg_
partman_ intbgw_ interval - Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is
3600
. - pg_
partman_ strbgw_ role - Controls which role to use for pg_partman's scheduled background tasks.
- pg_
stat_ boolmonitor_ enable - Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Changing this parameter causes a service restart. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- pg_
stat_ boolmonitor_ pgsm_ enable_ query_ plan - Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- pg_
stat_ intmonitor_ pgsm_ max_ buckets - Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- pg_
stat_ strstatements_ track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is
top
. - pgaudit
Managed
Database Postgresql Properties Pgaudit - PGAudit settings. System-wide settings for the pgaudit extension.
- pgbouncer
Managed
Database Postgresql Properties Pgbouncer - PGBouncer connection pooling settings. System-wide settings for pgbouncer.
- pglookout
Managed
Database Postgresql Properties Pglookout - PGLookout settings. System-wide settings for pglookout.
- 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.
- float
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Changing this parameter causes a service restart.
- synchronous_
replication str - Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- temp_
file_ intlimit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- timescaledb
Managed
Database Postgresql Properties Timescaledb - TimescaleDB extension configuration values. System-wide settings for the timescaledb extension.
- timezone str
- PostgreSQL service timezone.
- track_
activity_ intquery_ size - Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart.
- track_
commit_ strtimestamp - Record commit time of transactions. Changing this parameter causes a service restart.
- track_
functions str - Enables tracking of function call counts and time used.
- track_
io_ strtiming - Enables timing of database I/O calls. The default is
off
. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - variant str
- Variant of the PostgreSQL service, may affect the features that are exposed by default.
- version str
- PostgreSQL major version.
- wal_
sender_ inttimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- wal_
writer_ intdelay - WAL flush interval in milliseconds. The default is
200
. Setting this parameter to a lower value may negatively impact performance. - work_
mem int - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. The default is 1MB + 0.075% of total RAM (up to 32MB).
- admin
Password String - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- admin
Username String - Custom username for admin user. This must be set only when a new service is being created.
- automatic
Utility BooleanNetwork Ip Filter - Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
- autovacuum
Analyze NumberScale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g.
0.2
for 20% of the table size). The default is0.2
. - autovacuum
Analyze NumberThreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is
50
. - autovacuum
Freeze NumberMax Age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart.
- autovacuum
Max NumberWorkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is
3
. Changing this parameter causes a service restart. - autovacuum
Naptime Number - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is
60
. - autovacuum
Vacuum NumberCost Delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_delay value will be used. The default is2
(upstream default). - autovacuum
Vacuum NumberCost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If
-1
is specified, the regular vacuum_cost_limit value will be used. The default is-1
(upstream default). - autovacuum
Vacuum NumberScale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g.
0.2
for 20% of the table size). The default is0.2
. - autovacuum
Vacuum NumberThreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is
50
. - backup
Hour 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.
- backup
Minute Number - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- bgwriter
Delay Number - Specifies the delay between activity rounds for the background writer in milliseconds. The default is
200
. - bgwriter
Flush NumberAfter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is
512
. - bgwriter
Lru NumberMaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is
100
. - bgwriter
Lru NumberMultiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is
2.0
. - deadlock
Timeout Number - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is
1000
(upstream default). - default
Toast StringCompression - Specifies the default TOAST compression method for values of compressible columns. The default is
lz4
. Only available for PostgreSQL 14+. - idle
In NumberTransaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- ip
Filters List<String> - IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- jit Boolean
- Controls system-wide use of Just-in-Time Compilation (JIT).
- log
Autovacuum NumberMin Duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is
1000
. - log
Error StringVerbosity - Controls the amount of detail written in the server log for each message that is logged.
- log
Line StringPrefix - Choose from one of the available log formats.
- log
Min NumberDuration Statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- log
Temp NumberFiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- max
Connections Number - PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart.
- max
Files NumberPer Process - PostgreSQL maximum number of files that can be open per process. The default is
1000
(upstream default). Changing this parameter causes a service restart. - max
Locks NumberPer Transaction - PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
- max
Logical NumberReplication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is
4
(upstream default). Changing this parameter causes a service restart. - max
Parallel NumberWorkers - Sets the maximum number of workers that the system can support for parallel queries. The default is
8
(upstream default). - max
Parallel NumberWorkers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is
2
(upstream default). - max
Pred NumberLocks Per Transaction - PostgreSQL maximum predicate locks per transaction. The default is
64
(upstream default). Changing this parameter causes a service restart. - max
Prepared NumberTransactions - PostgreSQL maximum prepared transactions. The default is
0
. Changing this parameter causes a service restart. - max
Replication NumberSlots - PostgreSQL maximum replication slots. The default is
20
. Changing this parameter causes a service restart. - max
Slot NumberWal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. If
-1
is specified, replication slots may retain an unlimited amount of WAL files. The default is-1
(upstream default). wal_keep_size minimum WAL size setting takes precedence over this. - max
Stack NumberDepth - Maximum depth of the stack in bytes. The default is
2097152
(upstream default). - max
Standby NumberArchive Delay - Max standby archive delay in milliseconds. The default is
30000
(upstream default). - max
Standby NumberStreaming Delay - Max standby streaming delay in milliseconds. The default is
30000
(upstream default). - max
Sync NumberWorkers Per Subscription - Maximum number of synchronization workers per subscription. The default is
2
. - max
Wal NumberSenders - PostgreSQL maximum WAL senders. The default is
20
. Changing this parameter causes a service restart. - max
Worker NumberProcesses - Sets the maximum number of background processes that the system can support. The default is
8
. Changing this parameter causes a service restart. - migration Property Map
- Migrate data from existing server.
- password
Encryption String - Chooses the algorithm for encrypting passwords.
- pg
Partman NumberBgw Interval - Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is
3600
. - pg
Partman StringBgw Role - Controls which role to use for pg_partman's scheduled background tasks.
- pg
Stat BooleanMonitor Enable - Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Changing this parameter causes a service restart. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- pg
Stat BooleanMonitor Pgsm Enable Query Plan - Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- pg
Stat NumberMonitor Pgsm Max Buckets - Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
- pg
Stat StringStatements Track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is
top
. - pgaudit Property Map
- PGAudit settings. System-wide settings for the pgaudit extension.
- pgbouncer Property Map
- PGBouncer connection pooling settings. System-wide settings for pgbouncer.
- pglookout Property Map
- PGLookout settings. System-wide settings for pglookout.
- public
Access Boolean - Public Access. Allow access to the service from the public Internet.
- service
Log Boolean - Service logging. Store logs for the service so that they are available in the HTTP API and console.
- Number
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Changing this parameter causes a service restart.
- synchronous
Replication String - Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- temp
File NumberLimit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- timescaledb Property Map
- TimescaleDB extension configuration values. System-wide settings for the timescaledb extension.
- timezone String
- PostgreSQL service timezone.
- track
Activity NumberQuery Size - Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart.
- track
Commit StringTimestamp - Record commit time of transactions. Changing this parameter causes a service restart.
- track
Functions String - Enables tracking of function call counts and time used.
- track
Io StringTiming - Enables timing of database I/O calls. The default is
off
. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - variant String
- Variant of the PostgreSQL service, may affect the features that are exposed by default.
- version String
- PostgreSQL major version.
- wal
Sender NumberTimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- wal
Writer NumberDelay - WAL flush interval in milliseconds. The default is
200
. Setting this parameter to a lower value may negatively impact performance. - work
Mem Number - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. The default is 1MB + 0.075% of total RAM (up to 32MB).
ManagedDatabasePostgresqlPropertiesMigration, ManagedDatabasePostgresqlPropertiesMigrationArgs
- Dbname string
- Database name for bootstrapping the initial connection.
- Host string
- Hostname or IP address of the server where to migrate data from.
- Ignore
Dbs string - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
- Ignore
Roles 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.
- Ignore
Dbs string - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
- Ignore
Roles 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.
- ignore
Dbs String - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
- ignore
Roles 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.
- ignore
Dbs string - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
- ignore
Roles 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.
- ignore
Dbs String - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
- ignore
Roles 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.
ManagedDatabasePostgresqlPropertiesPgaudit, ManagedDatabasePostgresqlPropertiesPgauditArgs
- Feature
Enabled bool - Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved.
- Log
Catalog bool - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog.
- Log
Client bool - Specifies whether log messages will be visible to a client process such as psql.
- Log
Level string - Specifies the log level that will be used for log entries.
- Log
Max intString Length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation.
- Log
Nested boolStatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun.
- Log
Parameter bool - Specifies that audit logging should include the parameters that were passed with the statement.
- Log
Parameter intMax Size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with .
- Log
Relation bool - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement.
- Log
Rows bool - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field.
- Log
Statement bool - Specifies whether logging will include the statement text and parameters (if enabled).
- Log
Statement boolOnce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.
- Logs List<string>
- Specifies which classes of statements will be logged by session audit logging.
- Role string
- Specifies the master role to use for object audit logging.
- Feature
Enabled bool - Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved.
- Log
Catalog bool - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog.
- Log
Client bool - Specifies whether log messages will be visible to a client process such as psql.
- Log
Level string - Specifies the log level that will be used for log entries.
- Log
Max intString Length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation.
- Log
Nested boolStatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun.
- Log
Parameter bool - Specifies that audit logging should include the parameters that were passed with the statement.
- Log
Parameter intMax Size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with .
- Log
Relation bool - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement.
- Log
Rows bool - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field.
- Log
Statement bool - Specifies whether logging will include the statement text and parameters (if enabled).
- Log
Statement boolOnce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.
- Logs []string
- Specifies which classes of statements will be logged by session audit logging.
- Role string
- Specifies the master role to use for object audit logging.
- feature
Enabled Boolean - Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved.
- log
Catalog Boolean - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog.
- log
Client Boolean - Specifies whether log messages will be visible to a client process such as psql.
- log
Level String - Specifies the log level that will be used for log entries.
- log
Max IntegerString Length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation.
- log
Nested BooleanStatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun.
- log
Parameter Boolean - Specifies that audit logging should include the parameters that were passed with the statement.
- log
Parameter IntegerMax Size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with .
- log
Relation Boolean - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement.
- log
Rows Boolean - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field.
- log
Statement Boolean - Specifies whether logging will include the statement text and parameters (if enabled).
- log
Statement BooleanOnce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.
- logs List<String>
- Specifies which classes of statements will be logged by session audit logging.
- role String
- Specifies the master role to use for object audit logging.
- feature
Enabled boolean - Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved.
- log
Catalog boolean - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog.
- log
Client boolean - Specifies whether log messages will be visible to a client process such as psql.
- log
Level string - Specifies the log level that will be used for log entries.
- log
Max numberString Length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation.
- log
Nested booleanStatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun.
- log
Parameter boolean - Specifies that audit logging should include the parameters that were passed with the statement.
- log
Parameter numberMax Size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with .
- log
Relation boolean - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement.
- log
Rows boolean - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field.
- log
Statement boolean - Specifies whether logging will include the statement text and parameters (if enabled).
- log
Statement booleanOnce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.
- logs string[]
- Specifies which classes of statements will be logged by session audit logging.
- role string
- Specifies the master role to use for object audit logging.
- feature_
enabled bool - Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved.
- log_
catalog bool - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog.
- log_
client bool - Specifies whether log messages will be visible to a client process such as psql.
- log_
level str - Specifies the log level that will be used for log entries.
- log_
max_ intstring_ length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation.
- log_
nested_ boolstatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun.
- log_
parameter bool - Specifies that audit logging should include the parameters that were passed with the statement.
- log_
parameter_ intmax_ size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with .
- log_
relation bool - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement.
- log_
rows bool - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field.
- log_
statement bool - Specifies whether logging will include the statement text and parameters (if enabled).
- log_
statement_ boolonce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.
- logs Sequence[str]
- Specifies which classes of statements will be logged by session audit logging.
- role str
- Specifies the master role to use for object audit logging.
- feature
Enabled Boolean - Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved.
- log
Catalog Boolean - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog.
- log
Client Boolean - Specifies whether log messages will be visible to a client process such as psql.
- log
Level String - Specifies the log level that will be used for log entries.
- log
Max NumberString Length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation.
- log
Nested BooleanStatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun.
- log
Parameter Boolean - Specifies that audit logging should include the parameters that were passed with the statement.
- log
Parameter NumberMax Size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with .
- log
Relation Boolean - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement.
- log
Rows Boolean - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field.
- log
Statement Boolean - Specifies whether logging will include the statement text and parameters (if enabled).
- log
Statement BooleanOnce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.
- logs List<String>
- Specifies which classes of statements will be logged by session audit logging.
- role String
- Specifies the master role to use for object audit logging.
ManagedDatabasePostgresqlPropertiesPgbouncer, ManagedDatabasePostgresqlPropertiesPgbouncerArgs
- Autodb
Idle intTimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds].
- Autodb
Max intDb Connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
- Autodb
Pool stringMode - PGBouncer pool mode.
- Autodb
Pool intSize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
- Ignore
Startup List<string>Parameters - List of parameters to ignore when given in startup packet.
- Max
Prepared intStatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
- Min
Pool intSize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
- Server
Idle intTimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds].
- Server
Lifetime int - The pooler will close an unused server connection that has been connected longer than this. [seconds].
- Server
Reset boolQuery Always - Run server_reset_query (DISCARD ALL) in all pooling modes.
- Autodb
Idle intTimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds].
- Autodb
Max intDb Connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
- Autodb
Pool stringMode - PGBouncer pool mode.
- Autodb
Pool intSize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
- Ignore
Startup []stringParameters - List of parameters to ignore when given in startup packet.
- Max
Prepared intStatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
- Min
Pool intSize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
- Server
Idle intTimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds].
- Server
Lifetime int - The pooler will close an unused server connection that has been connected longer than this. [seconds].
- Server
Reset boolQuery Always - Run server_reset_query (DISCARD ALL) in all pooling modes.
- autodb
Idle IntegerTimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds].
- autodb
Max IntegerDb Connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
- autodb
Pool StringMode - PGBouncer pool mode.
- autodb
Pool IntegerSize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
- ignore
Startup List<String>Parameters - List of parameters to ignore when given in startup packet.
- max
Prepared IntegerStatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
- min
Pool IntegerSize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
- server
Idle IntegerTimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds].
- server
Lifetime Integer - The pooler will close an unused server connection that has been connected longer than this. [seconds].
- server
Reset BooleanQuery Always - Run server_reset_query (DISCARD ALL) in all pooling modes.
- autodb
Idle numberTimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds].
- autodb
Max numberDb Connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
- autodb
Pool stringMode - PGBouncer pool mode.
- autodb
Pool numberSize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
- ignore
Startup string[]Parameters - List of parameters to ignore when given in startup packet.
- max
Prepared numberStatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
- min
Pool numberSize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
- server
Idle numberTimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds].
- server
Lifetime number - The pooler will close an unused server connection that has been connected longer than this. [seconds].
- server
Reset booleanQuery Always - Run server_reset_query (DISCARD ALL) in all pooling modes.
- autodb_
idle_ inttimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds].
- autodb_
max_ intdb_ connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
- autodb_
pool_ strmode - PGBouncer pool mode.
- autodb_
pool_ intsize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
- ignore_
startup_ Sequence[str]parameters - List of parameters to ignore when given in startup packet.
- max_
prepared_ intstatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
- min_
pool_ intsize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
- server_
idle_ inttimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds].
- server_
lifetime int - The pooler will close an unused server connection that has been connected longer than this. [seconds].
- server_
reset_ boolquery_ always - Run server_reset_query (DISCARD ALL) in all pooling modes.
- autodb
Idle NumberTimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds].
- autodb
Max NumberDb Connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
- autodb
Pool StringMode - PGBouncer pool mode.
- autodb
Pool NumberSize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
- ignore
Startup List<String>Parameters - List of parameters to ignore when given in startup packet.
- max
Prepared NumberStatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
- min
Pool NumberSize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
- server
Idle NumberTimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds].
- server
Lifetime Number - The pooler will close an unused server connection that has been connected longer than this. [seconds].
- server
Reset BooleanQuery Always - Run server_reset_query (DISCARD ALL) in all pooling modes.
ManagedDatabasePostgresqlPropertiesPglookout, ManagedDatabasePostgresqlPropertiesPglookoutArgs
- Max
Failover intReplication Time Lag - Number of seconds of master unavailability before triggering database failover to standby.
- Max
Failover intReplication Time Lag - Number of seconds of master unavailability before triggering database failover to standby.
- max
Failover IntegerReplication Time Lag - Number of seconds of master unavailability before triggering database failover to standby.
- max
Failover numberReplication Time Lag - Number of seconds of master unavailability before triggering database failover to standby.
- max_
failover_ intreplication_ time_ lag - Number of seconds of master unavailability before triggering database failover to standby.
- max
Failover NumberReplication Time Lag - Number of seconds of master unavailability before triggering database failover to standby.
ManagedDatabasePostgresqlPropertiesTimescaledb, ManagedDatabasePostgresqlPropertiesTimescaledbArgs
- Max
Background intWorkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart.
- Max
Background intWorkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart.
- max
Background IntegerWorkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart.
- max
Background numberWorkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart.
- max_
background_ intworkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart.
- max
Background NumberWorkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart.
Package Details
- Repository
- upcloud UpCloudLtd/pulumi-upcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
upcloud
Terraform Provider.