@distilled.cloud/clickhouse-cloud 0.0.0 → 1.0.0-rc.22
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/LICENSE +201 -0
- package/README.md +134 -4
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +34 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +58 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +49 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/pagination.d.ts +10 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +19 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +35 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/api_keys.d.ts +175 -0
- package/lib/services/api_keys.d.ts.map +1 -0
- package/lib/services/api_keys.js +2 -0
- package/lib/services/api_keys.js.map +1 -0
- package/lib/services/backup.d.ts +117 -0
- package/lib/services/backup.d.ts.map +1 -0
- package/lib/services/backup.js +2 -0
- package/lib/services/backup.js.map +1 -0
- package/lib/services/billing.d.ts +69 -0
- package/lib/services/billing.d.ts.map +1 -0
- package/lib/services/billing.js +2 -0
- package/lib/services/billing.js.map +1 -0
- package/lib/services/click_pipes.d.ts +1637 -0
- package/lib/services/click_pipes.d.ts.map +1 -0
- package/lib/services/click_pipes.js +31 -0
- package/lib/services/click_pipes.js.map +1 -0
- package/lib/services/index.d.ts +14 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +13 -0
- package/lib/services/organization.d.ts +336 -0
- package/lib/services/organization.d.ts.map +1 -0
- package/lib/services/organization.js +2 -0
- package/lib/services/organization.js.map +1 -0
- package/lib/services/postgres.d.ts +726 -0
- package/lib/services/postgres.d.ts.map +1 -0
- package/lib/services/postgres.js +31 -0
- package/lib/services/postgres.js.map +1 -0
- package/lib/services/prometheus.d.ts +71 -0
- package/lib/services/prometheus.d.ts.map +1 -0
- package/lib/services/prometheus.js +2 -0
- package/lib/services/prometheus.js.map +1 -0
- package/lib/services/query_api_endpoints.d.ts +189 -0
- package/lib/services/query_api_endpoints.d.ts.map +1 -0
- package/lib/services/query_api_endpoints.js +2 -0
- package/lib/services/query_api_endpoints.js.map +1 -0
- package/lib/services/role_management.d.ts +159 -0
- package/lib/services/role_management.d.ts.map +1 -0
- package/lib/services/role_management.js +2 -0
- package/lib/services/role_management.js.map +1 -0
- package/lib/services/saved_queries.d.ts +129 -0
- package/lib/services/saved_queries.d.ts.map +1 -0
- package/lib/services/saved_queries.js +2 -0
- package/lib/services/saved_queries.js.map +1 -0
- package/lib/services/service.d.ts +886 -0
- package/lib/services/service.d.ts.map +1 -0
- package/lib/services/service.js +41 -0
- package/lib/services/service.js.map +1 -0
- package/lib/services/udf.d.ts +373 -0
- package/lib/services/udf.d.ts.map +1 -0
- package/lib/services/udf.js +24 -0
- package/lib/services/udf.js.map +1 -0
- package/lib/services/user_management.d.ts +150 -0
- package/lib/services/user_management.d.ts.map +1 -0
- package/lib/services/user_management.js +2 -0
- package/lib/services/user_management.js.map +1 -0
- package/lib/services.lazy/api_keys.js +1 -0
- package/lib/services.lazy/backup.js +1 -0
- package/lib/services.lazy/billing.js +1 -0
- package/lib/services.lazy/click_pipes.js +3 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/organization.js +1 -0
- package/lib/services.lazy/postgres.js +4 -0
- package/lib/services.lazy/prometheus.js +1 -0
- package/lib/services.lazy/query_api_endpoints.js +1 -0
- package/lib/services.lazy/role_management.js +1 -0
- package/lib/services.lazy/saved_queries.js +1 -0
- package/lib/services.lazy/service.js +4 -0
- package/lib/services.lazy/udf.js +3 -0
- package/lib/services.lazy/user_management.js +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/lib/unstable-services/backup.d.ts +165 -0
- package/lib/unstable-services/backup.d.ts.map +1 -0
- package/lib/unstable-services/backup.js +2 -0
- package/lib/unstable-services/backup.js.map +1 -0
- package/lib/unstable-services/billing.d.ts +84 -0
- package/lib/unstable-services/billing.d.ts.map +1 -0
- package/lib/unstable-services/billing.js +2 -0
- package/lib/unstable-services/billing.js.map +1 -0
- package/lib/unstable-services/click_pipes.d.ts +324 -0
- package/lib/unstable-services/click_pipes.d.ts.map +1 -0
- package/lib/unstable-services/click_pipes.js +2 -0
- package/lib/unstable-services/click_pipes.js.map +1 -0
- package/lib/unstable-services/click_stack.d.ts +3538 -0
- package/lib/unstable-services/click_stack.d.ts.map +1 -0
- package/lib/unstable-services/click_stack.js +60 -0
- package/lib/unstable-services/click_stack.js.map +1 -0
- package/lib/unstable-services/index.d.ts +11 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +10 -0
- package/lib/unstable-services/notifications.d.ts +166 -0
- package/lib/unstable-services/notifications.d.ts.map +1 -0
- package/lib/unstable-services/notifications.js +2 -0
- package/lib/unstable-services/notifications.js.map +1 -0
- package/lib/unstable-services/organization.d.ts +403 -0
- package/lib/unstable-services/organization.d.ts.map +1 -0
- package/lib/unstable-services/organization.js +26 -0
- package/lib/unstable-services/organization.js.map +1 -0
- package/lib/unstable-services/postgres.d.ts +415 -0
- package/lib/unstable-services/postgres.d.ts.map +1 -0
- package/lib/unstable-services/postgres.js +2 -0
- package/lib/unstable-services/postgres.js.map +1 -0
- package/lib/unstable-services/service.d.ts +244 -0
- package/lib/unstable-services/service.d.ts.map +1 -0
- package/lib/unstable-services/service.js +2 -0
- package/lib/unstable-services/service.js.map +1 -0
- package/lib/unstable-services/snapshot.d.ts +146 -0
- package/lib/unstable-services/snapshot.d.ts.map +1 -0
- package/lib/unstable-services/snapshot.js +2 -0
- package/lib/unstable-services/snapshot.js.map +1 -0
- package/lib/unstable-services/user_management.d.ts +41 -0
- package/lib/unstable-services/user_management.d.ts.map +1 -0
- package/lib/unstable-services/user_management.js +2 -0
- package/lib/unstable-services/user_management.js.map +1 -0
- package/lib/unstable-services.lazy/backup.js +1 -0
- package/lib/unstable-services.lazy/billing.js +1 -0
- package/lib/unstable-services.lazy/click_pipes.js +1 -0
- package/lib/unstable-services.lazy/click_stack.js +4 -0
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/unstable-services.lazy/notifications.js +1 -0
- package/lib/unstable-services.lazy/organization.js +4 -0
- package/lib/unstable-services.lazy/postgres.js +1 -0
- package/lib/unstable-services.lazy/service.js +1 -0
- package/lib/unstable-services.lazy/snapshot.js +1 -0
- package/lib/unstable-services.lazy/user_management.js +1 -0
- package/package.json +89 -2
- package/src/credentials.ts +88 -0
- package/src/errors.ts +76 -0
- package/src/index.ts +53 -0
- package/src/pagination.ts +9 -0
- package/src/protocol.ts +76 -0
- package/src/retry.ts +53 -0
- package/src/services/api_keys.ts +466 -0
- package/src/services/backup.ts +347 -0
- package/src/services/billing.ts +170 -0
- package/src/services/click_pipes.ts +3483 -0
- package/src/services/index.ts +14 -0
- package/src/services/organization.ts +901 -0
- package/src/services/postgres.ts +1967 -0
- package/src/services/prometheus.ts +271 -0
- package/src/services/query_api_endpoints.ts +466 -0
- package/src/services/role_management.ts +436 -0
- package/src/services/saved_queries.ts +384 -0
- package/src/services/service.ts +2112 -0
- package/src/services/udf.ts +1019 -0
- package/src/services/user_management.ts +508 -0
- package/src/traits.ts +45 -0
- package/src/unstable-services/backup.ts +422 -0
- package/src/unstable-services/billing.ts +232 -0
- package/src/unstable-services/click_pipes.ts +702 -0
- package/src/unstable-services/click_stack.ts +7114 -0
- package/src/unstable-services/index.ts +11 -0
- package/src/unstable-services/notifications.ts +451 -0
- package/src/unstable-services/organization.ts +1107 -0
- package/src/unstable-services/postgres.ts +1061 -0
- package/src/unstable-services/service.ts +795 -0
- package/src/unstable-services/snapshot.ts +397 -0
- package/src/unstable-services/user_management.ts +127 -0
|
@@ -0,0 +1,726 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
3
|
+
import type * as Redacted from "effect/Redacted";
|
|
4
|
+
import { type ClickHouseCloudOpError, type ClickHouseCloudOpContext } from "../protocol.ts";
|
|
5
|
+
export type { ClickHouseCloudOpError, ClickHouseCloudOpContext };
|
|
6
|
+
declare const DeletionProtectionNotEnabled_base: S.TaggedErrorClass<"DeletionProtectionNotEnabled", {
|
|
7
|
+
readonly message: any;
|
|
8
|
+
readonly body: any;
|
|
9
|
+
readonly headers: any;
|
|
10
|
+
}> & (new (...args: any[]) => {
|
|
11
|
+
"@distilled.cloud/error/categories": {
|
|
12
|
+
BadRequestError: true;
|
|
13
|
+
};
|
|
14
|
+
});
|
|
15
|
+
/** The organization does not have the deletion protection feature, so a service cannot turn it on. Ask ClickHouse to enable it for the organization. */
|
|
16
|
+
export declare class DeletionProtectionNotEnabled extends /*@__PURE__*/ DeletionProtectionNotEnabled_base {
|
|
17
|
+
readonly body?: Error400Body | string;
|
|
18
|
+
}
|
|
19
|
+
/** Sets the default transaction isolation level for new transactions. */
|
|
20
|
+
export type PgConfigDefaultTransactionIsolation = "read committed" | "repeatable read" | "serializable";
|
|
21
|
+
/** Sets the minimum SSL/TLS protocol version allowed for client connections. */
|
|
22
|
+
export type PgConfigSslMinProtocolVersion = "TLSv1" | "TLSv1.1" | "TLSv1.2" | "TLSv1.3";
|
|
23
|
+
/** Sets the default compression method for compressible values stored out of line (TOAST). */
|
|
24
|
+
export type PgConfigDefaultToastCompression = "pglz" | "lz4";
|
|
25
|
+
/** Enables the planner's use of parallel hash plans. */
|
|
26
|
+
export type PgConfigEnableParallelHash = "on" | "off";
|
|
27
|
+
/** Selects the method used to perform asynchronous I/O. Postgres 18 and later. */
|
|
28
|
+
export type PgConfigIoMethod = "sync" | "worker" | "io_uring";
|
|
29
|
+
/** Compress full-page writes in WAL. Reduces I/O at the cost of CPU. Options vary by PostgreSQL version. */
|
|
30
|
+
export type PgConfigWalCompression = "off" | "on" | "lz4" | "zstd";
|
|
31
|
+
/** Logs a message when a session waits longer than deadlock_timeout to acquire a lock. */
|
|
32
|
+
export type PgConfigLogLockWaits = "on" | "off";
|
|
33
|
+
/** Postgres [runtime configuration](https://www.postgresql.org/docs/current/runtime-config.html) configuration. */
|
|
34
|
+
export interface PgConfig {
|
|
35
|
+
/** Sets the maximum number of concurrent connections to the database server. */
|
|
36
|
+
max_connections?: unknown | undefined;
|
|
37
|
+
/** Sets the default transaction isolation level for new transactions. */
|
|
38
|
+
default_transaction_isolation?: PgConfigDefaultTransactionIsolation | (string & {}) | undefined;
|
|
39
|
+
/** Sets the minimum SSL/TLS protocol version allowed for client connections. */
|
|
40
|
+
ssl_min_protocol_version?: PgConfigSslMinProtocolVersion | (string & {}) | undefined;
|
|
41
|
+
/** Sets the default compression method for compressible values stored out of line (TOAST). */
|
|
42
|
+
default_toast_compression?: PgConfigDefaultToastCompression | (string & {}) | undefined;
|
|
43
|
+
/** Sets the maximum memory to be used for maintenance operations. */
|
|
44
|
+
maintenance_work_mem?: unknown | undefined;
|
|
45
|
+
/** Sets the amount of memory Postgres will use for internal operations like sorting and hashing as part of executing a query. */
|
|
46
|
+
work_mem?: unknown | undefined;
|
|
47
|
+
/** Sets the planner's assumption about the total size of data caches. */
|
|
48
|
+
effective_cache_size?: unknown | undefined;
|
|
49
|
+
/** Sets the planner's estimate of the cost of a non-sequentially-fetched disk page. Lower values (1.1-1.5) are better for SSDs. */
|
|
50
|
+
random_page_cost?: unknown | undefined;
|
|
51
|
+
/** Number of concurrent disk I/O operations the planner expects. Higher values (100-200) benefit SSDs. */
|
|
52
|
+
effective_io_concurrency?: unknown | undefined;
|
|
53
|
+
/** Maximum number of background processes the system can support. Includes parallel query workers, logical replication, and more. */
|
|
54
|
+
max_worker_processes?: unknown | undefined;
|
|
55
|
+
/** Maximum number of workers that can be used for parallel operations. Cannot exceed max_worker_processes. */
|
|
56
|
+
max_parallel_workers?: unknown | undefined;
|
|
57
|
+
/** Maximum number of parallel workers per executor node for parallel queries. Use 0 to disable parallel queries. */
|
|
58
|
+
max_parallel_workers_per_gather?: unknown | undefined;
|
|
59
|
+
/** Maximum number of parallel workers for maintenance operations like CREATE INDEX and VACUUM. */
|
|
60
|
+
max_parallel_maintenance_workers?: unknown | undefined;
|
|
61
|
+
/** Percent of VM memory reserved for the shared_memory, from 25% to 75%. shared_buffers sized to fit in it. Limited to 50% on VMs with memory less or equal 16GB */
|
|
62
|
+
shared_memory_percent?: unknown | undefined;
|
|
63
|
+
/** Sets the maximum memory each session uses for temporary table buffers. */
|
|
64
|
+
temp_buffers?: unknown | undefined;
|
|
65
|
+
/** Multiple of work_mem that hash-based operations may use. */
|
|
66
|
+
hash_mem_multiplier?: unknown | undefined;
|
|
67
|
+
/** Enables the planner's use of parallel hash plans. */
|
|
68
|
+
enable_parallel_hash?: PgConfigEnableParallelHash | (string & {}) | undefined;
|
|
69
|
+
/** Number of concurrent disk I/O operations used for maintenance work such as vacuum. */
|
|
70
|
+
maintenance_io_concurrency?: unknown | undefined;
|
|
71
|
+
/** Selects the method used to perform asynchronous I/O. Postgres 18 and later. */
|
|
72
|
+
io_method?: PgConfigIoMethod | (string & {}) | undefined;
|
|
73
|
+
/** Number of I/O worker processes used when io_method is worker. Postgres 18 only. */
|
|
74
|
+
io_workers?: unknown | undefined;
|
|
75
|
+
/** Minimum number of I/O worker processes kept running when io_method is worker. Postgres 19 and later. */
|
|
76
|
+
io_min_workers?: unknown | undefined;
|
|
77
|
+
/** Maximum number of I/O worker processes started when io_method is worker. Postgres 19 and later. */
|
|
78
|
+
io_max_workers?: unknown | undefined;
|
|
79
|
+
/** Sleep time between background writer activity rounds. */
|
|
80
|
+
bgwriter_delay?: unknown | undefined;
|
|
81
|
+
/** Amount of data written by the background writer after which the OS is asked to flush it to disk. */
|
|
82
|
+
bgwriter_flush_after?: unknown | undefined;
|
|
83
|
+
/** Maximum number of buffers the background writer writes per round. */
|
|
84
|
+
bgwriter_lru_maxpages?: unknown | undefined;
|
|
85
|
+
/** Multiple of the average recent buffer demand that the background writer cleans per round. */
|
|
86
|
+
bgwriter_lru_multiplier?: unknown | undefined;
|
|
87
|
+
/** Abort any statement that runs longer than the specified time. Use 0 to disable. */
|
|
88
|
+
statement_timeout?: unknown | undefined;
|
|
89
|
+
/** Abort any statement that waits longer than the specified time while attempting to acquire a lock. Use 0 to disable. */
|
|
90
|
+
lock_timeout?: unknown | undefined;
|
|
91
|
+
/** Terminate any session that has been idle for longer than the specified time. Use 0 to disable. */
|
|
92
|
+
idle_session_timeout?: unknown | undefined;
|
|
93
|
+
/** Terminate any session that has been idle within an open transaction for longer than the specified time. Use 0 to disable. */
|
|
94
|
+
idle_in_transaction_session_timeout?: unknown | undefined;
|
|
95
|
+
/** Terminate any statement that takes more than the specified time, even while active. Use 0 to disable. */
|
|
96
|
+
transaction_timeout?: unknown | undefined;
|
|
97
|
+
/** Terminate replication connections that are inactive for longer than this time. Use 0 to disable. */
|
|
98
|
+
wal_sender_timeout?: unknown | undefined;
|
|
99
|
+
/** Minimum size of past WAL files kept in pg_wal for standby servers. Use 0 to disable. */
|
|
100
|
+
wal_keep_size?: unknown | undefined;
|
|
101
|
+
/** Minimum size to shrink the WAL to. WAL files are recycled rather than removed when below this size. */
|
|
102
|
+
min_wal_size?: unknown | undefined;
|
|
103
|
+
/** Maximum size WAL can grow between checkpoints. Larger values improve write performance but increase crash recovery time. */
|
|
104
|
+
max_wal_size?: unknown | undefined;
|
|
105
|
+
/** Sets the maximum time between automatic WAL checkpoints. */
|
|
106
|
+
checkpoint_timeout?: unknown | undefined;
|
|
107
|
+
/** Specifies the maximum size of WAL files that replication slots are allowed to retain. Use -1 for unlimited. */
|
|
108
|
+
max_slot_wal_keep_size?: unknown | undefined;
|
|
109
|
+
/** Compress full-page writes in WAL. Reduces I/O at the cost of CPU. Options vary by PostgreSQL version. */
|
|
110
|
+
wal_compression?: PgConfigWalCompression | (string & {}) | undefined;
|
|
111
|
+
/** Sets the number of disk-page buffers in shared memory for WAL. A number without a unit is in 8 kB pages. */
|
|
112
|
+
wal_buffers?: unknown | undefined;
|
|
113
|
+
/** Maximum number of replication slots. Standbys and logical replication each use slots. */
|
|
114
|
+
max_replication_slots?: unknown | undefined;
|
|
115
|
+
/** Maximum number of simultaneously running WAL sender processes. */
|
|
116
|
+
max_wal_senders?: unknown | undefined;
|
|
117
|
+
/** Maximum number of logical replication workers for subscriptions on this server. */
|
|
118
|
+
max_logical_replication_workers?: unknown | undefined;
|
|
119
|
+
/** Replication slots reserved for REPACK CONCURRENTLY, separate from max_replication_slots. Postgres 19 and later. */
|
|
120
|
+
max_repack_replication_slots?: unknown | undefined;
|
|
121
|
+
/** Maximum number of table synchronization workers per subscription. */
|
|
122
|
+
max_sync_workers_per_subscription?: unknown | undefined;
|
|
123
|
+
/** Maximum memory used for logical decoding before changes spill to disk. */
|
|
124
|
+
logical_decoding_work_mem?: unknown | undefined;
|
|
125
|
+
/** Maximum number of autovacuum worker processes that can run at the same time. Workers share a single cost-limit budget, so raising this alone may not speed up vacuuming. */
|
|
126
|
+
autovacuum_max_workers?: unknown | undefined;
|
|
127
|
+
/** Maximum number of parallel workers a single autovacuum worker can use. 0 (the default) turns parallel autovacuum off. Postgres 19 and later. */
|
|
128
|
+
autovacuum_max_parallel_workers?: unknown | undefined;
|
|
129
|
+
/** Minimum delay between autovacuum runs. Lower values make autovacuum check for work more frequently. */
|
|
130
|
+
autovacuum_naptime?: unknown | undefined;
|
|
131
|
+
/** Maximum memory each autovacuum worker uses to track dead tuples. Higher values reduce repeated index-vacuum passes on large tables. Use -1 to fall back to maintenance_work_mem. */
|
|
132
|
+
autovacuum_work_mem?: unknown | undefined;
|
|
133
|
+
/** Fraction of a table's rows that must change before autovacuum runs. Lower values vacuum large tables more frequently. */
|
|
134
|
+
autovacuum_vacuum_scale_factor?: unknown | undefined;
|
|
135
|
+
/** Fraction of a table's rows that must change before autovacuum runs ANALYZE to refresh planner statistics. */
|
|
136
|
+
autovacuum_analyze_scale_factor?: unknown | undefined;
|
|
137
|
+
/** Fraction of a table's rows that must be inserted before autovacuum runs. Helps vacuum insert-heavy, rarely-updated tables. */
|
|
138
|
+
autovacuum_vacuum_insert_scale_factor?: unknown | undefined;
|
|
139
|
+
/** Minimum number of tuple updates or deletes prior to vacuum. */
|
|
140
|
+
autovacuum_vacuum_threshold?: unknown | undefined;
|
|
141
|
+
/** Minimum number of tuple inserts, updates, or deletes prior to analyze. */
|
|
142
|
+
autovacuum_analyze_threshold?: unknown | undefined;
|
|
143
|
+
/** Minimum number of tuple inserts prior to vacuum, or -1 to disable insert vacuums. */
|
|
144
|
+
autovacuum_vacuum_insert_threshold?: unknown | undefined;
|
|
145
|
+
/** Age at which to autovacuum a table to prevent transaction ID wraparound. */
|
|
146
|
+
autovacuum_freeze_max_age?: unknown | undefined;
|
|
147
|
+
/** Cost-accounting limit shared across all autovacuum workers before they pause. Use -1 to inherit vacuum_cost_limit. */
|
|
148
|
+
autovacuum_vacuum_cost_limit?: unknown | undefined;
|
|
149
|
+
/** Time autovacuum sleeps when the cost limit is reached. Lower values speed up vacuuming at the cost of more I/O. */
|
|
150
|
+
autovacuum_vacuum_cost_delay?: unknown | undefined;
|
|
151
|
+
/** Time in milliseconds a manual VACUUM sleeps when its cost limit is exceeded. 0 disables cost-based delay. */
|
|
152
|
+
vacuum_cost_delay?: unknown | undefined;
|
|
153
|
+
/** Logs statements that run at least this many milliseconds. 0 logs all statements; -1 disables. */
|
|
154
|
+
log_min_duration_statement?: unknown | undefined;
|
|
155
|
+
/** Logs temporary files of at least this size in kilobytes. 0 logs all temporary files; -1 disables. */
|
|
156
|
+
log_temp_files?: unknown | undefined;
|
|
157
|
+
/** Logs a message when a session waits longer than deadlock_timeout to acquire a lock. */
|
|
158
|
+
log_lock_waits?: PgConfigLogLockWaits | (string & {}) | undefined;
|
|
159
|
+
/** Maximum bytes of each bind parameter value logged with statements. 0 disables; -1 logs values in full. */
|
|
160
|
+
log_parameter_max_length?: unknown | undefined;
|
|
161
|
+
/** Bytes reserved to store the text of the currently running command of each session, shown in pg_stat_activity. */
|
|
162
|
+
track_activity_query_size?: unknown | undefined;
|
|
163
|
+
}
|
|
164
|
+
/** PgBouncer [runtime configuration](https://www.pgbouncer.org/config.html) configuration. */
|
|
165
|
+
export type PgBouncerConfig = {
|
|
166
|
+
[key: string]: string | undefined;
|
|
167
|
+
};
|
|
168
|
+
export interface ResourceTagsV1 {
|
|
169
|
+
/** Tag key. Must be alphanumeric with dashes, underscores and dots. */
|
|
170
|
+
key: string;
|
|
171
|
+
/** Tag value. Must be alphanumeric with dashes, underscores and dots. */
|
|
172
|
+
value?: string | undefined;
|
|
173
|
+
}
|
|
174
|
+
/** Tags associated with the Postgres service. Tag keys starting with "chc_" are reserved for internal use. */
|
|
175
|
+
export type PgTags = Array<ResourceTagsV1>;
|
|
176
|
+
export interface CreatePostgresServiceReadReplicaRequest {
|
|
177
|
+
/** ID of the organization that owns the Postgres service. */
|
|
178
|
+
organizationId: string;
|
|
179
|
+
/** ID of the requested Postgres service. */
|
|
180
|
+
postgresId: string;
|
|
181
|
+
name: string;
|
|
182
|
+
pgConfig?: PgConfig | undefined;
|
|
183
|
+
pgBouncerConfig?: PgBouncerConfig | undefined;
|
|
184
|
+
tags?: PgTags | undefined;
|
|
185
|
+
}
|
|
186
|
+
/** The cloud provider for a Postgres service. */
|
|
187
|
+
export type PgProvider = "aws" | "gcp";
|
|
188
|
+
export type PgVersion = "19" | "18" | "17";
|
|
189
|
+
/** The VM size for a Postgres service. */
|
|
190
|
+
export type PgSize = "c6gd.large" | "c6gd.xlarge" | "c6gd.2xlarge" | "c6gd.4xlarge" | "c6gd.8xlarge" | "c6gd.16xlarge" | "i7i.large" | "i7i.xlarge" | "i7i.2xlarge" | "i7i.4xlarge" | "i7i.8xlarge" | "i7i.12xlarge" | "i7i.16xlarge" | "i7i.24xlarge" | "i7ie.large" | "i7ie.xlarge" | "i7ie.2xlarge" | "i7ie.3xlarge" | "i7ie.6xlarge" | "i7ie.12xlarge" | "i7ie.18xlarge" | "i7ie.24xlarge" | "i8g.large" | "i8g.xlarge" | "i8g.2xlarge" | "i8g.4xlarge" | "i8g.8xlarge" | "i8g.16xlarge" | "i8g.24xlarge" | "i8ge.large" | "i8ge.xlarge" | "i8ge.2xlarge" | "i8ge.3xlarge" | "i8ge.6xlarge" | "i8ge.12xlarge" | "i8ge.18xlarge" | "i8ge.24xlarge" | "m6gd.large" | "m6gd.xlarge" | "m6gd.2xlarge" | "m6gd.4xlarge" | "m6gd.8xlarge" | "m6gd.16xlarge" | "m6id.large" | "m6id.xlarge" | "m6id.2xlarge" | "m6id.4xlarge" | "m6id.8xlarge" | "m6id.16xlarge" | "m8gd.large" | "m8gd.xlarge" | "m8gd.2xlarge" | "m8gd.4xlarge" | "m8gd.8xlarge" | "m8gd.16xlarge" | "r6gd.medium" | "r6gd.large" | "r6gd.xlarge" | "r6gd.2xlarge" | "r6gd.4xlarge" | "r6gd.8xlarge" | "r6gd.12xlarge" | "r6gd.16xlarge" | "r6id.large" | "r6id.xlarge" | "r6id.2xlarge" | "r6id.4xlarge" | "r6id.8xlarge" | "r6id.12xlarge" | "r6id.16xlarge" | "r6id.24xlarge" | "r6id.32xlarge" | "r8gd.medium" | "r8gd.large" | "r8gd.xlarge" | "r8gd.2xlarge" | "r8gd.4xlarge" | "r8gd.8xlarge" | "r8gd.12xlarge" | "r8gd.16xlarge" | "r8gd.24xlarge" | "r8gd.48xlarge" | "c4a-highmem-lssd-4" | "c4a-highmem-lssd-8" | "c4a-highmem-lssd-16" | "c4a-highmem-lssd-32" | "c4a-highmem-lssd-48" | "c4a-highmem-lssd-64" | "c4a-highmem-lssd-72" | "c4a-standard-lssd-4" | "c4a-standard-lssd-8" | "c4a-standard-lssd-16" | "c4a-standard-lssd-32" | "c4a-standard-lssd-48" | "c4a-standard-lssd-64" | "c4a-standard-lssd-72" | "c4-highmem-lssd-4" | "c4-highmem-lssd-8" | "c4-highmem-lssd-16" | "c4-highmem-lssd-24" | "c4-highmem-lssd-32" | "c4-highmem-lssd-48" | "c4-highmem-lssd-96" | "c4-highmem-lssd-144" | "c4-highmem-lssd-192" | "c4-highmem-lssd-288" | "c4-standard-lssd-4" | "c4-standard-lssd-8" | "c4-standard-lssd-16" | "c4-standard-lssd-24" | "c4-standard-lssd-32" | "c4-standard-lssd-48" | "c4-standard-lssd-96" | "c4-standard-lssd-144" | "c4-standard-lssd-192" | "c4-standard-lssd-288" | "c4d-highmem-lssd-8" | "c4d-highmem-lssd-16" | "c4d-highmem-lssd-32" | "c4d-highmem-lssd-48" | "c4d-highmem-lssd-64" | "c4d-highmem-lssd-96" | "c4d-highmem-lssd-192" | "c4d-highmem-lssd-384" | "c4d-standard-lssd-8" | "c4d-standard-lssd-16" | "c4d-standard-lssd-32" | "c4d-standard-lssd-48" | "c4d-standard-lssd-64" | "c4d-standard-lssd-96" | "c4d-standard-lssd-192" | "c4d-standard-lssd-384" | "c3-standard-lssd-4" | "c3-standard-lssd-8" | "c3-standard-lssd-22" | "c3-standard-lssd-44" | "c3-standard-lssd-88" | "c3-standard-lssd-176" | "c3d-highmem-lssd-8" | "c3d-highmem-lssd-16" | "c3d-highmem-lssd-30" | "c3d-highmem-lssd-60" | "c3d-highmem-lssd-90" | "c3d-highmem-lssd-180" | "c3d-highmem-lssd-360" | "c3d-standard-lssd-8" | "c3d-standard-lssd-16" | "c3d-standard-lssd-30" | "c3d-standard-lssd-60" | "c3d-standard-lssd-90" | "c3d-standard-lssd-180" | "c3d-standard-lssd-360" | "z3-highmem-highlssd-8" | "z3-highmem-highlssd-16" | "z3-highmem-highlssd-22" | "z3-highmem-highlssd-32" | "z3-highmem-highlssd-44" | "z3-highmem-highlssd-88" | "z3-highmem-standardlssd-14" | "z3-highmem-standardlssd-22" | "z3-highmem-standardlssd-44" | "z3-highmem-standardlssd-88" | "z3-highmem-standardlssd-176" | "n2-highmem-2xlssd-4" | "n2-highmem-2xlssd-8" | "n2-highmem-2xlssd-16" | "n2-highmem-2xlssd-32" | "n2-highmem-2xlssd-48" | "n2-highmem-2xlssd-64" | "n2-highmem-2xlssd-96" | "n2-standard-2xlssd-4" | "n2-standard-2xlssd-8" | "n2-standard-2xlssd-16" | "n2-standard-2xlssd-32" | "n2-standard-2xlssd-48" | "n2-standard-2xlssd-64" | "n2-standard-2xlssd-96" | "n2-highmem-4xlssd-2" | "n2-highmem-4xlssd-4" | "n2-highmem-4xlssd-8" | "n2-highmem-4xlssd-16" | "n2-highmem-4xlssd-32" | "n2-highmem-4xlssd-48" | "n2-highmem-8xlssd-2" | "n2-highmem-8xlssd-4" | "n2-highmem-8xlssd-8" | "n2-highmem-8xlssd-16" | "n2-highmem-8xlssd-32" | "n2-highmem-16xlssd-2" | "n2-highmem-16xlssd-4" | "n2-highmem-16xlssd-8" | "n2-highmem-16xlssd-16";
|
|
191
|
+
/** Type of high availability: "none" for no replication, "async" for asynchronous replication to a single standby, and "sync" for synchronous replication to the number of standbys in `standbyCount` (two by default). */
|
|
192
|
+
export type PgHaType = "none" | "async" | "sync";
|
|
193
|
+
/** Number of hot standby instances. Accepted values and defaults depend on `haType`: - "none": 0 (default) - "async": 1 (default) - "sync": 1, or 2 (default) When `haType` is updated without `standbyCount`, the default for the new `haType` applies. */
|
|
194
|
+
export type PgStandbyCount = 0 | 1 | 2;
|
|
195
|
+
export interface PostgresIpAccessListEntry {
|
|
196
|
+
/** Rule ID returned by the service. Include it when editing an existing rule; omit it when creating a rule. */
|
|
197
|
+
id?: string | undefined;
|
|
198
|
+
/** IPv4 address or CIDR allowed to connect. Returned as a canonical CIDR. */
|
|
199
|
+
source: string;
|
|
200
|
+
/** Port or inclusive range, from 1 to 65535. Use "5432" for Postgres, "6432" for PgBouncer, or a range such as "5432..6432". */
|
|
201
|
+
portRange: string;
|
|
202
|
+
/** Optional description of the access list entry. */
|
|
203
|
+
description?: string | undefined;
|
|
204
|
+
}
|
|
205
|
+
/** IPv4 access rules shown in the console. IPv6 rules are not included. Returned when reading or configuring access; omitted from other service updates. */
|
|
206
|
+
export type PostgresServiceIpAccessListList = Array<PostgresIpAccessListEntry>;
|
|
207
|
+
/** Current state of the service */
|
|
208
|
+
export type PgStateProperty = "creating" | "restarting" | "running" | "replaying_wal" | "restoring_backup" | "finalizing_restore" | "unavailable" | "stopped" | "deleting";
|
|
209
|
+
export interface PostgresService {
|
|
210
|
+
name?: string | undefined;
|
|
211
|
+
provider?: PgProvider | undefined;
|
|
212
|
+
region?: string | undefined;
|
|
213
|
+
postgresVersion?: PgVersion | undefined;
|
|
214
|
+
size?: PgSize | undefined;
|
|
215
|
+
haType?: PgHaType | undefined;
|
|
216
|
+
standbyCount?: PgStandbyCount | undefined;
|
|
217
|
+
tags?: PgTags | undefined;
|
|
218
|
+
/** IPv4 access rules shown in the console. IPv6 rules are not included. Returned when reading or configuring access; omitted from other service updates. */
|
|
219
|
+
ipAccessList?: PostgresServiceIpAccessListList | undefined;
|
|
220
|
+
id: string;
|
|
221
|
+
storageSize?: number | undefined;
|
|
222
|
+
state?: PgStateProperty | undefined;
|
|
223
|
+
createdAt?: string | undefined;
|
|
224
|
+
isPrimary?: boolean | undefined;
|
|
225
|
+
/** Connection string to the Postgres service. Embeds the service password, so it is only returned when the service is created or its password is reset. Omitted from every other response when Postgres credential redaction is enabled for the organization. Not guaranteed to be present -- treat as optional. */
|
|
226
|
+
connectionString?: string | Redacted.Redacted<string> | undefined;
|
|
227
|
+
/** Username for the Postgres service */
|
|
228
|
+
username?: string | undefined;
|
|
229
|
+
/** Password for the Postgres service. Only returned when the service is created or its password is reset. Omitted from every other response when Postgres credential redaction is enabled for the organization. Not guaranteed to be present -- treat as optional. */
|
|
230
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
231
|
+
/** Hostname for the Postgres service */
|
|
232
|
+
hostname?: string | undefined;
|
|
233
|
+
deletionProtection?: boolean | undefined;
|
|
234
|
+
/** Earliest point in time the service can be restored to with the restore endpoint. ISO-8601. Only present for a primary service once its first backup has completed. */
|
|
235
|
+
earliestRestoreTime?: string | undefined;
|
|
236
|
+
}
|
|
237
|
+
export interface DeletePostgresServiceRequest {
|
|
238
|
+
/** ID of the organization that owns the Postgres service. */
|
|
239
|
+
organizationId: string;
|
|
240
|
+
/** ID of the requested Postgres service. */
|
|
241
|
+
postgresId: string;
|
|
242
|
+
}
|
|
243
|
+
export interface DeletePostgresServiceResponse {
|
|
244
|
+
/** HTTP status code. */
|
|
245
|
+
status?: number | undefined;
|
|
246
|
+
/** Unique id assigned to every request. UUIDv4 */
|
|
247
|
+
requestId?: string | undefined;
|
|
248
|
+
}
|
|
249
|
+
export interface GetPostgresServiceRequest {
|
|
250
|
+
/** ID of the organization that owns the Postgres service. */
|
|
251
|
+
organizationId: string;
|
|
252
|
+
/** ID of the requested Postgres service. */
|
|
253
|
+
postgresId: string;
|
|
254
|
+
}
|
|
255
|
+
export interface GetPostgresServiceCaCertificatesRequest {
|
|
256
|
+
/** ID of the organization that owns the Postgres service. */
|
|
257
|
+
organizationId: string;
|
|
258
|
+
/** ID of the requested Postgres service. */
|
|
259
|
+
postgresId: string;
|
|
260
|
+
}
|
|
261
|
+
export type GetPostgresServiceCaCertificatesResponse = string;
|
|
262
|
+
export interface GetPostgresServiceConfigRequest {
|
|
263
|
+
/** ID of the organization that owns the Postgres service. */
|
|
264
|
+
organizationId: string;
|
|
265
|
+
/** ID of the requested Postgres service. */
|
|
266
|
+
postgresId: string;
|
|
267
|
+
}
|
|
268
|
+
export interface PostgresInstanceConfig {
|
|
269
|
+
pgConfig: PgConfig;
|
|
270
|
+
pgBouncerConfig: PgBouncerConfig;
|
|
271
|
+
}
|
|
272
|
+
export interface GetPostgresServiceMetricsRequest {
|
|
273
|
+
/** ID of the organization that owns the Postgres service. */
|
|
274
|
+
organizationId: string;
|
|
275
|
+
/** ID of the Postgres service. */
|
|
276
|
+
postgresId: string;
|
|
277
|
+
/** Inclusive start of the time window (RFC 3339 date-time). */
|
|
278
|
+
from_date: string;
|
|
279
|
+
/** Exclusive end of the time window (RFC 3339 date-time). */
|
|
280
|
+
to_date: string;
|
|
281
|
+
/** Time-series bucket size in seconds. When omitted, a bucket size is derived from the requested window. Requests are capped at 250 data points. */
|
|
282
|
+
bucket_size_seconds?: number | undefined;
|
|
283
|
+
}
|
|
284
|
+
export interface PostgresMetricDataPoint {
|
|
285
|
+
/** Bucket start time as a Unix timestamp in seconds. */
|
|
286
|
+
timestamp: number;
|
|
287
|
+
/** Metric value for the bucket. */
|
|
288
|
+
value: number;
|
|
289
|
+
}
|
|
290
|
+
/** Time-ordered data points, one per bucket. */
|
|
291
|
+
export type PostgresMetricSeriesDataPointsList = Array<PostgresMetricDataPoint>;
|
|
292
|
+
export interface PostgresMetricSeries {
|
|
293
|
+
/** Distinguishing label for this series within the metric (for example a CPU mode, a database name, a wait event such as "Lock:relation", or "Reads"). */
|
|
294
|
+
label: string;
|
|
295
|
+
/** Time-ordered data points, one per bucket. */
|
|
296
|
+
dataPoints: PostgresMetricSeriesDataPointsList;
|
|
297
|
+
}
|
|
298
|
+
/** One series per label dimension of the metric. */
|
|
299
|
+
export type PostgresMetricSeriesList = Array<PostgresMetricSeries>;
|
|
300
|
+
export interface PostgresMetric {
|
|
301
|
+
/** Stable metric identifier (for example cpu_usage, connection_count, cache_hit_ratio, active_sessions_by_wait). */
|
|
302
|
+
key: string;
|
|
303
|
+
/** Human-readable metric name. */
|
|
304
|
+
name: string;
|
|
305
|
+
/** Unit of the metric values (for example %, IOPS, bytes/s, count). */
|
|
306
|
+
unit: string;
|
|
307
|
+
/** Human-readable description of what the metric measures. */
|
|
308
|
+
description: string;
|
|
309
|
+
/** One series per label dimension of the metric. */
|
|
310
|
+
series: PostgresMetricSeriesList;
|
|
311
|
+
}
|
|
312
|
+
/** Available metrics, each with its bucketed time series. */
|
|
313
|
+
export type PostgresMetricsMetricsList = Array<PostgresMetric>;
|
|
314
|
+
export interface PostgresMetrics {
|
|
315
|
+
/** Available metrics, each with its bucketed time series. */
|
|
316
|
+
metrics: PostgresMetricsMetricsList;
|
|
317
|
+
}
|
|
318
|
+
export interface GetPostgresSlowQueryPatternRequest {
|
|
319
|
+
/** ID of the organization that owns the Postgres service. */
|
|
320
|
+
organizationId: string;
|
|
321
|
+
/** ID of the requested Postgres service. */
|
|
322
|
+
postgresId: string;
|
|
323
|
+
/** Stable identifier for the query pattern. */
|
|
324
|
+
queryId: string;
|
|
325
|
+
/** Database name filter. */
|
|
326
|
+
db_name: string;
|
|
327
|
+
/** Database user filter. */
|
|
328
|
+
db_user: string;
|
|
329
|
+
/** Database operation filter (for example, SELECT, INSERT, UPDATE, DELETE, UTILITY). */
|
|
330
|
+
db_operation: string;
|
|
331
|
+
/** Application name filter. */
|
|
332
|
+
app?: string | undefined;
|
|
333
|
+
/** Timestamp of a specific execution (RFC 3339). */
|
|
334
|
+
timestamp?: string | undefined;
|
|
335
|
+
}
|
|
336
|
+
export interface PostgresSlowQueryPattern {
|
|
337
|
+
/** Stable identifier for the query pattern (normalized SQL). */
|
|
338
|
+
queryId: string;
|
|
339
|
+
/** Normalized query text with literals replaced by placeholders. */
|
|
340
|
+
queryText: string;
|
|
341
|
+
/** Database the query ran in. */
|
|
342
|
+
dbName: string;
|
|
343
|
+
/** Database user that executed the query. */
|
|
344
|
+
dbUser: string;
|
|
345
|
+
/** Top-level SQL operation type (for example, SELECT, INSERT, UPDATE, DELETE, UTILITY). */
|
|
346
|
+
dbOperation: string;
|
|
347
|
+
/** Value of the Postgres `application_name` for executions matching this pattern. */
|
|
348
|
+
app: string;
|
|
349
|
+
/** Number of times the pattern executed in the window. */
|
|
350
|
+
callCount: number;
|
|
351
|
+
/** Number of executions of the pattern that raised an error. */
|
|
352
|
+
errorCount: number;
|
|
353
|
+
/** Total execution time across all calls, in microseconds. */
|
|
354
|
+
totalDurationUs: number;
|
|
355
|
+
/** Average execution time per call, in microseconds. */
|
|
356
|
+
avgDurationUs: number;
|
|
357
|
+
/** Maximum execution time of any call, in microseconds. */
|
|
358
|
+
maxDurationUs: number;
|
|
359
|
+
/** 50th percentile execution time, in microseconds. */
|
|
360
|
+
p50DurationUs: number;
|
|
361
|
+
/** 95th percentile execution time, in microseconds. */
|
|
362
|
+
p95DurationUs: number;
|
|
363
|
+
/** 99th percentile execution time, in microseconds. */
|
|
364
|
+
p99DurationUs: number;
|
|
365
|
+
/** Total number of rows returned or affected across all calls. */
|
|
366
|
+
totalRows: number;
|
|
367
|
+
/** Total shared buffer blocks read from disk (cache misses) across all calls. */
|
|
368
|
+
totalSharedBlksRead: number;
|
|
369
|
+
/** Total shared buffer blocks hit (cache hits) across all calls. */
|
|
370
|
+
totalSharedBlksHit: number;
|
|
371
|
+
/** Total CPU time across all calls, in microseconds. */
|
|
372
|
+
totalCpuTimeUs: number;
|
|
373
|
+
/** Total WAL (write-ahead log) bytes generated across all calls. */
|
|
374
|
+
totalWalBytes: number;
|
|
375
|
+
}
|
|
376
|
+
export interface PostgresQueryExecution {
|
|
377
|
+
/** Execution timestamp (RFC 3339). */
|
|
378
|
+
timestamp: string;
|
|
379
|
+
/** Stable identifier for the query pattern. */
|
|
380
|
+
queryId: string;
|
|
381
|
+
/** Database the query ran in. */
|
|
382
|
+
dbName: string;
|
|
383
|
+
/** Database user that executed the query. */
|
|
384
|
+
dbUser: string;
|
|
385
|
+
/** Top-level SQL operation type. */
|
|
386
|
+
dbOperation: string;
|
|
387
|
+
/** Value of the Postgres `application_name` for this execution. */
|
|
388
|
+
app: string;
|
|
389
|
+
/** Normalized query text for this execution. */
|
|
390
|
+
queryText: string;
|
|
391
|
+
/** Postgres backend process ID that executed the query. */
|
|
392
|
+
pid: string;
|
|
393
|
+
/** Execution duration in microseconds. */
|
|
394
|
+
durationUs: number;
|
|
395
|
+
/** Rows returned or affected. */
|
|
396
|
+
rows: number;
|
|
397
|
+
/** Shared buffer blocks hit. */
|
|
398
|
+
sharedBlksHit: number;
|
|
399
|
+
/** Shared buffer blocks read from disk. */
|
|
400
|
+
sharedBlksRead: number;
|
|
401
|
+
/** Shared buffer blocks written. */
|
|
402
|
+
sharedBlksWritten: number;
|
|
403
|
+
/** Shared buffer blocks dirtied. */
|
|
404
|
+
sharedBlksDirtied: number;
|
|
405
|
+
/** Time spent reading shared blocks, in microseconds. */
|
|
406
|
+
sharedBlkReadTimeUs: number;
|
|
407
|
+
/** Time spent writing shared blocks, in microseconds. */
|
|
408
|
+
sharedBlkWriteTimeUs: number;
|
|
409
|
+
/** Local buffer blocks hit (temp tables). */
|
|
410
|
+
localBlksHit: number;
|
|
411
|
+
/** Local buffer blocks read (temp tables). */
|
|
412
|
+
localBlksRead: number;
|
|
413
|
+
/** Local buffer blocks written (temp tables). */
|
|
414
|
+
localBlksWritten: number;
|
|
415
|
+
/** Local buffer blocks dirtied (temp tables). */
|
|
416
|
+
localBlksDirtied: number;
|
|
417
|
+
/** Temp blocks read (spills to disk). */
|
|
418
|
+
tempBlksRead: number;
|
|
419
|
+
/** Temp blocks written (spills to disk). */
|
|
420
|
+
tempBlksWritten: number;
|
|
421
|
+
/** Time spent reading temp blocks, in microseconds. */
|
|
422
|
+
tempBlkReadTimeUs: number;
|
|
423
|
+
/** Time spent writing temp blocks, in microseconds. */
|
|
424
|
+
tempBlkWriteTimeUs: number;
|
|
425
|
+
/** Number of WAL records produced. */
|
|
426
|
+
walRecords: number;
|
|
427
|
+
/** Number of WAL bytes produced. */
|
|
428
|
+
walBytes: number;
|
|
429
|
+
/** Number of WAL full-page images produced. */
|
|
430
|
+
walFpi: number;
|
|
431
|
+
/** CPU time spent in user mode, in microseconds. */
|
|
432
|
+
cpuUserTimeUs: number;
|
|
433
|
+
/** CPU time spent in kernel mode, in microseconds. */
|
|
434
|
+
cpuSysTimeUs: number;
|
|
435
|
+
/** Number of JIT-compiled functions. */
|
|
436
|
+
jitFunctions: number;
|
|
437
|
+
/** JIT generation time, in microseconds. */
|
|
438
|
+
jitGenerationTimeUs: number;
|
|
439
|
+
/** JIT inlining time, in microseconds. */
|
|
440
|
+
jitInliningTimeUs: number;
|
|
441
|
+
/** JIT optimization time, in microseconds. */
|
|
442
|
+
jitOptimizationTimeUs: number;
|
|
443
|
+
/** JIT emission time, in microseconds. */
|
|
444
|
+
jitEmissionTimeUs: number;
|
|
445
|
+
/** JIT deform time, in microseconds. */
|
|
446
|
+
jitDeformTimeUs: number;
|
|
447
|
+
/** Parallel workers planned for this execution. */
|
|
448
|
+
parallelWorkersPlanned: number;
|
|
449
|
+
/** Parallel workers actually launched for this execution. */
|
|
450
|
+
parallelWorkersLaunched: number;
|
|
451
|
+
/** Error message if the execution raised an error. */
|
|
452
|
+
errMessage?: string | undefined;
|
|
453
|
+
/** Postgres SQLSTATE code if the execution raised an error. */
|
|
454
|
+
errSqlstate?: string | undefined;
|
|
455
|
+
/** Postgres error severity level if the execution raised an error. */
|
|
456
|
+
errElevel?: number | undefined;
|
|
457
|
+
/** Role of the server that executed the query (for example, primary or standby). */
|
|
458
|
+
serverRole: string;
|
|
459
|
+
/** OpenTelemetry trace ID associated with the execution. */
|
|
460
|
+
traceId?: string | undefined;
|
|
461
|
+
/** OpenTelemetry span ID associated with the execution. */
|
|
462
|
+
spanId?: string | undefined;
|
|
463
|
+
}
|
|
464
|
+
/** Recent individual executions matching the pattern. */
|
|
465
|
+
export type PostgresSlowQueryPatternDetailRecentExecutionsList = Array<PostgresQueryExecution>;
|
|
466
|
+
export interface PostgresSlowQueryPatternDetail {
|
|
467
|
+
aggregate?: PostgresSlowQueryPattern | undefined;
|
|
468
|
+
/** Recent individual executions matching the pattern. */
|
|
469
|
+
recentExecutions: PostgresSlowQueryPatternDetailRecentExecutionsList;
|
|
470
|
+
}
|
|
471
|
+
export type ListPostgresLogsRequestSeverity = "DEBUG" | "LOG" | "INFO" | "NOTICE" | "WARNING" | "ERROR" | "FATAL" | "PANIC";
|
|
472
|
+
export type ListPostgresLogsRequestSortOrder = "asc" | "desc";
|
|
473
|
+
export interface ListPostgresLogsRequest {
|
|
474
|
+
/** ID of the organization that owns the Postgres service. */
|
|
475
|
+
organizationId: string;
|
|
476
|
+
/** ID of the requested Postgres service. */
|
|
477
|
+
postgresId: string;
|
|
478
|
+
/** Inclusive start of the time window (RFC 3339 date-time). */
|
|
479
|
+
from_date: string;
|
|
480
|
+
/** Inclusive end of the time window (RFC 3339 date-time). */
|
|
481
|
+
to_date: string;
|
|
482
|
+
/** Case-sensitive substring the log body must contain. */
|
|
483
|
+
body_contains?: string | undefined;
|
|
484
|
+
/** Filter to log entries with this PostgreSQL severity. Case-sensitive; an empty value applies no filter. */
|
|
485
|
+
severity?: ListPostgresLogsRequestSeverity | (string & {}) | undefined;
|
|
486
|
+
/** Sort order. One of `asc` or `desc`. */
|
|
487
|
+
sort_order?: ListPostgresLogsRequestSortOrder | (string & {}) | undefined;
|
|
488
|
+
/** Maximum number of results to return. */
|
|
489
|
+
limit?: number | undefined;
|
|
490
|
+
/** Number of results to skip before returning. */
|
|
491
|
+
offset?: number | undefined;
|
|
492
|
+
}
|
|
493
|
+
export interface PostgresLogEntry {
|
|
494
|
+
/** Time the entry was logged (RFC 3339). */
|
|
495
|
+
timestamp: string;
|
|
496
|
+
/** PostgreSQL severity of the entry (for example, LOG, WARNING, ERROR, FATAL, PANIC). */
|
|
497
|
+
severity: string;
|
|
498
|
+
/** Raw log entry body as emitted by PostgreSQL. Structured bodies are returned as a JSON-encoded string. */
|
|
499
|
+
body: string;
|
|
500
|
+
}
|
|
501
|
+
export type ListPostgresLogsResponseBodyList = Array<PostgresLogEntry>;
|
|
502
|
+
export type ListPostgresLogsResponse = ListPostgresLogsResponseBodyList;
|
|
503
|
+
export interface ListPostgresServiceBackupsRequest {
|
|
504
|
+
/** ID of the organization that owns the Postgres service. */
|
|
505
|
+
organizationId: string;
|
|
506
|
+
/** ID of the Postgres service the backups were created from. */
|
|
507
|
+
postgresId: string;
|
|
508
|
+
/** Maximum number of results to return. */
|
|
509
|
+
limit?: number | undefined;
|
|
510
|
+
/** Opaque cursor from a previous response's `nextCursor`, marking where to resume the list. */
|
|
511
|
+
cursor?: string | undefined;
|
|
512
|
+
}
|
|
513
|
+
export interface PostgresBackup {
|
|
514
|
+
/** Identifier of the base backup. */
|
|
515
|
+
key: string;
|
|
516
|
+
/** Status of the backup. Only completed backups are listed, so this is always `ready`. */
|
|
517
|
+
status: string;
|
|
518
|
+
/** Time the backup finished. ISO-8601. This is not the earliest point a service can be restored to; use `earliestRestoreTime` on the Postgres service for that. */
|
|
519
|
+
lastModified: string;
|
|
520
|
+
}
|
|
521
|
+
export type ListPostgresServiceBackupsResponseResultList = Array<PostgresBackup>;
|
|
522
|
+
export interface ListPostgresServiceBackupsResponse {
|
|
523
|
+
/** HTTP status code. */
|
|
524
|
+
status?: number | undefined;
|
|
525
|
+
/** Unique id assigned to every request. UUIDv4 */
|
|
526
|
+
requestId?: string | undefined;
|
|
527
|
+
result: ListPostgresServiceBackupsResponseResultList;
|
|
528
|
+
/** Maximum number of results returned in this page. */
|
|
529
|
+
limit?: number | undefined;
|
|
530
|
+
/** Total number of results across all pages. It has only informative value, thus is not guaranteed and it is provided on a best-effort basis. Null if the total count is unknown. */
|
|
531
|
+
totalCount?: number | null | undefined;
|
|
532
|
+
/** Cursor for the next page, to be sent as the `cursor` query parameter. Null on the last page. */
|
|
533
|
+
nextCursor?: string | null | undefined;
|
|
534
|
+
}
|
|
535
|
+
export interface ListPostgresServicesRequest {
|
|
536
|
+
/** ID of the organization that owns the services. */
|
|
537
|
+
organizationId: string;
|
|
538
|
+
}
|
|
539
|
+
export interface PostgresServiceListItem {
|
|
540
|
+
name?: string | undefined;
|
|
541
|
+
provider?: PgProvider | undefined;
|
|
542
|
+
region?: string | undefined;
|
|
543
|
+
postgresVersion?: PgVersion | undefined;
|
|
544
|
+
size?: PgSize | undefined;
|
|
545
|
+
haType?: PgHaType | undefined;
|
|
546
|
+
standbyCount?: PgStandbyCount | undefined;
|
|
547
|
+
tags?: PgTags | undefined;
|
|
548
|
+
id?: string | undefined;
|
|
549
|
+
state?: PgStateProperty | undefined;
|
|
550
|
+
createdAt?: string | undefined;
|
|
551
|
+
isPrimary?: boolean | undefined;
|
|
552
|
+
deletionProtection?: boolean | undefined;
|
|
553
|
+
}
|
|
554
|
+
export type ListPostgresServicesResponseBodyList = Array<PostgresServiceListItem>;
|
|
555
|
+
export type ListPostgresServicesResponse = ListPostgresServicesResponseBodyList;
|
|
556
|
+
export type ListPostgresSlowQueryPatternsRequestSortBy = "total_duration" | "avg_duration" | "call_count" | "total_blks_read" | "total_cpu_time" | "error_count" | "max_duration" | "p50_duration" | "p95_duration" | "p99_duration" | "total_rows" | "total_shared_blks_hit" | "total_wal_bytes";
|
|
557
|
+
export type ListPostgresSlowQueryPatternsRequestSortOrder = "asc" | "desc";
|
|
558
|
+
export interface ListPostgresSlowQueryPatternsRequest {
|
|
559
|
+
/** ID of the organization that owns the Postgres service. */
|
|
560
|
+
organizationId: string;
|
|
561
|
+
/** ID of the requested Postgres service. */
|
|
562
|
+
postgresId: string;
|
|
563
|
+
/** Inclusive start of the time window (RFC 3339 date-time). */
|
|
564
|
+
from_date: string;
|
|
565
|
+
/** Exclusive end of the time window (RFC 3339 date-time). */
|
|
566
|
+
to_date: string;
|
|
567
|
+
/** Database name filter. */
|
|
568
|
+
db_name?: string | undefined;
|
|
569
|
+
/** Database user filter. */
|
|
570
|
+
db_user?: string | undefined;
|
|
571
|
+
/** Database operation filter (for example, SELECT, INSERT, UPDATE, DELETE, UTILITY). */
|
|
572
|
+
db_operation?: string | undefined;
|
|
573
|
+
/** Application name filter. */
|
|
574
|
+
app?: string | undefined;
|
|
575
|
+
/** Field to sort results by. */
|
|
576
|
+
sort_by?: ListPostgresSlowQueryPatternsRequestSortBy | (string & {}) | undefined;
|
|
577
|
+
/** Sort order. One of `asc` or `desc`. */
|
|
578
|
+
sort_order?: ListPostgresSlowQueryPatternsRequestSortOrder | (string & {}) | undefined;
|
|
579
|
+
/** Maximum number of results to return. */
|
|
580
|
+
limit?: number | undefined;
|
|
581
|
+
/** Number of results to skip before returning. */
|
|
582
|
+
offset?: number | undefined;
|
|
583
|
+
}
|
|
584
|
+
export type ListPostgresSlowQueryPatternsResponseBodyList = Array<PostgresSlowQueryPattern>;
|
|
585
|
+
export type ListPostgresSlowQueryPatternsResponse = ListPostgresSlowQueryPatternsResponseBodyList;
|
|
586
|
+
export interface ReplacePostgresServiceConfigRequest {
|
|
587
|
+
/** ID of the organization that owns the Postgres service. */
|
|
588
|
+
organizationId: string;
|
|
589
|
+
/** ID of the requested Postgres service. */
|
|
590
|
+
postgresId: string;
|
|
591
|
+
pgConfig: PgConfig;
|
|
592
|
+
pgBouncerConfig: PgBouncerConfig;
|
|
593
|
+
}
|
|
594
|
+
export interface PostgresInstanceUpdateConfigResponse {
|
|
595
|
+
pgConfig: PgConfig;
|
|
596
|
+
pgBouncerConfig: PgBouncerConfig;
|
|
597
|
+
/** Informational message about the configuration update, such as restart requirements. */
|
|
598
|
+
message?: string | undefined;
|
|
599
|
+
}
|
|
600
|
+
export interface RestorePostgresServiceRequest {
|
|
601
|
+
/** ID of the organization that owns the Postgres service. */
|
|
602
|
+
organizationId: string;
|
|
603
|
+
/** ID of the requested Postgres service. */
|
|
604
|
+
postgresId: string;
|
|
605
|
+
name: string;
|
|
606
|
+
restoreTarget: string;
|
|
607
|
+
pgConfig?: PgConfig | undefined;
|
|
608
|
+
pgBouncerConfig?: PgBouncerConfig | undefined;
|
|
609
|
+
tags?: PgTags | undefined;
|
|
610
|
+
}
|
|
611
|
+
/** Rules to create or edit after removals. Omit id to create a TCP rule, or include the returned id to edit an existing rule. Updates can partially succeed; read the current list before retrying. */
|
|
612
|
+
export type PostgresIpAccessListPatchAddList = Array<PostgresIpAccessListEntry>;
|
|
613
|
+
export interface PostgresIpAccessListRuleReference {
|
|
614
|
+
/** Rule ID returned by the service. */
|
|
615
|
+
id: string;
|
|
616
|
+
}
|
|
617
|
+
/** Rules to remove by their returned IDs before creating or editing rules. */
|
|
618
|
+
export type PostgresIpAccessListPatchRemoveList = Array<PostgresIpAccessListRuleReference>;
|
|
619
|
+
export interface PostgresIpAccessListPatch {
|
|
620
|
+
/** Rules to create or edit after removals. Omit id to create a TCP rule, or include the returned id to edit an existing rule. Updates can partially succeed; read the current list before retrying. */
|
|
621
|
+
add?: PostgresIpAccessListPatchAddList | undefined;
|
|
622
|
+
/** Rules to remove by their returned IDs before creating or editing rules. */
|
|
623
|
+
remove?: PostgresIpAccessListPatchRemoveList | undefined;
|
|
624
|
+
}
|
|
625
|
+
export interface UpdatePostgresServiceRequest {
|
|
626
|
+
/** ID of the organization that owns the Postgres service. */
|
|
627
|
+
organizationId: string;
|
|
628
|
+
/** ID of the requested Postgres service. */
|
|
629
|
+
postgresId: string;
|
|
630
|
+
ipAccessList?: PostgresIpAccessListPatch | undefined;
|
|
631
|
+
name?: string | undefined;
|
|
632
|
+
size?: PgSize | (string & {}) | undefined;
|
|
633
|
+
haType?: PgHaType | (string & {}) | undefined;
|
|
634
|
+
standbyCount?: PgStandbyCount | (number & {}) | undefined;
|
|
635
|
+
tags?: PgTags | undefined;
|
|
636
|
+
deletionProtection?: boolean | undefined;
|
|
637
|
+
}
|
|
638
|
+
export interface UpdatePostgresServiceConfigRequest {
|
|
639
|
+
/** ID of the organization that owns the Postgres service. */
|
|
640
|
+
organizationId: string;
|
|
641
|
+
/** ID of the requested Postgres service. */
|
|
642
|
+
postgresId: string;
|
|
643
|
+
pgConfig: PgConfig;
|
|
644
|
+
pgBouncerConfig: PgBouncerConfig;
|
|
645
|
+
}
|
|
646
|
+
export interface UpdatePostgresServicePasswordRequest {
|
|
647
|
+
/** ID of the organization that owns the Postgres service. */
|
|
648
|
+
organizationId: string;
|
|
649
|
+
/** ID of the requested Postgres service. */
|
|
650
|
+
postgresId: string;
|
|
651
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
652
|
+
}
|
|
653
|
+
export interface PostgresServicePasswordResource {
|
|
654
|
+
/** New Postgres superuser password. Provided only if there was no 'password' in the request. */
|
|
655
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
656
|
+
}
|
|
657
|
+
/** Postgres status, which initiates a process. */
|
|
658
|
+
export type UpdatePostgresServiceStateRequestCommand = "restart" | "promote" | "switchover";
|
|
659
|
+
export interface UpdatePostgresServiceStateRequest {
|
|
660
|
+
/** ID of the organization that owns the Postgres service. */
|
|
661
|
+
organizationId: string;
|
|
662
|
+
/** ID of the requested Postgres service. */
|
|
663
|
+
postgresId: string;
|
|
664
|
+
/** Postgres status, which initiates a process. */
|
|
665
|
+
command?: UpdatePostgresServiceStateRequestCommand | (string & {}) | undefined;
|
|
666
|
+
}
|
|
667
|
+
export interface Error400Body {
|
|
668
|
+
/** HTTP status code. */
|
|
669
|
+
status?: number | undefined;
|
|
670
|
+
/** Detailed error description. */
|
|
671
|
+
error?: string | undefined;
|
|
672
|
+
/** Unique id assigned to every request. UUIDv4 */
|
|
673
|
+
requestId?: string | undefined;
|
|
674
|
+
}
|
|
675
|
+
export type CreatePostgresServiceReadReplicaError = ClickHouseCloudOpError;
|
|
676
|
+
/** Create a read replica for a Postgres service Initiate the process to create a new read replica for a Postgres service. */
|
|
677
|
+
export declare const createPostgresServiceReadReplica: API.OperationMethod<CreatePostgresServiceReadReplicaRequest, PostgresService, CreatePostgresServiceReadReplicaError, ClickHouseCloudOpContext>;
|
|
678
|
+
export type DeletePostgresServiceError = ClickHouseCloudOpError;
|
|
679
|
+
/** Delete a PostgreSQL service Deletes a Postgres service that belongs to the organization. Returns 409 if deletion protection is enabled for the service. */
|
|
680
|
+
export declare const deletePostgresService: API.OperationMethod<DeletePostgresServiceRequest, DeletePostgresServiceResponse, DeletePostgresServiceError, ClickHouseCloudOpContext>;
|
|
681
|
+
export type GetPostgresServiceError = ClickHouseCloudOpError;
|
|
682
|
+
/** Get PostgreSQL service details Returns a Postgres service that belongs to the organization */
|
|
683
|
+
export declare const getPostgresService: API.OperationMethod<GetPostgresServiceRequest, PostgresService, GetPostgresServiceError, ClickHouseCloudOpContext>;
|
|
684
|
+
export type GetPostgresServiceCaCertificatesError = ClickHouseCloudOpError;
|
|
685
|
+
/** Get Postgres CA certs Download CA certificates for a PostgreSQL service */
|
|
686
|
+
export declare const getPostgresServiceCaCertificates: API.OperationMethod<GetPostgresServiceCaCertificatesRequest, GetPostgresServiceCaCertificatesResponse, GetPostgresServiceCaCertificatesError, ClickHouseCloudOpContext>;
|
|
687
|
+
export type GetPostgresServiceConfigError = ClickHouseCloudOpError;
|
|
688
|
+
/** Get PostgreSQL service configuration Returns the configuration data for a Postgres service and its PgBouncer service. */
|
|
689
|
+
export declare const getPostgresServiceConfig: API.OperationMethod<GetPostgresServiceConfigRequest, PostgresInstanceConfig, GetPostgresServiceConfigError, ClickHouseCloudOpContext>;
|
|
690
|
+
export type GetPostgresServiceMetricsError = ClickHouseCloudOpError;
|
|
691
|
+
/** Get Postgres time-series metrics Returns bucketed time-series metrics for a PostgreSQL service over the requested window (CPU, memory, disk, network, connections, cache hit ratio, throughput, transactions, wait events, lock waits, and more). Use this to chart or analyze how a service behaved over time. */
|
|
692
|
+
export declare const getPostgresServiceMetrics: API.OperationMethod<GetPostgresServiceMetricsRequest, PostgresMetrics, GetPostgresServiceMetricsError, ClickHouseCloudOpContext>;
|
|
693
|
+
export type GetPostgresSlowQueryPatternError = ClickHouseCloudOpError;
|
|
694
|
+
/** Get a Postgres slow query pattern with recent executions Returns aggregate metrics for a single slow query pattern together with its most recent individual executions. */
|
|
695
|
+
export declare const getPostgresSlowQueryPattern: API.OperationMethod<GetPostgresSlowQueryPatternRequest, PostgresSlowQueryPatternDetail, GetPostgresSlowQueryPatternError, ClickHouseCloudOpContext>;
|
|
696
|
+
export type ListPostgresLogsError = ClickHouseCloudOpError;
|
|
697
|
+
/** List Postgres server logs Returns PostgreSQL server log entries for a Postgres service within the given time window, most recent first by default (override with `sort_order`). Results are paginated with `limit`/`offset`; advance `offset` until a page returns fewer than `limit` entries to read the full window. The time range must not exceed 30 days, and `to_date` must be after `from_date`. */
|
|
698
|
+
export declare const listPostgresLogs: API.OperationMethod<ListPostgresLogsRequest, ListPostgresLogsResponse, ListPostgresLogsError, ClickHouseCloudOpContext>;
|
|
699
|
+
export type ListPostgresServiceBackupsError = ClickHouseCloudOpError;
|
|
700
|
+
/** List of Postgres service backups Returns a list of the base backups retained for a Postgres service, ordered by last modified date, newest first. Results are capped at `limit` (default and maximum 100) per page. Every response carries `limit`, `totalCount` and `nextCursor`; pass `nextCursor` as the `cursor` query parameter to fetch the next page, repeating until it is null. A Postgres service is recovered to a point in time rather than to a single backup, so restore it with the restore endpoint and a timestamp between the service's `earliestRestoreTime` and now, rather than with a backup key from this list. */
|
|
701
|
+
export declare const listPostgresServiceBackups: API.PaginatedOperationMethod<ListPostgresServiceBackupsRequest, ListPostgresServiceBackupsResponse, ListPostgresServiceBackupsError, ClickHouseCloudOpContext, PostgresBackup>;
|
|
702
|
+
export type ListPostgresServicesError = ClickHouseCloudOpError;
|
|
703
|
+
/** List of organization Postgres services Returns a list of all Postgres services in the organization. */
|
|
704
|
+
export declare const listPostgresServices: API.OperationMethod<ListPostgresServicesRequest, ListPostgresServicesResponse, ListPostgresServicesError, ClickHouseCloudOpContext>;
|
|
705
|
+
export type ListPostgresSlowQueryPatternsError = ClickHouseCloudOpError;
|
|
706
|
+
/** List Postgres slow query patterns Returns aggregate metrics for the slowest query patterns observed on a Postgres service during the given time window. Use this to discover which queries dominate total execution time, CPU, I/O, or WAL generation. */
|
|
707
|
+
export declare const listPostgresSlowQueryPatterns: API.OperationMethod<ListPostgresSlowQueryPatternsRequest, ListPostgresSlowQueryPatternsResponse, ListPostgresSlowQueryPatternsError, ClickHouseCloudOpContext>;
|
|
708
|
+
export type ReplacePostgresServiceConfigError = ClickHouseCloudOpError;
|
|
709
|
+
/** Replace Postgres service configuration Replace the existing Postgres service and pgBouncer configuration. */
|
|
710
|
+
export declare const replacePostgresServiceConfig: API.OperationMethod<ReplacePostgresServiceConfigRequest, PostgresInstanceUpdateConfigResponse, ReplacePostgresServiceConfigError, ClickHouseCloudOpContext>;
|
|
711
|
+
export type RestorePostgresServiceError = ClickHouseCloudOpError;
|
|
712
|
+
/** Restore a Postgres service Restore a Postgres database from continuous backup, optionally at a specific point in time. */
|
|
713
|
+
export declare const restorePostgresService: API.OperationMethod<RestorePostgresServiceRequest, PostgresService, RestorePostgresServiceError, ClickHouseCloudOpContext>;
|
|
714
|
+
export type UpdatePostgresServiceError = DeletionProtectionNotEnabled | ClickHouseCloudOpError;
|
|
715
|
+
/** Update a PostgreSQL service Update a Postgres service that belongs to the organization. **WARNING:** Changing the name also updates the host name and certificates for the service. */
|
|
716
|
+
export declare const updatePostgresService: API.OperationMethod<UpdatePostgresServiceRequest, PostgresService, UpdatePostgresServiceError, ClickHouseCloudOpContext>;
|
|
717
|
+
export type UpdatePostgresServiceConfigError = ClickHouseCloudOpError;
|
|
718
|
+
/** Update Postgres service configuration Update the existing Postgres service and pgBouncer configuration. */
|
|
719
|
+
export declare const updatePostgresServiceConfig: API.OperationMethod<UpdatePostgresServiceConfigRequest, PostgresInstanceUpdateConfigResponse, UpdatePostgresServiceConfigError, ClickHouseCloudOpContext>;
|
|
720
|
+
export type UpdatePostgresServicePasswordError = ClickHouseCloudOpError;
|
|
721
|
+
/** Update Postgres superuser password Sets a new password for a Postgres service's superuser account. */
|
|
722
|
+
export declare const updatePostgresServicePassword: API.OperationMethod<UpdatePostgresServicePasswordRequest, PostgresServicePasswordResource, UpdatePostgresServicePasswordError, ClickHouseCloudOpContext>;
|
|
723
|
+
export type UpdatePostgresServiceStateError = ClickHouseCloudOpError;
|
|
724
|
+
/** Update Postgres service state Initiate a process for a Postgres service: * restart: Initiates a service restart * promote: Promotes a read replica to primary * switchover: Switch a primary over to a standby. If there is no standby, replace the primary with a newly provisioned server and switch over to it. */
|
|
725
|
+
export declare const updatePostgresServiceState: API.OperationMethod<UpdatePostgresServiceStateRequest, PostgresService, UpdatePostgresServiceStateError, ClickHouseCloudOpContext>;
|
|
726
|
+
//# sourceMappingURL=postgres.d.ts.map
|