@upcloud/pulumi-upcloud 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/vars.d.ts +2 -2
- package/package.json +2 -2
- package/provider.d.ts +4 -4
- package/server.d.ts +3 -1
- package/server.js +3 -1
- package/server.js.map +1 -1
- package/types/input.d.ts +116 -44
- package/types/output.d.ts +117 -45
package/config/vars.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ export declare const retryWaitMaxSec: number | undefined;
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const retryWaitMinSec: number | undefined;
|
|
22
22
|
/**
|
|
23
|
-
* Token for authenticating to UpCloud API. Can also be configured using the `UPCLOUD_TOKEN` environment variable
|
|
24
|
-
* (EXPERIMENTAL)
|
|
23
|
+
* Token for authenticating to UpCloud API. Can also be configured using the `UPCLOUD_TOKEN` environment variable or using
|
|
24
|
+
* the system keyring. Use `upctl account login` command to save a token to the system keyring. (EXPERIMENTAL)
|
|
25
25
|
*/
|
|
26
26
|
export declare const token: string | undefined;
|
|
27
27
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upcloud/pulumi-upcloud",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing UpCloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "upcloud",
|
|
27
|
-
"version": "0.
|
|
27
|
+
"version": "0.4.0",
|
|
28
28
|
"server": "github://api.github.com/UpCloudLtd/pulumi-upcloud"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/provider.d.ts
CHANGED
|
@@ -16,8 +16,8 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
16
16
|
*/
|
|
17
17
|
readonly password: pulumi.Output<string | undefined>;
|
|
18
18
|
/**
|
|
19
|
-
* Token for authenticating to UpCloud API. Can also be configured using the `UPCLOUD_TOKEN` environment variable
|
|
20
|
-
* (EXPERIMENTAL)
|
|
19
|
+
* Token for authenticating to UpCloud API. Can also be configured using the `UPCLOUD_TOKEN` environment variable or using
|
|
20
|
+
* the system keyring. Use `upctl account login` command to save a token to the system keyring. (EXPERIMENTAL)
|
|
21
21
|
*/
|
|
22
22
|
readonly token: pulumi.Output<string | undefined>;
|
|
23
23
|
/**
|
|
@@ -59,8 +59,8 @@ export interface ProviderArgs {
|
|
|
59
59
|
*/
|
|
60
60
|
retryWaitMinSec?: pulumi.Input<number>;
|
|
61
61
|
/**
|
|
62
|
-
* Token for authenticating to UpCloud API. Can also be configured using the `UPCLOUD_TOKEN` environment variable
|
|
63
|
-
* (EXPERIMENTAL)
|
|
62
|
+
* Token for authenticating to UpCloud API. Can also be configured using the `UPCLOUD_TOKEN` environment variable or using
|
|
63
|
+
* the system keyring. Use `upctl account login` command to save a token to the system keyring. (EXPERIMENTAL)
|
|
64
64
|
*/
|
|
65
65
|
token?: pulumi.Input<string>;
|
|
66
66
|
/**
|
package/server.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* The UpCloud server resource allows the creation, update and deletion of
|
|
5
|
+
* The UpCloud server resource allows the creation, update and deletion of [cloud servers](https://upcloud.com/products/cloud-servers).
|
|
6
|
+
*
|
|
7
|
+
* > To deploy a GPU server, select a plan with `GPU-` prefix, e.g., `GPU-8xCPU-64GB-1xL40S`. Use `upctl zone devices` command to list per zone GPU availability.
|
|
6
8
|
*
|
|
7
9
|
* ## Import
|
|
8
10
|
*
|
package/server.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.Server = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* The UpCloud server resource allows the creation, update and deletion of
|
|
9
|
+
* The UpCloud server resource allows the creation, update and deletion of [cloud servers](https://upcloud.com/products/cloud-servers).
|
|
10
|
+
*
|
|
11
|
+
* > To deploy a GPU server, select a plan with `GPU-` prefix, e.g., `GPU-8xCPU-64GB-1xL40S`. Use `upctl zone devices` command to list per zone GPU availability.
|
|
10
12
|
*
|
|
11
13
|
* ## Import
|
|
12
14
|
*
|
package/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA6GD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,E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,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AArML,wBAsMC;AAxLG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -1686,6 +1686,10 @@ export interface ManagedDatabaseMysqlProperties {
|
|
|
1686
1686
|
* Migrate data from existing server.
|
|
1687
1687
|
*/
|
|
1688
1688
|
migration?: pulumi.Input<inputs.ManagedDatabaseMysqlPropertiesMigration>;
|
|
1689
|
+
/**
|
|
1690
|
+
* MySQL incremental backup configuration.
|
|
1691
|
+
*/
|
|
1692
|
+
mysqlIncrementalBackup?: pulumi.Input<inputs.ManagedDatabaseMysqlPropertiesMysqlIncrementalBackup>;
|
|
1689
1693
|
/**
|
|
1690
1694
|
* Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
|
|
1691
1695
|
*/
|
|
@@ -1773,6 +1777,16 @@ export interface ManagedDatabaseMysqlPropertiesMigration {
|
|
|
1773
1777
|
*/
|
|
1774
1778
|
username?: pulumi.Input<string>;
|
|
1775
1779
|
}
|
|
1780
|
+
export interface ManagedDatabaseMysqlPropertiesMysqlIncrementalBackup {
|
|
1781
|
+
/**
|
|
1782
|
+
* Enable incremental backups. Enable periodic incremental backups. When enabled, fullBackupWeekSchedule must be set. Incremental backups only store changes since the last backup, making them faster and more storage-efficient than full backups. This is particularly useful for large databases where daily full backups would be too time-consuming or expensive.
|
|
1783
|
+
*/
|
|
1784
|
+
enabled?: pulumi.Input<boolean>;
|
|
1785
|
+
/**
|
|
1786
|
+
* Full backup week schedule. Comma-separated list of days of the week when full backups should be created. Valid values: mon, tue, wed, thu, fri, sat, sun.
|
|
1787
|
+
*/
|
|
1788
|
+
fullBackupWeekSchedule?: pulumi.Input<string>;
|
|
1789
|
+
}
|
|
1776
1790
|
export interface ManagedDatabaseOpensearchComponent {
|
|
1777
1791
|
/**
|
|
1778
1792
|
* Type of the component
|
|
@@ -1844,10 +1858,15 @@ export interface ManagedDatabaseOpensearchProperties {
|
|
|
1844
1858
|
* Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
1845
1859
|
*/
|
|
1846
1860
|
automaticUtilityNetworkIpFilter?: pulumi.Input<boolean>;
|
|
1861
|
+
/**
|
|
1862
|
+
* The limit of how much total remote data can be referenced. Defines a limit of how much total remote data can be referenced as a ratio of the size of the disk reserved for the file cache. This is designed to be a safeguard to prevent oversubscribing a cluster. Defaults to 0.
|
|
1863
|
+
*/
|
|
1864
|
+
clusterFilecacheRemoteDataRatio?: pulumi.Input<number>;
|
|
1847
1865
|
/**
|
|
1848
1866
|
* Controls the number of shards allowed in the cluster per data node.
|
|
1849
1867
|
*/
|
|
1850
1868
|
clusterMaxShardsPerNode?: pulumi.Input<number>;
|
|
1869
|
+
clusterRemoteStore?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesClusterRemoteStore>;
|
|
1851
1870
|
/**
|
|
1852
1871
|
* When set to true, OpenSearch attempts to evenly distribute the primary shards between the cluster nodes. Enabling this setting does not always guarantee an equal number of primary shards on each node, especially in the event of a failover. Changing this setting to false after it was set to true does not invoke redistribution of primary shards. Default is false.
|
|
1853
1872
|
*/
|
|
@@ -1893,6 +1912,10 @@ export interface ManagedDatabaseOpensearchProperties {
|
|
|
1893
1912
|
* Enable/Disable security audit.
|
|
1894
1913
|
*/
|
|
1895
1914
|
enableSecurityAudit?: pulumi.Input<boolean>;
|
|
1915
|
+
/**
|
|
1916
|
+
* Enable/Disable snapshot API. Enable/Disable snapshot API for custom repositories, this requires security management to be enabled.
|
|
1917
|
+
*/
|
|
1918
|
+
enableSnapshotApi?: pulumi.Input<boolean>;
|
|
1896
1919
|
/**
|
|
1897
1920
|
* Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes.
|
|
1898
1921
|
*/
|
|
@@ -1989,6 +2012,10 @@ export interface ManagedDatabaseOpensearchProperties {
|
|
|
1989
2012
|
* Maximum amount of memory that can be used for KNN index. Defaults to 50% of the JVM heap size.
|
|
1990
2013
|
*/
|
|
1991
2014
|
knnMemoryCircuitBreakerLimit?: pulumi.Input<number>;
|
|
2015
|
+
/**
|
|
2016
|
+
* The limit of how much total remote data can be referenced. Defines a limit of how much total remote data can be referenced as a ratio of the size of the disk reserved for the file cache. This is designed to be a safeguard to prevent oversubscribing a cluster. Defaults to 5gb. Requires restarting all OpenSearch nodes.
|
|
2017
|
+
*/
|
|
2018
|
+
nodeSearchCacheSize?: pulumi.Input<string>;
|
|
1992
2019
|
/**
|
|
1993
2020
|
* OpenSearch OpenID Connect Configuration.
|
|
1994
2021
|
*/
|
|
@@ -2013,6 +2040,7 @@ export interface ManagedDatabaseOpensearchProperties {
|
|
|
2013
2040
|
* Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
|
|
2014
2041
|
*/
|
|
2015
2042
|
reindexRemoteWhitelists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2043
|
+
remoteStore?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesRemoteStore>;
|
|
2016
2044
|
/**
|
|
2017
2045
|
* OpenSearch SAML configuration.
|
|
2018
2046
|
*/
|
|
@@ -2124,6 +2152,24 @@ export interface ManagedDatabaseOpensearchPropertiesAuthFailureListenersInternal
|
|
|
2124
2152
|
*/
|
|
2125
2153
|
type?: pulumi.Input<string>;
|
|
2126
2154
|
}
|
|
2155
|
+
export interface ManagedDatabaseOpensearchPropertiesClusterRemoteStore {
|
|
2156
|
+
/**
|
|
2157
|
+
* The amount of time to wait for the cluster state upload to complete. The amount of time to wait for the cluster state upload to complete. Defaults to 20s.
|
|
2158
|
+
*/
|
|
2159
|
+
stateGlobalMetadataUploadTimeout?: pulumi.Input<string>;
|
|
2160
|
+
/**
|
|
2161
|
+
* The amount of time to wait for the manifest file upload to complete. The amount of time to wait for the manifest file upload to complete. The manifest file contains the details of each of the files uploaded for a single cluster state, both index metadata files and global metadata files. Defaults to 20s.
|
|
2162
|
+
*/
|
|
2163
|
+
stateMetadataManifestUploadTimeout?: pulumi.Input<string>;
|
|
2164
|
+
/**
|
|
2165
|
+
* The default value of the translog buffer interval. The default value of the translog buffer interval used when performing periodic translog updates. This setting is only effective when the index setting `index.remote_store.translog.buffer_interval` is not present. Defaults to 650ms.
|
|
2166
|
+
*/
|
|
2167
|
+
translogBufferInterval?: pulumi.Input<string>;
|
|
2168
|
+
/**
|
|
2169
|
+
* The maximum number of open translog files for remote-backed indexes. Sets the maximum number of open translog files for remote-backed indexes. This limits the total number of translog files per shard. After reaching this limit, the remote store flushes the translog files. Default is 1000. The minimum required is 100.
|
|
2170
|
+
*/
|
|
2171
|
+
translogMaxReaders?: pulumi.Input<number>;
|
|
2172
|
+
}
|
|
2127
2173
|
export interface ManagedDatabaseOpensearchPropertiesClusterSearchRequestSlowlog {
|
|
2128
2174
|
/**
|
|
2129
2175
|
* Log level.
|
|
@@ -2267,6 +2313,24 @@ export interface ManagedDatabaseOpensearchPropertiesOpensearchDashboards {
|
|
|
2267
2313
|
*/
|
|
2268
2314
|
opensearchRequestTimeout?: pulumi.Input<number>;
|
|
2269
2315
|
}
|
|
2316
|
+
export interface ManagedDatabaseOpensearchPropertiesRemoteStore {
|
|
2317
|
+
/**
|
|
2318
|
+
* The variance factor that is used to calculate the dynamic bytes lag threshold. The variance factor that is used together with the moving average to calculate the dynamic bytes lag threshold for activating remote segment backpressure. Defaults to 10.
|
|
2319
|
+
*/
|
|
2320
|
+
segmentPressureBytesLagVarianceFactor?: pulumi.Input<number>;
|
|
2321
|
+
/**
|
|
2322
|
+
* The minimum consecutive failure count for activating remote segment backpressure. The minimum consecutive failure count for activating remote segment backpressure. Defaults to 5.
|
|
2323
|
+
*/
|
|
2324
|
+
segmentPressureConsecutiveFailuresLimit?: pulumi.Input<number>;
|
|
2325
|
+
/**
|
|
2326
|
+
* Enables remote segment backpressure. Enables remote segment backpressure. Default is `true`.
|
|
2327
|
+
*/
|
|
2328
|
+
segmentPressureEnabled?: pulumi.Input<boolean>;
|
|
2329
|
+
/**
|
|
2330
|
+
* The variance factor that is used to calculate the dynamic bytes lag threshold. The variance factor that is used together with the moving average to calculate the dynamic time lag threshold for activating remote segment backpressure. Defaults to 10.
|
|
2331
|
+
*/
|
|
2332
|
+
segmentPressureTimeLagVarianceFactor?: pulumi.Input<number>;
|
|
2333
|
+
}
|
|
2270
2334
|
export interface ManagedDatabaseOpensearchPropertiesSaml {
|
|
2271
2335
|
/**
|
|
2272
2336
|
* Enable or disable OpenSearch SAML authentication. Enables or disables SAML-based authentication for OpenSearch. When enabled, users can authenticate using SAML with an Identity Provider.
|
|
@@ -2613,39 +2677,39 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2613
2677
|
*/
|
|
2614
2678
|
automaticUtilityNetworkIpFilter?: pulumi.Input<boolean>;
|
|
2615
2679
|
/**
|
|
2616
|
-
* Specifies a fraction of the table size to add to autovacuumAnalyzeThreshold when deciding whether to trigger an ANALYZE.
|
|
2680
|
+
* Specifies a fraction of the table size to add to autovacuumAnalyzeThreshold when deciding whether to trigger an ANALYZE (e.g. `0.2` for 20% of the table size). The default is `0.2`.
|
|
2617
2681
|
*/
|
|
2618
2682
|
autovacuumAnalyzeScaleFactor?: pulumi.Input<number>;
|
|
2619
2683
|
/**
|
|
2620
|
-
* Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50
|
|
2684
|
+
* Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is `50`.
|
|
2621
2685
|
*/
|
|
2622
2686
|
autovacuumAnalyzeThreshold?: pulumi.Input<number>;
|
|
2623
2687
|
/**
|
|
2624
|
-
* 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.
|
|
2688
|
+
* 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.
|
|
2625
2689
|
*/
|
|
2626
2690
|
autovacuumFreezeMaxAge?: pulumi.Input<number>;
|
|
2627
2691
|
/**
|
|
2628
|
-
* Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is
|
|
2692
|
+
* 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.
|
|
2629
2693
|
*/
|
|
2630
2694
|
autovacuumMaxWorkers?: pulumi.Input<number>;
|
|
2631
2695
|
/**
|
|
2632
|
-
* Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds
|
|
2696
|
+
* Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is `60`.
|
|
2633
2697
|
*/
|
|
2634
2698
|
autovacuumNaptime?: pulumi.Input<number>;
|
|
2635
2699
|
/**
|
|
2636
|
-
* Specifies the cost delay value that will be used in automatic VACUUM operations. If
|
|
2700
|
+
* Specifies the cost delay value that will be used in automatic VACUUM operations. If `-1` is specified, the regular vacuumCostDelay value will be used. The default is `2` (upstream default).
|
|
2637
2701
|
*/
|
|
2638
2702
|
autovacuumVacuumCostDelay?: pulumi.Input<number>;
|
|
2639
2703
|
/**
|
|
2640
|
-
* Specifies the cost limit value that will be used in automatic VACUUM operations. If
|
|
2704
|
+
* Specifies the cost limit value that will be used in automatic VACUUM operations. If `-1` is specified, the regular vacuumCostLimit value will be used. The default is `-1` (upstream default).
|
|
2641
2705
|
*/
|
|
2642
2706
|
autovacuumVacuumCostLimit?: pulumi.Input<number>;
|
|
2643
2707
|
/**
|
|
2644
|
-
* Specifies a fraction of the table size to add to autovacuumVacuumThreshold when deciding whether to trigger a VACUUM.
|
|
2708
|
+
* Specifies a fraction of the table size to add to autovacuumVacuumThreshold when deciding whether to trigger a VACUUM (e.g. `0.2` for 20% of the table size). The default is `0.2`.
|
|
2645
2709
|
*/
|
|
2646
2710
|
autovacuumVacuumScaleFactor?: pulumi.Input<number>;
|
|
2647
2711
|
/**
|
|
2648
|
-
* Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50
|
|
2712
|
+
* Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is `50`.
|
|
2649
2713
|
*/
|
|
2650
2714
|
autovacuumVacuumThreshold?: pulumi.Input<number>;
|
|
2651
2715
|
/**
|
|
@@ -2657,27 +2721,27 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2657
2721
|
*/
|
|
2658
2722
|
backupMinute?: pulumi.Input<number>;
|
|
2659
2723
|
/**
|
|
2660
|
-
* Specifies the delay between activity rounds for the background writer in milliseconds.
|
|
2724
|
+
* Specifies the delay between activity rounds for the background writer in milliseconds. The default is `200`.
|
|
2661
2725
|
*/
|
|
2662
2726
|
bgwriterDelay?: pulumi.Input<number>;
|
|
2663
2727
|
/**
|
|
2664
|
-
* Whenever more than bgwriterFlushAfter bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes
|
|
2728
|
+
* Whenever more than bgwriterFlushAfter 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`.
|
|
2665
2729
|
*/
|
|
2666
2730
|
bgwriterFlushAfter?: pulumi.Input<number>;
|
|
2667
2731
|
/**
|
|
2668
|
-
* In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing.
|
|
2732
|
+
* 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`.
|
|
2669
2733
|
*/
|
|
2670
2734
|
bgwriterLruMaxpages?: pulumi.Input<number>;
|
|
2671
2735
|
/**
|
|
2672
|
-
* The average recent need for new buffers is multiplied by bgwriterLruMultiplier 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
|
|
2736
|
+
* The average recent need for new buffers is multiplied by bgwriterLruMultiplier 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`.
|
|
2673
2737
|
*/
|
|
2674
2738
|
bgwriterLruMultiplier?: pulumi.Input<number>;
|
|
2675
2739
|
/**
|
|
2676
|
-
* This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
2740
|
+
* 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).
|
|
2677
2741
|
*/
|
|
2678
2742
|
deadlockTimeout?: pulumi.Input<number>;
|
|
2679
2743
|
/**
|
|
2680
|
-
* Specifies the default TOAST compression method for values of compressible columns
|
|
2744
|
+
* Specifies the default TOAST compression method for values of compressible columns. The default is `lz4`. Only available for PostgreSQL 14+.
|
|
2681
2745
|
*/
|
|
2682
2746
|
defaultToastCompression?: pulumi.Input<string>;
|
|
2683
2747
|
/**
|
|
@@ -2693,7 +2757,7 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2693
2757
|
*/
|
|
2694
2758
|
jit?: pulumi.Input<boolean>;
|
|
2695
2759
|
/**
|
|
2696
|
-
* 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
|
|
2760
|
+
* 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`.
|
|
2697
2761
|
*/
|
|
2698
2762
|
logAutovacuumMinDuration?: pulumi.Input<number>;
|
|
2699
2763
|
/**
|
|
@@ -2713,59 +2777,67 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2713
2777
|
*/
|
|
2714
2778
|
logTempFiles?: pulumi.Input<number>;
|
|
2715
2779
|
/**
|
|
2716
|
-
* PostgreSQL maximum number of
|
|
2780
|
+
* PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart.
|
|
2781
|
+
*/
|
|
2782
|
+
maxConnections?: pulumi.Input<number>;
|
|
2783
|
+
/**
|
|
2784
|
+
* PostgreSQL maximum number of files that can be open per process. The default is `1000` (upstream default). Changing this parameter causes a service restart.
|
|
2717
2785
|
*/
|
|
2718
2786
|
maxFilesPerProcess?: pulumi.Input<number>;
|
|
2719
2787
|
/**
|
|
2720
|
-
* PostgreSQL maximum locks per transaction.
|
|
2788
|
+
* PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
|
|
2721
2789
|
*/
|
|
2722
2790
|
maxLocksPerTransaction?: pulumi.Input<number>;
|
|
2723
2791
|
/**
|
|
2724
|
-
* PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
2792
|
+
* 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.
|
|
2725
2793
|
*/
|
|
2726
2794
|
maxLogicalReplicationWorkers?: pulumi.Input<number>;
|
|
2727
2795
|
/**
|
|
2728
|
-
* Sets the maximum number of workers that the system can support for parallel queries.
|
|
2796
|
+
* Sets the maximum number of workers that the system can support for parallel queries. The default is `8` (upstream default).
|
|
2729
2797
|
*/
|
|
2730
2798
|
maxParallelWorkers?: pulumi.Input<number>;
|
|
2731
2799
|
/**
|
|
2732
|
-
* Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
2800
|
+
* Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is `2` (upstream default).
|
|
2733
2801
|
*/
|
|
2734
2802
|
maxParallelWorkersPerGather?: pulumi.Input<number>;
|
|
2735
2803
|
/**
|
|
2736
|
-
* PostgreSQL maximum predicate locks per transaction.
|
|
2804
|
+
* PostgreSQL maximum predicate locks per transaction. The default is `64` (upstream default). Changing this parameter causes a service restart.
|
|
2737
2805
|
*/
|
|
2738
2806
|
maxPredLocksPerTransaction?: pulumi.Input<number>;
|
|
2739
2807
|
/**
|
|
2740
|
-
* PostgreSQL maximum prepared transactions.
|
|
2808
|
+
* PostgreSQL maximum prepared transactions. The default is `0`. Changing this parameter causes a service restart.
|
|
2741
2809
|
*/
|
|
2742
2810
|
maxPreparedTransactions?: pulumi.Input<number>;
|
|
2743
2811
|
/**
|
|
2744
|
-
* PostgreSQL maximum replication slots.
|
|
2812
|
+
* PostgreSQL maximum replication slots. The default is `20`. Changing this parameter causes a service restart.
|
|
2745
2813
|
*/
|
|
2746
2814
|
maxReplicationSlots?: pulumi.Input<number>;
|
|
2747
2815
|
/**
|
|
2748
|
-
* PostgreSQL maximum WAL size (MB) reserved for replication slots.
|
|
2816
|
+
* 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). walKeepSize minimum WAL size setting takes precedence over this.
|
|
2749
2817
|
*/
|
|
2750
2818
|
maxSlotWalKeepSize?: pulumi.Input<number>;
|
|
2751
2819
|
/**
|
|
2752
|
-
* Maximum depth of the stack in bytes.
|
|
2820
|
+
* Maximum depth of the stack in bytes. The default is `2097152` (upstream default).
|
|
2753
2821
|
*/
|
|
2754
2822
|
maxStackDepth?: pulumi.Input<number>;
|
|
2755
2823
|
/**
|
|
2756
|
-
* Max standby archive delay in milliseconds.
|
|
2824
|
+
* Max standby archive delay in milliseconds. The default is `30000` (upstream default).
|
|
2757
2825
|
*/
|
|
2758
2826
|
maxStandbyArchiveDelay?: pulumi.Input<number>;
|
|
2759
2827
|
/**
|
|
2760
|
-
* Max standby streaming delay in milliseconds.
|
|
2828
|
+
* Max standby streaming delay in milliseconds. The default is `30000` (upstream default).
|
|
2761
2829
|
*/
|
|
2762
2830
|
maxStandbyStreamingDelay?: pulumi.Input<number>;
|
|
2763
2831
|
/**
|
|
2764
|
-
*
|
|
2832
|
+
* Maximum number of synchronization workers per subscription. The default is `2`.
|
|
2833
|
+
*/
|
|
2834
|
+
maxSyncWorkersPerSubscription?: pulumi.Input<number>;
|
|
2835
|
+
/**
|
|
2836
|
+
* PostgreSQL maximum WAL senders. The default is `20`. Changing this parameter causes a service restart.
|
|
2765
2837
|
*/
|
|
2766
2838
|
maxWalSenders?: pulumi.Input<number>;
|
|
2767
2839
|
/**
|
|
2768
|
-
* Sets the maximum number of background processes that the system can support.
|
|
2840
|
+
* Sets the maximum number of background processes that the system can support. The default is `8`. Changing this parameter causes a service restart.
|
|
2769
2841
|
*/
|
|
2770
2842
|
maxWorkerProcesses?: pulumi.Input<number>;
|
|
2771
2843
|
/**
|
|
@@ -2777,7 +2849,7 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2777
2849
|
*/
|
|
2778
2850
|
passwordEncryption?: pulumi.Input<string>;
|
|
2779
2851
|
/**
|
|
2780
|
-
* Sets the time interval to run pg_partman's scheduled tasks.
|
|
2852
|
+
* Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is `3600`.
|
|
2781
2853
|
*/
|
|
2782
2854
|
pgPartmanBgwInterval?: pulumi.Input<number>;
|
|
2783
2855
|
/**
|
|
@@ -2785,19 +2857,19 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2785
2857
|
*/
|
|
2786
2858
|
pgPartmanBgwRole?: pulumi.Input<string>;
|
|
2787
2859
|
/**
|
|
2788
|
-
* Enable pgStatMonitor extension if available for the current cluster. Enable the pgStatMonitor extension.
|
|
2860
|
+
* Enable pgStatMonitor extension if available for the current cluster. Enable the pgStatMonitor extension. Changing this parameter causes a service restart. When this extension is enabled, pgStatStatements results for utility commands are unreliable.
|
|
2789
2861
|
*/
|
|
2790
2862
|
pgStatMonitorEnable?: pulumi.Input<boolean>;
|
|
2791
2863
|
/**
|
|
2792
|
-
* Enables or disables query plan monitoring.
|
|
2864
|
+
* Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
|
|
2793
2865
|
*/
|
|
2794
2866
|
pgStatMonitorPgsmEnableQueryPlan?: pulumi.Input<boolean>;
|
|
2795
2867
|
/**
|
|
2796
|
-
* Sets the maximum number of buckets.
|
|
2868
|
+
* Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
|
|
2797
2869
|
*/
|
|
2798
2870
|
pgStatMonitorPgsmMaxBuckets?: pulumi.Input<number>;
|
|
2799
2871
|
/**
|
|
2800
|
-
* 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
|
|
2872
|
+
* 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`.
|
|
2801
2873
|
*/
|
|
2802
2874
|
pgStatStatementsTrack?: pulumi.Input<string>;
|
|
2803
2875
|
/**
|
|
@@ -2821,7 +2893,7 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2821
2893
|
*/
|
|
2822
2894
|
serviceLog?: pulumi.Input<boolean>;
|
|
2823
2895
|
/**
|
|
2824
|
-
* 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 sharedBuffers configuration value.
|
|
2896
|
+
* 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 sharedBuffers configuration value. Changing this parameter causes a service restart.
|
|
2825
2897
|
*/
|
|
2826
2898
|
sharedBuffersPercentage?: pulumi.Input<number>;
|
|
2827
2899
|
/**
|
|
@@ -2841,11 +2913,11 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2841
2913
|
*/
|
|
2842
2914
|
timezone?: pulumi.Input<string>;
|
|
2843
2915
|
/**
|
|
2844
|
-
* Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
2916
|
+
* Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart.
|
|
2845
2917
|
*/
|
|
2846
2918
|
trackActivityQuerySize?: pulumi.Input<number>;
|
|
2847
2919
|
/**
|
|
2848
|
-
* Record commit time of transactions.
|
|
2920
|
+
* Record commit time of transactions. Changing this parameter causes a service restart.
|
|
2849
2921
|
*/
|
|
2850
2922
|
trackCommitTimestamp?: pulumi.Input<string>;
|
|
2851
2923
|
/**
|
|
@@ -2853,7 +2925,7 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2853
2925
|
*/
|
|
2854
2926
|
trackFunctions?: pulumi.Input<string>;
|
|
2855
2927
|
/**
|
|
2856
|
-
* Enables timing of database I/O calls.
|
|
2928
|
+
* 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.
|
|
2857
2929
|
*/
|
|
2858
2930
|
trackIoTiming?: pulumi.Input<string>;
|
|
2859
2931
|
/**
|
|
@@ -2869,11 +2941,11 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2869
2941
|
*/
|
|
2870
2942
|
walSenderTimeout?: pulumi.Input<number>;
|
|
2871
2943
|
/**
|
|
2872
|
-
* WAL flush interval in milliseconds.
|
|
2944
|
+
* WAL flush interval in milliseconds. The default is `200`. Setting this parameter to a lower value may negatively impact performance.
|
|
2873
2945
|
*/
|
|
2874
2946
|
walWriterDelay?: pulumi.Input<number>;
|
|
2875
2947
|
/**
|
|
2876
|
-
* 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.
|
|
2948
|
+
* 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).
|
|
2877
2949
|
*/
|
|
2878
2950
|
workMem?: pulumi.Input<number>;
|
|
2879
2951
|
}
|
|
@@ -3023,7 +3095,7 @@ export interface ManagedDatabasePostgresqlPropertiesPglookout {
|
|
|
3023
3095
|
}
|
|
3024
3096
|
export interface ManagedDatabasePostgresqlPropertiesTimescaledb {
|
|
3025
3097
|
/**
|
|
3026
|
-
* 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.
|
|
3098
|
+
* 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.
|
|
3027
3099
|
*/
|
|
3028
3100
|
maxBackgroundWorkers?: pulumi.Input<number>;
|
|
3029
3101
|
}
|
|
@@ -3735,7 +3807,7 @@ export interface ServerTemplateBackupRule {
|
|
|
3735
3807
|
*/
|
|
3736
3808
|
retention: pulumi.Input<number>;
|
|
3737
3809
|
/**
|
|
3738
|
-
* The time of day when the backup is created
|
|
3810
|
+
* The time of day (UTC) when the backup is created
|
|
3739
3811
|
*/
|
|
3740
3812
|
time: pulumi.Input<string>;
|
|
3741
3813
|
}
|
|
@@ -3749,7 +3821,7 @@ export interface StorageBackupRule {
|
|
|
3749
3821
|
*/
|
|
3750
3822
|
retention: pulumi.Input<number>;
|
|
3751
3823
|
/**
|
|
3752
|
-
* The time of day when the backup is created
|
|
3824
|
+
* The time of day (UTC) when the backup is created
|
|
3753
3825
|
*/
|
|
3754
3826
|
time: pulumi.Input<string>;
|
|
3755
3827
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -1424,6 +1424,10 @@ export interface ManagedDatabaseMysqlProperties {
|
|
|
1424
1424
|
* Migrate data from existing server.
|
|
1425
1425
|
*/
|
|
1426
1426
|
migration: outputs.ManagedDatabaseMysqlPropertiesMigration;
|
|
1427
|
+
/**
|
|
1428
|
+
* MySQL incremental backup configuration.
|
|
1429
|
+
*/
|
|
1430
|
+
mysqlIncrementalBackup: outputs.ManagedDatabaseMysqlPropertiesMysqlIncrementalBackup;
|
|
1427
1431
|
/**
|
|
1428
1432
|
* Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
|
|
1429
1433
|
*/
|
|
@@ -1511,6 +1515,16 @@ export interface ManagedDatabaseMysqlPropertiesMigration {
|
|
|
1511
1515
|
*/
|
|
1512
1516
|
username: string;
|
|
1513
1517
|
}
|
|
1518
|
+
export interface ManagedDatabaseMysqlPropertiesMysqlIncrementalBackup {
|
|
1519
|
+
/**
|
|
1520
|
+
* Enable incremental backups. Enable periodic incremental backups. When enabled, fullBackupWeekSchedule must be set. Incremental backups only store changes since the last backup, making them faster and more storage-efficient than full backups. This is particularly useful for large databases where daily full backups would be too time-consuming or expensive.
|
|
1521
|
+
*/
|
|
1522
|
+
enabled: boolean;
|
|
1523
|
+
/**
|
|
1524
|
+
* Full backup week schedule. Comma-separated list of days of the week when full backups should be created. Valid values: mon, tue, wed, thu, fri, sat, sun.
|
|
1525
|
+
*/
|
|
1526
|
+
fullBackupWeekSchedule: string;
|
|
1527
|
+
}
|
|
1514
1528
|
export interface ManagedDatabaseOpensearchComponent {
|
|
1515
1529
|
/**
|
|
1516
1530
|
* Type of the component
|
|
@@ -1582,14 +1596,19 @@ export interface ManagedDatabaseOpensearchProperties {
|
|
|
1582
1596
|
* Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
1583
1597
|
*/
|
|
1584
1598
|
automaticUtilityNetworkIpFilter?: boolean;
|
|
1599
|
+
/**
|
|
1600
|
+
* The limit of how much total remote data can be referenced. Defines a limit of how much total remote data can be referenced as a ratio of the size of the disk reserved for the file cache. This is designed to be a safeguard to prevent oversubscribing a cluster. Defaults to 0.
|
|
1601
|
+
*/
|
|
1602
|
+
clusterFilecacheRemoteDataRatio: number;
|
|
1585
1603
|
/**
|
|
1586
1604
|
* Controls the number of shards allowed in the cluster per data node.
|
|
1587
1605
|
*/
|
|
1588
1606
|
clusterMaxShardsPerNode: number;
|
|
1607
|
+
clusterRemoteStore: outputs.ManagedDatabaseOpensearchPropertiesClusterRemoteStore;
|
|
1589
1608
|
/**
|
|
1590
1609
|
* When set to true, OpenSearch attempts to evenly distribute the primary shards between the cluster nodes. Enabling this setting does not always guarantee an equal number of primary shards on each node, especially in the event of a failover. Changing this setting to false after it was set to true does not invoke redistribution of primary shards. Default is false.
|
|
1591
1610
|
*/
|
|
1592
|
-
clusterRoutingAllocationBalancePreferPrimary
|
|
1611
|
+
clusterRoutingAllocationBalancePreferPrimary: boolean;
|
|
1593
1612
|
/**
|
|
1594
1613
|
* Concurrent incoming/outgoing shard recoveries per node. How many concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen on a node. Defaults to node cpu count * 2.
|
|
1595
1614
|
*/
|
|
@@ -1631,6 +1650,10 @@ export interface ManagedDatabaseOpensearchProperties {
|
|
|
1631
1650
|
* Enable/Disable security audit.
|
|
1632
1651
|
*/
|
|
1633
1652
|
enableSecurityAudit: boolean;
|
|
1653
|
+
/**
|
|
1654
|
+
* Enable/Disable snapshot API. Enable/Disable snapshot API for custom repositories, this requires security management to be enabled.
|
|
1655
|
+
*/
|
|
1656
|
+
enableSnapshotApi: boolean;
|
|
1634
1657
|
/**
|
|
1635
1658
|
* Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes.
|
|
1636
1659
|
*/
|
|
@@ -1727,6 +1750,10 @@ export interface ManagedDatabaseOpensearchProperties {
|
|
|
1727
1750
|
* Maximum amount of memory that can be used for KNN index. Defaults to 50% of the JVM heap size.
|
|
1728
1751
|
*/
|
|
1729
1752
|
knnMemoryCircuitBreakerLimit: number;
|
|
1753
|
+
/**
|
|
1754
|
+
* The limit of how much total remote data can be referenced. Defines a limit of how much total remote data can be referenced as a ratio of the size of the disk reserved for the file cache. This is designed to be a safeguard to prevent oversubscribing a cluster. Defaults to 5gb. Requires restarting all OpenSearch nodes.
|
|
1755
|
+
*/
|
|
1756
|
+
nodeSearchCacheSize: string;
|
|
1730
1757
|
/**
|
|
1731
1758
|
* OpenSearch OpenID Connect Configuration.
|
|
1732
1759
|
*/
|
|
@@ -1751,6 +1778,7 @@ export interface ManagedDatabaseOpensearchProperties {
|
|
|
1751
1778
|
* Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
|
|
1752
1779
|
*/
|
|
1753
1780
|
reindexRemoteWhitelists: string[];
|
|
1781
|
+
remoteStore: outputs.ManagedDatabaseOpensearchPropertiesRemoteStore;
|
|
1754
1782
|
/**
|
|
1755
1783
|
* OpenSearch SAML configuration.
|
|
1756
1784
|
*/
|
|
@@ -1862,6 +1890,24 @@ export interface ManagedDatabaseOpensearchPropertiesAuthFailureListenersInternal
|
|
|
1862
1890
|
*/
|
|
1863
1891
|
type: string;
|
|
1864
1892
|
}
|
|
1893
|
+
export interface ManagedDatabaseOpensearchPropertiesClusterRemoteStore {
|
|
1894
|
+
/**
|
|
1895
|
+
* The amount of time to wait for the cluster state upload to complete. The amount of time to wait for the cluster state upload to complete. Defaults to 20s.
|
|
1896
|
+
*/
|
|
1897
|
+
stateGlobalMetadataUploadTimeout: string;
|
|
1898
|
+
/**
|
|
1899
|
+
* The amount of time to wait for the manifest file upload to complete. The amount of time to wait for the manifest file upload to complete. The manifest file contains the details of each of the files uploaded for a single cluster state, both index metadata files and global metadata files. Defaults to 20s.
|
|
1900
|
+
*/
|
|
1901
|
+
stateMetadataManifestUploadTimeout: string;
|
|
1902
|
+
/**
|
|
1903
|
+
* The default value of the translog buffer interval. The default value of the translog buffer interval used when performing periodic translog updates. This setting is only effective when the index setting `index.remote_store.translog.buffer_interval` is not present. Defaults to 650ms.
|
|
1904
|
+
*/
|
|
1905
|
+
translogBufferInterval: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* The maximum number of open translog files for remote-backed indexes. Sets the maximum number of open translog files for remote-backed indexes. This limits the total number of translog files per shard. After reaching this limit, the remote store flushes the translog files. Default is 1000. The minimum required is 100.
|
|
1908
|
+
*/
|
|
1909
|
+
translogMaxReaders: number;
|
|
1910
|
+
}
|
|
1865
1911
|
export interface ManagedDatabaseOpensearchPropertiesClusterSearchRequestSlowlog {
|
|
1866
1912
|
/**
|
|
1867
1913
|
* Log level.
|
|
@@ -2005,6 +2051,24 @@ export interface ManagedDatabaseOpensearchPropertiesOpensearchDashboards {
|
|
|
2005
2051
|
*/
|
|
2006
2052
|
opensearchRequestTimeout: number;
|
|
2007
2053
|
}
|
|
2054
|
+
export interface ManagedDatabaseOpensearchPropertiesRemoteStore {
|
|
2055
|
+
/**
|
|
2056
|
+
* The variance factor that is used to calculate the dynamic bytes lag threshold. The variance factor that is used together with the moving average to calculate the dynamic bytes lag threshold for activating remote segment backpressure. Defaults to 10.
|
|
2057
|
+
*/
|
|
2058
|
+
segmentPressureBytesLagVarianceFactor: number;
|
|
2059
|
+
/**
|
|
2060
|
+
* The minimum consecutive failure count for activating remote segment backpressure. The minimum consecutive failure count for activating remote segment backpressure. Defaults to 5.
|
|
2061
|
+
*/
|
|
2062
|
+
segmentPressureConsecutiveFailuresLimit: number;
|
|
2063
|
+
/**
|
|
2064
|
+
* Enables remote segment backpressure. Enables remote segment backpressure. Default is `true`.
|
|
2065
|
+
*/
|
|
2066
|
+
segmentPressureEnabled: boolean;
|
|
2067
|
+
/**
|
|
2068
|
+
* The variance factor that is used to calculate the dynamic bytes lag threshold. The variance factor that is used together with the moving average to calculate the dynamic time lag threshold for activating remote segment backpressure. Defaults to 10.
|
|
2069
|
+
*/
|
|
2070
|
+
segmentPressureTimeLagVarianceFactor: number;
|
|
2071
|
+
}
|
|
2008
2072
|
export interface ManagedDatabaseOpensearchPropertiesSaml {
|
|
2009
2073
|
/**
|
|
2010
2074
|
* Enable or disable OpenSearch SAML authentication. Enables or disables SAML-based authentication for OpenSearch. When enabled, users can authenticate using SAML with an Identity Provider.
|
|
@@ -2351,39 +2415,39 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2351
2415
|
*/
|
|
2352
2416
|
automaticUtilityNetworkIpFilter?: boolean;
|
|
2353
2417
|
/**
|
|
2354
|
-
* Specifies a fraction of the table size to add to autovacuumAnalyzeThreshold when deciding whether to trigger an ANALYZE.
|
|
2418
|
+
* Specifies a fraction of the table size to add to autovacuumAnalyzeThreshold when deciding whether to trigger an ANALYZE (e.g. `0.2` for 20% of the table size). The default is `0.2`.
|
|
2355
2419
|
*/
|
|
2356
2420
|
autovacuumAnalyzeScaleFactor: number;
|
|
2357
2421
|
/**
|
|
2358
|
-
* Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50
|
|
2422
|
+
* Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is `50`.
|
|
2359
2423
|
*/
|
|
2360
2424
|
autovacuumAnalyzeThreshold: number;
|
|
2361
2425
|
/**
|
|
2362
|
-
* 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.
|
|
2426
|
+
* 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.
|
|
2363
2427
|
*/
|
|
2364
2428
|
autovacuumFreezeMaxAge: number;
|
|
2365
2429
|
/**
|
|
2366
|
-
* Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is
|
|
2430
|
+
* 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.
|
|
2367
2431
|
*/
|
|
2368
2432
|
autovacuumMaxWorkers: number;
|
|
2369
2433
|
/**
|
|
2370
|
-
* Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds
|
|
2434
|
+
* Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is `60`.
|
|
2371
2435
|
*/
|
|
2372
2436
|
autovacuumNaptime: number;
|
|
2373
2437
|
/**
|
|
2374
|
-
* Specifies the cost delay value that will be used in automatic VACUUM operations. If
|
|
2438
|
+
* Specifies the cost delay value that will be used in automatic VACUUM operations. If `-1` is specified, the regular vacuumCostDelay value will be used. The default is `2` (upstream default).
|
|
2375
2439
|
*/
|
|
2376
2440
|
autovacuumVacuumCostDelay: number;
|
|
2377
2441
|
/**
|
|
2378
|
-
* Specifies the cost limit value that will be used in automatic VACUUM operations. If
|
|
2442
|
+
* Specifies the cost limit value that will be used in automatic VACUUM operations. If `-1` is specified, the regular vacuumCostLimit value will be used. The default is `-1` (upstream default).
|
|
2379
2443
|
*/
|
|
2380
2444
|
autovacuumVacuumCostLimit: number;
|
|
2381
2445
|
/**
|
|
2382
|
-
* Specifies a fraction of the table size to add to autovacuumVacuumThreshold when deciding whether to trigger a VACUUM.
|
|
2446
|
+
* Specifies a fraction of the table size to add to autovacuumVacuumThreshold when deciding whether to trigger a VACUUM (e.g. `0.2` for 20% of the table size). The default is `0.2`.
|
|
2383
2447
|
*/
|
|
2384
2448
|
autovacuumVacuumScaleFactor: number;
|
|
2385
2449
|
/**
|
|
2386
|
-
* Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50
|
|
2450
|
+
* Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is `50`.
|
|
2387
2451
|
*/
|
|
2388
2452
|
autovacuumVacuumThreshold: number;
|
|
2389
2453
|
/**
|
|
@@ -2395,27 +2459,27 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2395
2459
|
*/
|
|
2396
2460
|
backupMinute: number;
|
|
2397
2461
|
/**
|
|
2398
|
-
* Specifies the delay between activity rounds for the background writer in milliseconds.
|
|
2462
|
+
* Specifies the delay between activity rounds for the background writer in milliseconds. The default is `200`.
|
|
2399
2463
|
*/
|
|
2400
2464
|
bgwriterDelay: number;
|
|
2401
2465
|
/**
|
|
2402
|
-
* Whenever more than bgwriterFlushAfter bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes
|
|
2466
|
+
* Whenever more than bgwriterFlushAfter 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`.
|
|
2403
2467
|
*/
|
|
2404
2468
|
bgwriterFlushAfter: number;
|
|
2405
2469
|
/**
|
|
2406
|
-
* In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing.
|
|
2470
|
+
* 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`.
|
|
2407
2471
|
*/
|
|
2408
2472
|
bgwriterLruMaxpages: number;
|
|
2409
2473
|
/**
|
|
2410
|
-
* The average recent need for new buffers is multiplied by bgwriterLruMultiplier 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
|
|
2474
|
+
* The average recent need for new buffers is multiplied by bgwriterLruMultiplier 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`.
|
|
2411
2475
|
*/
|
|
2412
2476
|
bgwriterLruMultiplier: number;
|
|
2413
2477
|
/**
|
|
2414
|
-
* This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
2478
|
+
* 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).
|
|
2415
2479
|
*/
|
|
2416
2480
|
deadlockTimeout: number;
|
|
2417
2481
|
/**
|
|
2418
|
-
* Specifies the default TOAST compression method for values of compressible columns
|
|
2482
|
+
* Specifies the default TOAST compression method for values of compressible columns. The default is `lz4`. Only available for PostgreSQL 14+.
|
|
2419
2483
|
*/
|
|
2420
2484
|
defaultToastCompression: string;
|
|
2421
2485
|
/**
|
|
@@ -2431,7 +2495,7 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2431
2495
|
*/
|
|
2432
2496
|
jit: boolean;
|
|
2433
2497
|
/**
|
|
2434
|
-
* 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
|
|
2498
|
+
* 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`.
|
|
2435
2499
|
*/
|
|
2436
2500
|
logAutovacuumMinDuration: number;
|
|
2437
2501
|
/**
|
|
@@ -2451,59 +2515,67 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2451
2515
|
*/
|
|
2452
2516
|
logTempFiles: number;
|
|
2453
2517
|
/**
|
|
2454
|
-
* PostgreSQL maximum number of
|
|
2518
|
+
* PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart.
|
|
2519
|
+
*/
|
|
2520
|
+
maxConnections: number;
|
|
2521
|
+
/**
|
|
2522
|
+
* PostgreSQL maximum number of files that can be open per process. The default is `1000` (upstream default). Changing this parameter causes a service restart.
|
|
2455
2523
|
*/
|
|
2456
2524
|
maxFilesPerProcess: number;
|
|
2457
2525
|
/**
|
|
2458
|
-
* PostgreSQL maximum locks per transaction.
|
|
2526
|
+
* PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
|
|
2459
2527
|
*/
|
|
2460
2528
|
maxLocksPerTransaction: number;
|
|
2461
2529
|
/**
|
|
2462
|
-
* PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
2530
|
+
* 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.
|
|
2463
2531
|
*/
|
|
2464
2532
|
maxLogicalReplicationWorkers: number;
|
|
2465
2533
|
/**
|
|
2466
|
-
* Sets the maximum number of workers that the system can support for parallel queries.
|
|
2534
|
+
* Sets the maximum number of workers that the system can support for parallel queries. The default is `8` (upstream default).
|
|
2467
2535
|
*/
|
|
2468
2536
|
maxParallelWorkers: number;
|
|
2469
2537
|
/**
|
|
2470
|
-
* Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
2538
|
+
* Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is `2` (upstream default).
|
|
2471
2539
|
*/
|
|
2472
2540
|
maxParallelWorkersPerGather: number;
|
|
2473
2541
|
/**
|
|
2474
|
-
* PostgreSQL maximum predicate locks per transaction.
|
|
2542
|
+
* PostgreSQL maximum predicate locks per transaction. The default is `64` (upstream default). Changing this parameter causes a service restart.
|
|
2475
2543
|
*/
|
|
2476
2544
|
maxPredLocksPerTransaction: number;
|
|
2477
2545
|
/**
|
|
2478
|
-
* PostgreSQL maximum prepared transactions.
|
|
2546
|
+
* PostgreSQL maximum prepared transactions. The default is `0`. Changing this parameter causes a service restart.
|
|
2479
2547
|
*/
|
|
2480
2548
|
maxPreparedTransactions: number;
|
|
2481
2549
|
/**
|
|
2482
|
-
* PostgreSQL maximum replication slots.
|
|
2550
|
+
* PostgreSQL maximum replication slots. The default is `20`. Changing this parameter causes a service restart.
|
|
2483
2551
|
*/
|
|
2484
2552
|
maxReplicationSlots: number;
|
|
2485
2553
|
/**
|
|
2486
|
-
* PostgreSQL maximum WAL size (MB) reserved for replication slots.
|
|
2554
|
+
* 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). walKeepSize minimum WAL size setting takes precedence over this.
|
|
2487
2555
|
*/
|
|
2488
2556
|
maxSlotWalKeepSize: number;
|
|
2489
2557
|
/**
|
|
2490
|
-
* Maximum depth of the stack in bytes.
|
|
2558
|
+
* Maximum depth of the stack in bytes. The default is `2097152` (upstream default).
|
|
2491
2559
|
*/
|
|
2492
2560
|
maxStackDepth: number;
|
|
2493
2561
|
/**
|
|
2494
|
-
* Max standby archive delay in milliseconds.
|
|
2562
|
+
* Max standby archive delay in milliseconds. The default is `30000` (upstream default).
|
|
2495
2563
|
*/
|
|
2496
2564
|
maxStandbyArchiveDelay: number;
|
|
2497
2565
|
/**
|
|
2498
|
-
* Max standby streaming delay in milliseconds.
|
|
2566
|
+
* Max standby streaming delay in milliseconds. The default is `30000` (upstream default).
|
|
2499
2567
|
*/
|
|
2500
2568
|
maxStandbyStreamingDelay: number;
|
|
2501
2569
|
/**
|
|
2502
|
-
*
|
|
2570
|
+
* Maximum number of synchronization workers per subscription. The default is `2`.
|
|
2571
|
+
*/
|
|
2572
|
+
maxSyncWorkersPerSubscription: number;
|
|
2573
|
+
/**
|
|
2574
|
+
* PostgreSQL maximum WAL senders. The default is `20`. Changing this parameter causes a service restart.
|
|
2503
2575
|
*/
|
|
2504
2576
|
maxWalSenders: number;
|
|
2505
2577
|
/**
|
|
2506
|
-
* Sets the maximum number of background processes that the system can support.
|
|
2578
|
+
* Sets the maximum number of background processes that the system can support. The default is `8`. Changing this parameter causes a service restart.
|
|
2507
2579
|
*/
|
|
2508
2580
|
maxWorkerProcesses: number;
|
|
2509
2581
|
/**
|
|
@@ -2515,7 +2587,7 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2515
2587
|
*/
|
|
2516
2588
|
passwordEncryption: string;
|
|
2517
2589
|
/**
|
|
2518
|
-
* Sets the time interval to run pg_partman's scheduled tasks.
|
|
2590
|
+
* Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is `3600`.
|
|
2519
2591
|
*/
|
|
2520
2592
|
pgPartmanBgwInterval: number;
|
|
2521
2593
|
/**
|
|
@@ -2523,19 +2595,19 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2523
2595
|
*/
|
|
2524
2596
|
pgPartmanBgwRole: string;
|
|
2525
2597
|
/**
|
|
2526
|
-
* Enable pgStatMonitor extension if available for the current cluster. Enable the pgStatMonitor extension.
|
|
2598
|
+
* Enable pgStatMonitor extension if available for the current cluster. Enable the pgStatMonitor extension. Changing this parameter causes a service restart. When this extension is enabled, pgStatStatements results for utility commands are unreliable.
|
|
2527
2599
|
*/
|
|
2528
2600
|
pgStatMonitorEnable?: boolean;
|
|
2529
2601
|
/**
|
|
2530
|
-
* Enables or disables query plan monitoring.
|
|
2602
|
+
* Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
|
|
2531
2603
|
*/
|
|
2532
2604
|
pgStatMonitorPgsmEnableQueryPlan: boolean;
|
|
2533
2605
|
/**
|
|
2534
|
-
* Sets the maximum number of buckets.
|
|
2606
|
+
* Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
|
|
2535
2607
|
*/
|
|
2536
2608
|
pgStatMonitorPgsmMaxBuckets: number;
|
|
2537
2609
|
/**
|
|
2538
|
-
* 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
|
|
2610
|
+
* 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`.
|
|
2539
2611
|
*/
|
|
2540
2612
|
pgStatStatementsTrack: string;
|
|
2541
2613
|
/**
|
|
@@ -2559,7 +2631,7 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2559
2631
|
*/
|
|
2560
2632
|
serviceLog: boolean;
|
|
2561
2633
|
/**
|
|
2562
|
-
* 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 sharedBuffers configuration value.
|
|
2634
|
+
* 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 sharedBuffers configuration value. Changing this parameter causes a service restart.
|
|
2563
2635
|
*/
|
|
2564
2636
|
sharedBuffersPercentage: number;
|
|
2565
2637
|
/**
|
|
@@ -2579,11 +2651,11 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2579
2651
|
*/
|
|
2580
2652
|
timezone?: string;
|
|
2581
2653
|
/**
|
|
2582
|
-
* Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
2654
|
+
* Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart.
|
|
2583
2655
|
*/
|
|
2584
2656
|
trackActivityQuerySize: number;
|
|
2585
2657
|
/**
|
|
2586
|
-
* Record commit time of transactions.
|
|
2658
|
+
* Record commit time of transactions. Changing this parameter causes a service restart.
|
|
2587
2659
|
*/
|
|
2588
2660
|
trackCommitTimestamp: string;
|
|
2589
2661
|
/**
|
|
@@ -2591,7 +2663,7 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2591
2663
|
*/
|
|
2592
2664
|
trackFunctions: string;
|
|
2593
2665
|
/**
|
|
2594
|
-
* Enables timing of database I/O calls.
|
|
2666
|
+
* 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.
|
|
2595
2667
|
*/
|
|
2596
2668
|
trackIoTiming: string;
|
|
2597
2669
|
/**
|
|
@@ -2607,11 +2679,11 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2607
2679
|
*/
|
|
2608
2680
|
walSenderTimeout: number;
|
|
2609
2681
|
/**
|
|
2610
|
-
* WAL flush interval in milliseconds.
|
|
2682
|
+
* WAL flush interval in milliseconds. The default is `200`. Setting this parameter to a lower value may negatively impact performance.
|
|
2611
2683
|
*/
|
|
2612
2684
|
walWriterDelay: number;
|
|
2613
2685
|
/**
|
|
2614
|
-
* 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.
|
|
2686
|
+
* 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).
|
|
2615
2687
|
*/
|
|
2616
2688
|
workMem: number;
|
|
2617
2689
|
}
|
|
@@ -2761,7 +2833,7 @@ export interface ManagedDatabasePostgresqlPropertiesPglookout {
|
|
|
2761
2833
|
}
|
|
2762
2834
|
export interface ManagedDatabasePostgresqlPropertiesTimescaledb {
|
|
2763
2835
|
/**
|
|
2764
|
-
* 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.
|
|
2836
|
+
* 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.
|
|
2765
2837
|
*/
|
|
2766
2838
|
maxBackgroundWorkers: number;
|
|
2767
2839
|
}
|
|
@@ -3473,7 +3545,7 @@ export interface ServerTemplateBackupRule {
|
|
|
3473
3545
|
*/
|
|
3474
3546
|
retention: number;
|
|
3475
3547
|
/**
|
|
3476
|
-
* The time of day when the backup is created
|
|
3548
|
+
* The time of day (UTC) when the backup is created
|
|
3477
3549
|
*/
|
|
3478
3550
|
time: string;
|
|
3479
3551
|
}
|
|
@@ -3487,7 +3559,7 @@ export interface StorageBackupRule {
|
|
|
3487
3559
|
*/
|
|
3488
3560
|
retention: number;
|
|
3489
3561
|
/**
|
|
3490
|
-
* The time of day when the backup is created
|
|
3562
|
+
* The time of day (UTC) when the backup is created
|
|
3491
3563
|
*/
|
|
3492
3564
|
time: string;
|
|
3493
3565
|
}
|