@upcloud/pulumi-upcloud 0.7.0 → 0.8.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/fileStorage.d.ts +173 -0
- package/fileStorage.js +115 -0
- package/fileStorage.js.map +1 -0
- package/gateway.d.ts +3 -3
- package/index.d.ts +3 -6
- package/index.js +7 -10
- package/index.js.map +1 -1
- package/managedDatabaseUser.d.ts +0 -12
- package/managedDatabaseUser.js +0 -2
- package/managedDatabaseUser.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +109 -329
- package/types/output.d.ts +122 -272
- package/getManagedDatabaseRedisSessions.d.ts +0 -89
- package/getManagedDatabaseRedisSessions.js +0 -80
- package/getManagedDatabaseRedisSessions.js.map +0 -1
- package/managedDatabaseRedis.d.ts +0 -298
- package/managedDatabaseRedis.js +0 -132
- package/managedDatabaseRedis.js.map +0 -1
package/types/output.d.ts
CHANGED
|
@@ -1,4 +1,46 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
|
+
export interface FileStorageNetwork {
|
|
3
|
+
/**
|
|
4
|
+
* IP family, e.g. IPv4.
|
|
5
|
+
*/
|
|
6
|
+
family: string;
|
|
7
|
+
/**
|
|
8
|
+
* IP address to assign (optional, auto-assign otherwise).
|
|
9
|
+
*/
|
|
10
|
+
ipAddress: string;
|
|
11
|
+
/**
|
|
12
|
+
* Attachment name (unique per this service).
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* UUID of an existing private network to attach.
|
|
17
|
+
*/
|
|
18
|
+
uuid: string;
|
|
19
|
+
}
|
|
20
|
+
export interface FileStorageShare {
|
|
21
|
+
/**
|
|
22
|
+
* Access control entries (1–50).
|
|
23
|
+
*/
|
|
24
|
+
acls?: outputs.FileStorageShareAcl[];
|
|
25
|
+
/**
|
|
26
|
+
* Unique name of the share (1–64 chars).
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
/**
|
|
30
|
+
* Absolute path exported by the share (e.g. `/public`).
|
|
31
|
+
*/
|
|
32
|
+
path: string;
|
|
33
|
+
}
|
|
34
|
+
export interface FileStorageShareAcl {
|
|
35
|
+
/**
|
|
36
|
+
* Access level: 'ro' or 'rw'.
|
|
37
|
+
*/
|
|
38
|
+
permission: string;
|
|
39
|
+
/**
|
|
40
|
+
* Target IP/CIDR or '*'.
|
|
41
|
+
*/
|
|
42
|
+
target: string;
|
|
43
|
+
}
|
|
2
44
|
export interface GatewayAddress {
|
|
3
45
|
/**
|
|
4
46
|
* IP addresss
|
|
@@ -328,76 +370,6 @@ export interface GetManagedDatabasePostgresqlSessionsSession {
|
|
|
328
370
|
*/
|
|
329
371
|
xactStart: string;
|
|
330
372
|
}
|
|
331
|
-
export interface GetManagedDatabaseRedisSessionsSession {
|
|
332
|
-
/**
|
|
333
|
-
* Number of active channel subscriptions
|
|
334
|
-
*/
|
|
335
|
-
activeChannelSubscriptions: number;
|
|
336
|
-
/**
|
|
337
|
-
* Current database ID
|
|
338
|
-
*/
|
|
339
|
-
activeDatabase: string;
|
|
340
|
-
/**
|
|
341
|
-
* Number of pattern matching subscriptions.
|
|
342
|
-
*/
|
|
343
|
-
activePatternMatchingChannelSubscriptions: number;
|
|
344
|
-
/**
|
|
345
|
-
* Name of the application that is connected to this service.
|
|
346
|
-
*/
|
|
347
|
-
applicationName: string;
|
|
348
|
-
/**
|
|
349
|
-
* Number of pattern matching subscriptions.
|
|
350
|
-
*/
|
|
351
|
-
clientAddr: string;
|
|
352
|
-
/**
|
|
353
|
-
* Total duration of the connection in nanoseconds.
|
|
354
|
-
*/
|
|
355
|
-
connectionAge: number;
|
|
356
|
-
/**
|
|
357
|
-
* Idle time of the connection in nanoseconds.
|
|
358
|
-
*/
|
|
359
|
-
connectionIdle: number;
|
|
360
|
-
/**
|
|
361
|
-
* A set containing flags' descriptions.
|
|
362
|
-
*/
|
|
363
|
-
flags: string[];
|
|
364
|
-
/**
|
|
365
|
-
* Client connection flags in raw string format.
|
|
366
|
-
*/
|
|
367
|
-
flagsRaw: string;
|
|
368
|
-
/**
|
|
369
|
-
* Process ID of this session.
|
|
370
|
-
*/
|
|
371
|
-
id: string;
|
|
372
|
-
/**
|
|
373
|
-
* Number of commands in a MULTI/EXEC context.
|
|
374
|
-
*/
|
|
375
|
-
multiExecCommands: number;
|
|
376
|
-
/**
|
|
377
|
-
* Output buffer length.
|
|
378
|
-
*/
|
|
379
|
-
outputBuffer: number;
|
|
380
|
-
/**
|
|
381
|
-
* Output buffer memory usage.
|
|
382
|
-
*/
|
|
383
|
-
outputBufferMemory: number;
|
|
384
|
-
/**
|
|
385
|
-
* Output list length (replies are queued in this list when the buffer is full).
|
|
386
|
-
*/
|
|
387
|
-
outputListLength: number;
|
|
388
|
-
/**
|
|
389
|
-
* The last executed command.
|
|
390
|
-
*/
|
|
391
|
-
query: string;
|
|
392
|
-
/**
|
|
393
|
-
* Query buffer length (0 means no query pending).
|
|
394
|
-
*/
|
|
395
|
-
queryBuffer: number;
|
|
396
|
-
/**
|
|
397
|
-
* Free space of the query buffer (0 means the buffer is full).
|
|
398
|
-
*/
|
|
399
|
-
queryBufferFree: number;
|
|
400
|
-
}
|
|
401
373
|
export interface GetManagedDatabaseValkeySessionsSession {
|
|
402
374
|
/**
|
|
403
375
|
* Number of active channel subscriptions
|
|
@@ -1543,7 +1515,7 @@ export interface ManagedDatabaseMysqlPropertiesMigration {
|
|
|
1543
1515
|
/**
|
|
1544
1516
|
* The server where to migrate data from is secured with SSL.
|
|
1545
1517
|
*/
|
|
1546
|
-
ssl
|
|
1518
|
+
ssl: boolean;
|
|
1547
1519
|
/**
|
|
1548
1520
|
* User name for authentication with the server where to migrate data from.
|
|
1549
1521
|
*/
|
|
@@ -1649,7 +1621,7 @@ export interface ManagedDatabaseOpensearchProperties {
|
|
|
1649
1621
|
clusterRoutingAllocationNodeConcurrentRecoveries: number;
|
|
1650
1622
|
clusterSearchRequestSlowlog: outputs.ManagedDatabaseOpensearchPropertiesClusterSearchRequestSlowlog;
|
|
1651
1623
|
/**
|
|
1652
|
-
* Custom domain. Serve the web frontend using a custom CNAME pointing to the Aiven DNS name.
|
|
1624
|
+
* Custom domain. Serve the web frontend using a custom CNAME pointing to the Aiven DNS name. When you set a custom domain for a service deployed in a VPC, the service certificate is only created for the public-* hostname and the custom domain.
|
|
1653
1625
|
*/
|
|
1654
1626
|
customDomain: string;
|
|
1655
1627
|
/**
|
|
@@ -1780,6 +1752,10 @@ export interface ManagedDatabaseOpensearchProperties {
|
|
|
1780
1752
|
* How long audit history indices are kept in days.
|
|
1781
1753
|
*/
|
|
1782
1754
|
ismHistoryRolloverRetentionPeriod: number;
|
|
1755
|
+
/**
|
|
1756
|
+
* OpenSearch JWT Configuration.
|
|
1757
|
+
*/
|
|
1758
|
+
jwt: outputs.ManagedDatabaseOpensearchPropertiesJwt;
|
|
1783
1759
|
/**
|
|
1784
1760
|
* Don't reset index.refresh_interval to the default value. Aiven automation resets index.refresh_interval to default value for every index to be sure that indices are always visible to search. If it doesn't fit your case, you can disable this by setting up this flag to true.
|
|
1785
1761
|
*/
|
|
@@ -2025,6 +2001,44 @@ export interface ManagedDatabaseOpensearchPropertiesIndexTemplate {
|
|
|
2025
2001
|
*/
|
|
2026
2002
|
numberOfShards: number;
|
|
2027
2003
|
}
|
|
2004
|
+
export interface ManagedDatabaseOpensearchPropertiesJwt {
|
|
2005
|
+
/**
|
|
2006
|
+
* Enable or disable OpenSearch JWT authentication. Enables or disables JWT-based authentication for OpenSearch. When enabled, users can authenticate using JWT tokens.
|
|
2007
|
+
*/
|
|
2008
|
+
enabled: boolean;
|
|
2009
|
+
/**
|
|
2010
|
+
* JWT clock skew tolerance in seconds. The maximum allowed time difference in seconds between the JWT issuer's clock and the OpenSearch server's clock. This helps prevent token validation failures due to minor time synchronization issues.
|
|
2011
|
+
*/
|
|
2012
|
+
jwtClockSkewToleranceSeconds: number;
|
|
2013
|
+
/**
|
|
2014
|
+
* HTTP header name for JWT token. The HTTP header name where the JWT token is transmitted. Typically 'Authorization' for Bearer tokens.
|
|
2015
|
+
*/
|
|
2016
|
+
jwtHeader: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* URL parameter name for JWT token. If the JWT token is transmitted as a URL parameter instead of an HTTP header, specify the parameter name here.
|
|
2019
|
+
*/
|
|
2020
|
+
jwtUrlParameter: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* Required JWT audience. If specified, the JWT must contain an 'aud' claim that matches this value. This provides additional security by ensuring the JWT was issued for the expected audience.
|
|
2023
|
+
*/
|
|
2024
|
+
requiredAudience: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* Required JWT issuer. If specified, the JWT must contain an 'iss' claim that matches this value. This provides additional security by ensuring the JWT was issued by the expected issuer.
|
|
2027
|
+
*/
|
|
2028
|
+
requiredIssuer: string;
|
|
2029
|
+
/**
|
|
2030
|
+
* JWT claim key for roles. The key in the JWT payload that contains the user's roles. If specified, roles will be extracted from the JWT for authorization.
|
|
2031
|
+
*/
|
|
2032
|
+
rolesKey: string;
|
|
2033
|
+
/**
|
|
2034
|
+
* JWT signing key. The secret key used to sign and verify JWT tokens. This should be a secure, randomly generated key HMAC key or public RSA/ECDSA key.
|
|
2035
|
+
*/
|
|
2036
|
+
signingKey: string;
|
|
2037
|
+
/**
|
|
2038
|
+
* JWT claim key for subject. The key in the JWT payload that contains the user's subject identifier. If not specified, the 'sub' claim is used by default.
|
|
2039
|
+
*/
|
|
2040
|
+
subjectKey: string;
|
|
2041
|
+
}
|
|
2028
2042
|
export interface ManagedDatabaseOpensearchPropertiesOpenid {
|
|
2029
2043
|
/**
|
|
2030
2044
|
* The ID of the OpenID Connect client. The ID of the OpenID Connect client configured in your IdP. Required.
|
|
@@ -2528,6 +2542,26 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2528
2542
|
* Time out sessions with open transactions after this number of milliseconds.
|
|
2529
2543
|
*/
|
|
2530
2544
|
idleInTransactionSessionTimeout: number;
|
|
2545
|
+
/**
|
|
2546
|
+
* EXPERIMENTAL: Controls the largest I/O size in operations that combine I/O in 8kB units. Version 17 and up only.
|
|
2547
|
+
*/
|
|
2548
|
+
ioCombineLimit: number;
|
|
2549
|
+
/**
|
|
2550
|
+
* EXPERIMENTAL: Controls the largest I/O size in operations that combine I/O in 8kB units, and silently limits the user-settable parameter io_combine_limit. Version 18 and up only. Changing this parameter causes a service restart.
|
|
2551
|
+
*/
|
|
2552
|
+
ioMaxCombineLimit: number;
|
|
2553
|
+
/**
|
|
2554
|
+
* EXPERIMENTAL: Controls the maximum number of I/O operations that one process can execute simultaneously. Version 18 and up only. Changing this parameter causes a service restart.
|
|
2555
|
+
*/
|
|
2556
|
+
ioMaxConcurrency: number;
|
|
2557
|
+
/**
|
|
2558
|
+
* EXPERIMENTAL: Controls the maximum number of I/O operations that one process can execute simultaneously. Version 18 and up only. Changing this parameter causes a service restart.
|
|
2559
|
+
*/
|
|
2560
|
+
ioMethod: string;
|
|
2561
|
+
/**
|
|
2562
|
+
* io_max_concurrency. EXPERIMENTAL: Number of IO worker processes, for io_method=worker. Version 18 and up only. Changing this parameter causes a service restart.
|
|
2563
|
+
*/
|
|
2564
|
+
ioWorkers: number;
|
|
2531
2565
|
/**
|
|
2532
2566
|
* IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
2533
2567
|
*/
|
|
@@ -2624,6 +2658,10 @@ export interface ManagedDatabasePostgresqlProperties {
|
|
|
2624
2658
|
* Migrate data from existing server.
|
|
2625
2659
|
*/
|
|
2626
2660
|
migration: outputs.ManagedDatabasePostgresqlPropertiesMigration;
|
|
2661
|
+
/**
|
|
2662
|
+
* Number of nodes for the service.
|
|
2663
|
+
*/
|
|
2664
|
+
nodeCount: number;
|
|
2627
2665
|
/**
|
|
2628
2666
|
* Chooses the algorithm for encrypting passwords.
|
|
2629
2667
|
*/
|
|
@@ -2761,7 +2799,7 @@ export interface ManagedDatabasePostgresqlPropertiesMigration {
|
|
|
2761
2799
|
/**
|
|
2762
2800
|
* The server where to migrate data from is secured with SSL.
|
|
2763
2801
|
*/
|
|
2764
|
-
ssl
|
|
2802
|
+
ssl: boolean;
|
|
2765
2803
|
/**
|
|
2766
2804
|
* User name for authentication with the server where to migrate data from.
|
|
2767
2805
|
*/
|
|
@@ -2771,16 +2809,16 @@ export interface ManagedDatabasePostgresqlPropertiesPgaudit {
|
|
|
2771
2809
|
/**
|
|
2772
2810
|
* Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved.
|
|
2773
2811
|
*/
|
|
2774
|
-
featureEnabled
|
|
2812
|
+
featureEnabled: boolean;
|
|
2775
2813
|
/**
|
|
2776
2814
|
* Log Catalog. Specifies that session logging should be enabled in the case where all relations
|
|
2777
2815
|
* in a statement are in pg_catalog.
|
|
2778
2816
|
*/
|
|
2779
|
-
logCatalog
|
|
2817
|
+
logCatalog: boolean;
|
|
2780
2818
|
/**
|
|
2781
2819
|
* Log Client. Specifies whether log messages will be visible to a client process such as psql.
|
|
2782
2820
|
*/
|
|
2783
|
-
logClient
|
|
2821
|
+
logClient: boolean;
|
|
2784
2822
|
/**
|
|
2785
2823
|
* Log level. Specifies the log level that will be used for log entries.
|
|
2786
2824
|
*/
|
|
@@ -2794,11 +2832,11 @@ export interface ManagedDatabasePostgresqlPropertiesPgaudit {
|
|
|
2794
2832
|
* Log Nested Statements. This GUC allows to turn off logging nested statements, that is, statements that are
|
|
2795
2833
|
* executed as part of another ExecutorRun.
|
|
2796
2834
|
*/
|
|
2797
|
-
logNestedStatements
|
|
2835
|
+
logNestedStatements: boolean;
|
|
2798
2836
|
/**
|
|
2799
2837
|
* Log Parameter. Specifies that audit logging should include the parameters that were passed with the statement.
|
|
2800
2838
|
*/
|
|
2801
|
-
logParameter
|
|
2839
|
+
logParameter: boolean;
|
|
2802
2840
|
/**
|
|
2803
2841
|
* Log Parameter Max Size. Specifies that parameter values longer than this setting (in bytes) should not be logged,
|
|
2804
2842
|
* but replaced with <long param suppressed>.
|
|
@@ -2808,20 +2846,20 @@ export interface ManagedDatabasePostgresqlPropertiesPgaudit {
|
|
|
2808
2846
|
* Log Relation. Specifies whether session audit logging should create a separate log entry
|
|
2809
2847
|
* for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement.
|
|
2810
2848
|
*/
|
|
2811
|
-
logRelation
|
|
2849
|
+
logRelation: boolean;
|
|
2812
2850
|
/**
|
|
2813
2851
|
* Log Rows.
|
|
2814
2852
|
*/
|
|
2815
|
-
logRows
|
|
2853
|
+
logRows: boolean;
|
|
2816
2854
|
/**
|
|
2817
2855
|
* Log Statement. Specifies whether logging will include the statement text and parameters (if enabled).
|
|
2818
2856
|
*/
|
|
2819
|
-
logStatement
|
|
2857
|
+
logStatement: boolean;
|
|
2820
2858
|
/**
|
|
2821
2859
|
* Log Statement Once. Specifies whether logging will include the statement text and parameters with
|
|
2822
2860
|
* the first log entry for a statement/substatement combination or with every entry.
|
|
2823
2861
|
*/
|
|
2824
|
-
logStatementOnce
|
|
2862
|
+
logStatementOnce: boolean;
|
|
2825
2863
|
/**
|
|
2826
2864
|
* Log. Specifies which classes of statements will be logged by session audit logging.
|
|
2827
2865
|
*/
|
|
@@ -2871,7 +2909,7 @@ export interface ManagedDatabasePostgresqlPropertiesPgbouncer {
|
|
|
2871
2909
|
/**
|
|
2872
2910
|
* Run serverResetQuery (DISCARD ALL) in all pooling modes.
|
|
2873
2911
|
*/
|
|
2874
|
-
serverResetQueryAlways
|
|
2912
|
+
serverResetQueryAlways: boolean;
|
|
2875
2913
|
}
|
|
2876
2914
|
export interface ManagedDatabasePostgresqlPropertiesPglookout {
|
|
2877
2915
|
/**
|
|
@@ -2885,176 +2923,6 @@ export interface ManagedDatabasePostgresqlPropertiesTimescaledb {
|
|
|
2885
2923
|
*/
|
|
2886
2924
|
maxBackgroundWorkers: number;
|
|
2887
2925
|
}
|
|
2888
|
-
export interface ManagedDatabaseRedisComponent {
|
|
2889
|
-
/**
|
|
2890
|
-
* Type of the component
|
|
2891
|
-
*/
|
|
2892
|
-
component: string;
|
|
2893
|
-
/**
|
|
2894
|
-
* Hostname of the component
|
|
2895
|
-
*/
|
|
2896
|
-
host: string;
|
|
2897
|
-
/**
|
|
2898
|
-
* Port number of the component
|
|
2899
|
-
*/
|
|
2900
|
-
port: number;
|
|
2901
|
-
/**
|
|
2902
|
-
* Component network route type
|
|
2903
|
-
*/
|
|
2904
|
-
route: string;
|
|
2905
|
-
/**
|
|
2906
|
-
* Usage of the component
|
|
2907
|
-
*/
|
|
2908
|
-
usage: string;
|
|
2909
|
-
}
|
|
2910
|
-
export interface ManagedDatabaseRedisNetwork {
|
|
2911
|
-
/**
|
|
2912
|
-
* Network family. Currently only `IPv4` is supported.
|
|
2913
|
-
*/
|
|
2914
|
-
family: string;
|
|
2915
|
-
/**
|
|
2916
|
-
* The name of the network. Must be unique within the service.
|
|
2917
|
-
*/
|
|
2918
|
-
name: string;
|
|
2919
|
-
/**
|
|
2920
|
-
* The type of the network. Must be private.
|
|
2921
|
-
*/
|
|
2922
|
-
type: string;
|
|
2923
|
-
/**
|
|
2924
|
-
* Private network UUID. Must reside in the same zone as the database.
|
|
2925
|
-
*/
|
|
2926
|
-
uuid: string;
|
|
2927
|
-
}
|
|
2928
|
-
export interface ManagedDatabaseRedisNodeState {
|
|
2929
|
-
/**
|
|
2930
|
-
* Name plus a node iteration
|
|
2931
|
-
*/
|
|
2932
|
-
name: string;
|
|
2933
|
-
/**
|
|
2934
|
-
* Role of the node
|
|
2935
|
-
*/
|
|
2936
|
-
role: string;
|
|
2937
|
-
/**
|
|
2938
|
-
* State of the node
|
|
2939
|
-
*/
|
|
2940
|
-
state: string;
|
|
2941
|
-
}
|
|
2942
|
-
export interface ManagedDatabaseRedisProperties {
|
|
2943
|
-
/**
|
|
2944
|
-
* Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
2945
|
-
*/
|
|
2946
|
-
automaticUtilityNetworkIpFilter?: boolean;
|
|
2947
|
-
/**
|
|
2948
|
-
* The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
|
|
2949
|
-
*/
|
|
2950
|
-
backupHour: number;
|
|
2951
|
-
/**
|
|
2952
|
-
* The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
|
|
2953
|
-
*/
|
|
2954
|
-
backupMinute: number;
|
|
2955
|
-
/**
|
|
2956
|
-
* IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
2957
|
-
*/
|
|
2958
|
-
ipFilters: string[];
|
|
2959
|
-
/**
|
|
2960
|
-
* Migrate data from existing server.
|
|
2961
|
-
*/
|
|
2962
|
-
migration: outputs.ManagedDatabaseRedisPropertiesMigration;
|
|
2963
|
-
/**
|
|
2964
|
-
* Public Access. Allow access to the service from the public Internet.
|
|
2965
|
-
*/
|
|
2966
|
-
publicAccess?: boolean;
|
|
2967
|
-
/**
|
|
2968
|
-
* Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, allChannels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default.
|
|
2969
|
-
*/
|
|
2970
|
-
redisAclChannelsDefault: string;
|
|
2971
|
-
/**
|
|
2972
|
-
* Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service.
|
|
2973
|
-
*/
|
|
2974
|
-
redisIoThreads: number;
|
|
2975
|
-
/**
|
|
2976
|
-
* LFU maxmemory-policy counter decay time in minutes.
|
|
2977
|
-
*/
|
|
2978
|
-
redisLfuDecayTime: number;
|
|
2979
|
-
/**
|
|
2980
|
-
* Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
|
|
2981
|
-
*/
|
|
2982
|
-
redisLfuLogFactor: number;
|
|
2983
|
-
/**
|
|
2984
|
-
* Redis maxmemory-policy.
|
|
2985
|
-
*/
|
|
2986
|
-
redisMaxmemoryPolicy: string;
|
|
2987
|
-
/**
|
|
2988
|
-
* Set notify-keyspace-events option.
|
|
2989
|
-
*/
|
|
2990
|
-
redisNotifyKeyspaceEvents?: string;
|
|
2991
|
-
/**
|
|
2992
|
-
* Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service.
|
|
2993
|
-
*/
|
|
2994
|
-
redisNumberOfDatabases: number;
|
|
2995
|
-
/**
|
|
2996
|
-
* Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked.
|
|
2997
|
-
*/
|
|
2998
|
-
redisPersistence: string;
|
|
2999
|
-
/**
|
|
3000
|
-
* Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
|
|
3001
|
-
*/
|
|
3002
|
-
redisPubsubClientOutputBufferLimit: number;
|
|
3003
|
-
/**
|
|
3004
|
-
* Require SSL to access Redis.
|
|
3005
|
-
*/
|
|
3006
|
-
redisSsl?: boolean;
|
|
3007
|
-
/**
|
|
3008
|
-
* Redis idle connection timeout in seconds.
|
|
3009
|
-
*/
|
|
3010
|
-
redisTimeout: number;
|
|
3011
|
-
/**
|
|
3012
|
-
* Redis major version.
|
|
3013
|
-
*/
|
|
3014
|
-
redisVersion: string;
|
|
3015
|
-
/**
|
|
3016
|
-
* Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
3017
|
-
*/
|
|
3018
|
-
serviceLog: boolean;
|
|
3019
|
-
}
|
|
3020
|
-
export interface ManagedDatabaseRedisPropertiesMigration {
|
|
3021
|
-
/**
|
|
3022
|
-
* Database name for bootstrapping the initial connection.
|
|
3023
|
-
*/
|
|
3024
|
-
dbname: string;
|
|
3025
|
-
/**
|
|
3026
|
-
* Hostname or IP address of the server where to migrate data from.
|
|
3027
|
-
*/
|
|
3028
|
-
host: string;
|
|
3029
|
-
/**
|
|
3030
|
-
* Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
3031
|
-
*/
|
|
3032
|
-
ignoreDbs: string;
|
|
3033
|
-
/**
|
|
3034
|
-
* Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
3035
|
-
*/
|
|
3036
|
-
ignoreRoles: string;
|
|
3037
|
-
/**
|
|
3038
|
-
* The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
3039
|
-
*/
|
|
3040
|
-
method: string;
|
|
3041
|
-
/**
|
|
3042
|
-
* Password for authentication with the server where to migrate data from.
|
|
3043
|
-
*/
|
|
3044
|
-
password: string;
|
|
3045
|
-
/**
|
|
3046
|
-
* Port number of the server where to migrate data from.
|
|
3047
|
-
*/
|
|
3048
|
-
port: number;
|
|
3049
|
-
/**
|
|
3050
|
-
* The server where to migrate data from is secured with SSL.
|
|
3051
|
-
*/
|
|
3052
|
-
ssl?: boolean;
|
|
3053
|
-
/**
|
|
3054
|
-
* User name for authentication with the server where to migrate data from.
|
|
3055
|
-
*/
|
|
3056
|
-
username: string;
|
|
3057
|
-
}
|
|
3058
2926
|
export interface ManagedDatabaseUserOpensearchAccessControl {
|
|
3059
2927
|
/**
|
|
3060
2928
|
* Set user access control rules.
|
|
@@ -3077,24 +2945,6 @@ export interface ManagedDatabaseUserPgAccessControl {
|
|
|
3077
2945
|
*/
|
|
3078
2946
|
allowReplication?: boolean;
|
|
3079
2947
|
}
|
|
3080
|
-
export interface ManagedDatabaseUserRedisAccessControl {
|
|
3081
|
-
/**
|
|
3082
|
-
* Set access control to all commands in specified categories.
|
|
3083
|
-
*/
|
|
3084
|
-
categories?: string;
|
|
3085
|
-
/**
|
|
3086
|
-
* Set access control to Pub/Sub channels.
|
|
3087
|
-
*/
|
|
3088
|
-
channels?: string;
|
|
3089
|
-
/**
|
|
3090
|
-
* Set access control to commands.
|
|
3091
|
-
*/
|
|
3092
|
-
commands?: string;
|
|
3093
|
-
/**
|
|
3094
|
-
* Set access control to keys.
|
|
3095
|
-
*/
|
|
3096
|
-
keys?: string;
|
|
3097
|
-
}
|
|
3098
2948
|
export interface ManagedDatabaseUserValkeyAccessControl {
|
|
3099
2949
|
/**
|
|
3100
2950
|
* Set access control to all commands in specified categories.
|
|
@@ -3281,7 +3131,7 @@ export interface ManagedDatabaseValkeyPropertiesMigration {
|
|
|
3281
3131
|
/**
|
|
3282
3132
|
* The server where to migrate data from is secured with SSL.
|
|
3283
3133
|
*/
|
|
3284
|
-
ssl
|
|
3134
|
+
ssl: boolean;
|
|
3285
3135
|
/**
|
|
3286
3136
|
* User name for authentication with the server where to migrate data from.
|
|
3287
3137
|
*/
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "./types/input";
|
|
3
|
-
import * as outputs from "./types/output";
|
|
4
|
-
/**
|
|
5
|
-
* > Redis is deprecated in favor of Valkey. Please use Valkey for new key value store instances.
|
|
6
|
-
*
|
|
7
|
-
* Current sessions of a Redis managed database
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
14
|
-
*
|
|
15
|
-
* // Use data source to gather a list of the active sessions for a Managed Redis Database
|
|
16
|
-
* // Create a Managed Redis resource
|
|
17
|
-
* const exampleManagedDatabaseRedis = new upcloud.ManagedDatabaseRedis("example", {
|
|
18
|
-
* name: "example",
|
|
19
|
-
* title: "example",
|
|
20
|
-
* plan: "1x1xCPU-2GB",
|
|
21
|
-
* zone: "fi-hel2",
|
|
22
|
-
* });
|
|
23
|
-
* // Read the active sessions of the newly created service
|
|
24
|
-
* const example = upcloud.getManagedDatabaseRedisSessionsOutput({
|
|
25
|
-
* service: exampleManagedDatabaseRedis.id,
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare function getManagedDatabaseRedisSessions(args: GetManagedDatabaseRedisSessionsArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedDatabaseRedisSessionsResult>;
|
|
30
|
-
/**
|
|
31
|
-
* A collection of arguments for invoking getManagedDatabaseRedisSessions.
|
|
32
|
-
*/
|
|
33
|
-
export interface GetManagedDatabaseRedisSessionsArgs {
|
|
34
|
-
limit?: number;
|
|
35
|
-
offset?: number;
|
|
36
|
-
order?: string;
|
|
37
|
-
service: string;
|
|
38
|
-
sessions?: inputs.GetManagedDatabaseRedisSessionsSession[];
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* A collection of values returned by getManagedDatabaseRedisSessions.
|
|
42
|
-
*/
|
|
43
|
-
export interface GetManagedDatabaseRedisSessionsResult {
|
|
44
|
-
/**
|
|
45
|
-
* The provider-assigned unique ID for this managed resource.
|
|
46
|
-
*/
|
|
47
|
-
readonly id: string;
|
|
48
|
-
readonly limit?: number;
|
|
49
|
-
readonly offset?: number;
|
|
50
|
-
readonly order?: string;
|
|
51
|
-
readonly service: string;
|
|
52
|
-
readonly sessions: outputs.GetManagedDatabaseRedisSessionsSession[];
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* > Redis is deprecated in favor of Valkey. Please use Valkey for new key value store instances.
|
|
56
|
-
*
|
|
57
|
-
* Current sessions of a Redis managed database
|
|
58
|
-
*
|
|
59
|
-
* ## Example Usage
|
|
60
|
-
*
|
|
61
|
-
* ```typescript
|
|
62
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
-
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
64
|
-
*
|
|
65
|
-
* // Use data source to gather a list of the active sessions for a Managed Redis Database
|
|
66
|
-
* // Create a Managed Redis resource
|
|
67
|
-
* const exampleManagedDatabaseRedis = new upcloud.ManagedDatabaseRedis("example", {
|
|
68
|
-
* name: "example",
|
|
69
|
-
* title: "example",
|
|
70
|
-
* plan: "1x1xCPU-2GB",
|
|
71
|
-
* zone: "fi-hel2",
|
|
72
|
-
* });
|
|
73
|
-
* // Read the active sessions of the newly created service
|
|
74
|
-
* const example = upcloud.getManagedDatabaseRedisSessionsOutput({
|
|
75
|
-
* service: exampleManagedDatabaseRedis.id,
|
|
76
|
-
* });
|
|
77
|
-
* ```
|
|
78
|
-
*/
|
|
79
|
-
export declare function getManagedDatabaseRedisSessionsOutput(args: GetManagedDatabaseRedisSessionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetManagedDatabaseRedisSessionsResult>;
|
|
80
|
-
/**
|
|
81
|
-
* A collection of arguments for invoking getManagedDatabaseRedisSessions.
|
|
82
|
-
*/
|
|
83
|
-
export interface GetManagedDatabaseRedisSessionsOutputArgs {
|
|
84
|
-
limit?: pulumi.Input<number>;
|
|
85
|
-
offset?: pulumi.Input<number>;
|
|
86
|
-
order?: pulumi.Input<string>;
|
|
87
|
-
service: pulumi.Input<string>;
|
|
88
|
-
sessions?: pulumi.Input<pulumi.Input<inputs.GetManagedDatabaseRedisSessionsSessionArgs>[]>;
|
|
89
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getManagedDatabaseRedisSessionsOutput = exports.getManagedDatabaseRedisSessions = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* > Redis is deprecated in favor of Valkey. Please use Valkey for new key value store instances.
|
|
10
|
-
*
|
|
11
|
-
* Current sessions of a Redis managed database
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
18
|
-
*
|
|
19
|
-
* // Use data source to gather a list of the active sessions for a Managed Redis Database
|
|
20
|
-
* // Create a Managed Redis resource
|
|
21
|
-
* const exampleManagedDatabaseRedis = new upcloud.ManagedDatabaseRedis("example", {
|
|
22
|
-
* name: "example",
|
|
23
|
-
* title: "example",
|
|
24
|
-
* plan: "1x1xCPU-2GB",
|
|
25
|
-
* zone: "fi-hel2",
|
|
26
|
-
* });
|
|
27
|
-
* // Read the active sessions of the newly created service
|
|
28
|
-
* const example = upcloud.getManagedDatabaseRedisSessionsOutput({
|
|
29
|
-
* service: exampleManagedDatabaseRedis.id,
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
function getManagedDatabaseRedisSessions(args, opts) {
|
|
34
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
35
|
-
return pulumi.runtime.invoke("upcloud:index/getManagedDatabaseRedisSessions:getManagedDatabaseRedisSessions", {
|
|
36
|
-
"limit": args.limit,
|
|
37
|
-
"offset": args.offset,
|
|
38
|
-
"order": args.order,
|
|
39
|
-
"service": args.service,
|
|
40
|
-
"sessions": args.sessions,
|
|
41
|
-
}, opts);
|
|
42
|
-
}
|
|
43
|
-
exports.getManagedDatabaseRedisSessions = getManagedDatabaseRedisSessions;
|
|
44
|
-
/**
|
|
45
|
-
* > Redis is deprecated in favor of Valkey. Please use Valkey for new key value store instances.
|
|
46
|
-
*
|
|
47
|
-
* Current sessions of a Redis managed database
|
|
48
|
-
*
|
|
49
|
-
* ## Example Usage
|
|
50
|
-
*
|
|
51
|
-
* ```typescript
|
|
52
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
-
* import * as upcloud from "@upcloud/pulumi-upcloud";
|
|
54
|
-
*
|
|
55
|
-
* // Use data source to gather a list of the active sessions for a Managed Redis Database
|
|
56
|
-
* // Create a Managed Redis resource
|
|
57
|
-
* const exampleManagedDatabaseRedis = new upcloud.ManagedDatabaseRedis("example", {
|
|
58
|
-
* name: "example",
|
|
59
|
-
* title: "example",
|
|
60
|
-
* plan: "1x1xCPU-2GB",
|
|
61
|
-
* zone: "fi-hel2",
|
|
62
|
-
* });
|
|
63
|
-
* // Read the active sessions of the newly created service
|
|
64
|
-
* const example = upcloud.getManagedDatabaseRedisSessionsOutput({
|
|
65
|
-
* service: exampleManagedDatabaseRedis.id,
|
|
66
|
-
* });
|
|
67
|
-
* ```
|
|
68
|
-
*/
|
|
69
|
-
function getManagedDatabaseRedisSessionsOutput(args, opts) {
|
|
70
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
71
|
-
return pulumi.runtime.invokeOutput("upcloud:index/getManagedDatabaseRedisSessions:getManagedDatabaseRedisSessions", {
|
|
72
|
-
"limit": args.limit,
|
|
73
|
-
"offset": args.offset,
|
|
74
|
-
"order": args.order,
|
|
75
|
-
"service": args.service,
|
|
76
|
-
"sessions": args.sessions,
|
|
77
|
-
}, opts);
|
|
78
|
-
}
|
|
79
|
-
exports.getManagedDatabaseRedisSessionsOutput = getManagedDatabaseRedisSessionsOutput;
|
|
80
|
-
//# sourceMappingURL=getManagedDatabaseRedisSessions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getManagedDatabaseRedisSessions.js","sourceRoot":"","sources":["../getManagedDatabaseRedisSessions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+EAA+E,EAAE;QAC1G,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0EASC;AA2BD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,qCAAqC,CAAC,IAA+C,EAAE,IAAiC;IACpI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+EAA+E,EAAE;QAChH,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sFASC"}
|