@upcloud/pulumi-upcloud 0.12.0-alpha.1773395156 → 0.12.1

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.
@@ -31,6 +31,10 @@ import * as outputs from "./types/output";
31
31
  * }],
32
32
  * },
33
33
  * actions: {
34
+ * httpRewritePaths: [{
35
+ * matchPattern: "^/old/(.*)$",
36
+ * rewriteTo: "/new/\\1",
37
+ * }],
34
38
  * useBackends: [{
35
39
  * backendName: upcloudLoadbalancerBackend.lbBe1.name,
36
40
  * }],
@@ -35,6 +35,10 @@ const utilities = require("./utilities");
35
35
  * }],
36
36
  * },
37
37
  * actions: {
38
+ * httpRewritePaths: [{
39
+ * matchPattern: "^/old/(.*)$",
40
+ * rewriteTo: "/new/\\1",
41
+ * }],
38
42
  * useBackends: [{
39
43
  * backendName: upcloudLoadbalancerBackend.lbBe1.name,
40
44
  * }],
@@ -1 +1 @@
1
- {"version":3,"file":"loadbalancerFrontendRule.js","sourceRoot":"","sources":["../loadbalancerFrontendRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;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B,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AAzFL,4DA0FC;AA5EG,gBAAgB;AACO,qCAAY,GAAG,iEAAiE,CAAC"}
@@ -35,7 +35,7 @@ import * as pulumi from "@pulumi/pulumi";
35
35
  * name: "lb-be-1-sm-1-test",
36
36
  * ip: "10.0.0.10",
37
37
  * port: 8000,
38
- * weight: 0,
38
+ * weight: 10,
39
39
  * maxSessions: 0,
40
40
  * enabled: true,
41
41
  * });
@@ -41,7 +41,7 @@ const utilities = require("./utilities");
41
41
  * name: "lb-be-1-sm-1-test",
42
42
  * ip: "10.0.0.10",
43
43
  * port: 8000,
44
- * weight: 0,
44
+ * weight: 10,
45
45
  * maxSessions: 0,
46
46
  * enabled: true,
47
47
  * });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upcloud/pulumi-upcloud",
3
- "version": "0.12.0-alpha.1773395156",
3
+ "version": "0.12.1",
4
4
  "description": "A Pulumi package for creating and managing UpCloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,7 +24,7 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "upcloud",
27
- "version": "0.12.0-alpha.1773395156",
27
+ "version": "0.12.1",
28
28
  "server": "github://api.github.com/UpCloudLtd/pulumi-upcloud"
29
29
  }
30
30
  }
package/types/input.d.ts CHANGED
@@ -901,6 +901,14 @@ export interface LoadbalancerFrontendRuleActions {
901
901
  * Returns HTTP response with specified HTTP status.
902
902
  */
903
903
  httpReturns?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleActionsHttpReturn>[]>;
904
+ /**
905
+ * Rewrites the HTTP request path using regex pattern matching.
906
+ */
907
+ httpRewritePaths?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleActionsHttpRewritePath>[]>;
908
+ /**
909
+ * Rewrites the entire HTTP request URI using regex pattern matching.
910
+ */
911
+ httpRewriteUris?: pulumi.Input<pulumi.Input<inputs.LoadbalancerFrontendRuleActionsHttpRewriteUri>[]>;
904
912
  /**
905
913
  * Adds 'X-Forwarded-For / -Proto / -Port' headers in your forwarded requests
906
914
  */
@@ -950,6 +958,26 @@ export interface LoadbalancerFrontendRuleActionsHttpReturn {
950
958
  */
951
959
  status: pulumi.Input<number>;
952
960
  }
961
+ export interface LoadbalancerFrontendRuleActionsHttpRewritePath {
962
+ /**
963
+ * Regex pattern to match against the request path.
964
+ */
965
+ matchPattern: pulumi.Input<string>;
966
+ /**
967
+ * Replacement pattern.
968
+ */
969
+ rewriteTo: pulumi.Input<string>;
970
+ }
971
+ export interface LoadbalancerFrontendRuleActionsHttpRewriteUri {
972
+ /**
973
+ * Regex pattern to match against the request URI.
974
+ */
975
+ matchPattern: pulumi.Input<string>;
976
+ /**
977
+ * Replacement pattern.
978
+ */
979
+ rewriteTo: pulumi.Input<string>;
980
+ }
953
981
  export interface LoadbalancerFrontendRuleActionsSetForwardedHeader {
954
982
  active?: pulumi.Input<boolean>;
955
983
  }
@@ -1590,6 +1618,10 @@ export interface ManagedDatabaseMysqlProperties {
1590
1618
  * The slowQueryLogs work as SQL statements that take more than longQueryTime seconds to execute.
1591
1619
  */
1592
1620
  longQueryTime?: pulumi.Input<number>;
1621
+ /**
1622
+ * Sets how table and database names are stored and compared. 0 = case-sensitive (default), 1 = names stored lowercase, comparisons are case-insensitive. This option can only be set when creating the service and cannot be changed later. See https://dev.mysql.com/doc/refman/8.0/en/identifier-case-sensitivity.html for details.
1623
+ */
1624
+ lowerCaseTableNames?: pulumi.Input<number>;
1593
1625
  /**
1594
1626
  * Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
1595
1627
  */
@@ -1622,6 +1654,10 @@ export interface ManagedDatabaseMysqlProperties {
1622
1654
  * Public Access. Allow access to the service from the public Internet.
1623
1655
  */
1624
1656
  publicAccess?: pulumi.Input<boolean>;
1657
+ /**
1658
+ * Prometheus Public Access. Allow access to Prometheus metrics from the public Internet.
1659
+ */
1660
+ publicAccessPrometheus?: pulumi.Input<boolean>;
1625
1661
  /**
1626
1662
  * Service logging. Store logs for the service so that they are available in the HTTP API and console.
1627
1663
  */
@@ -1985,7 +2021,11 @@ export interface ManagedDatabaseOpensearchProperties {
1985
2021
  */
1986
2022
  publicAccess?: pulumi.Input<boolean>;
1987
2023
  /**
1988
- * Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
2024
+ * Prometheus Public Access. Allow access to Prometheus metrics from the public Internet.
2025
+ */
2026
+ publicAccessPrometheus?: pulumi.Input<boolean>;
2027
+ /**
2028
+ * reindex_remote_allowlist. Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
1989
2029
  */
1990
2030
  reindexRemoteWhitelists?: pulumi.Input<pulumi.Input<string>[]>;
1991
2031
  remoteStore?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesRemoteStore>;
@@ -2803,7 +2843,7 @@ export interface ManagedDatabasePostgresqlProperties {
2803
2843
  */
2804
2844
  logTempFiles?: pulumi.Input<number>;
2805
2845
  /**
2806
- * Sets the PostgreSQL maximum number of concurrent connections to the database server. This is a limited-release parameter. Contact your account team to confirm your eligibility. You cannot decrease this parameter value when set. For services with a read replica, first increase the read replica's value. After the change is applied to the replica, you can increase the primary service's value. Changing this parameter causes a service restart.
2846
+ * Sets the PostgreSQL maximum number of concurrent connections to the database server. For services with a read replica, first increase the read replica's value. After the change is applied to the replica, you can increase the primary service's value. Changing this parameter causes a service restart.
2807
2847
  */
2808
2848
  maxConnections?: pulumi.Input<number>;
2809
2849
  /**
@@ -2815,7 +2855,7 @@ export interface ManagedDatabasePostgresqlProperties {
2815
2855
  */
2816
2856
  maxLocksPerTransaction?: pulumi.Input<number>;
2817
2857
  /**
2818
- * PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is `4` (upstream default). Changing this parameter causes a service restart.
2858
+ * PostgreSQL maximum logical replication workers (taken from the pool defined by max_worker_processes). The default is `4` (upstream default). Changing this parameter causes a service restart.
2819
2859
  */
2820
2860
  maxLogicalReplicationWorkers?: pulumi.Input<number>;
2821
2861
  /**
@@ -2918,6 +2958,10 @@ export interface ManagedDatabasePostgresqlProperties {
2918
2958
  * Public Access. Allow access to the service from the public Internet.
2919
2959
  */
2920
2960
  publicAccess?: pulumi.Input<boolean>;
2961
+ /**
2962
+ * Prometheus Public Access. Allow access to Prometheus metrics from the public Internet.
2963
+ */
2964
+ publicAccessPrometheus?: pulumi.Input<boolean>;
2921
2965
  /**
2922
2966
  * Service logging. Store logs for the service so that they are available in the HTTP API and console.
2923
2967
  */
@@ -2926,8 +2970,13 @@ export interface ManagedDatabasePostgresqlProperties {
2926
2970
  * Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the sharedBuffers configuration value. Changing this parameter causes a service restart.
2927
2971
  */
2928
2972
  sharedBuffersPercentage?: pulumi.Input<number>;
2973
+ switchoverWindows?: pulumi.Input<pulumi.Input<string>[]>;
2974
+ /**
2975
+ * Sets the current transaction's synchronization level. The default is `off`. This setting takes precedence over `synchronousReplication`.
2976
+ */
2977
+ synchronousCommit?: pulumi.Input<string>;
2929
2978
  /**
2930
- * Synchronous replication type. Note that the service plan also needs to support synchronous replication.
2979
+ * Synchronous replication type. (deprecated, use synchronousCommit instead). Note that the service plan also needs to support synchronous replication. This setting is deprecated. Use synchronousCommit instead. Any change to this setting will automatically update synchronous_commit. Setting the value to quorum changes synchronousCommit to remote_write, while setting it to off changes synchronousCommit to off.
2931
2980
  */
2932
2981
  synchronousReplication?: pulumi.Input<string>;
2933
2982
  /**
@@ -3258,6 +3307,10 @@ export interface ManagedDatabaseValkeyProperties {
3258
3307
  * Public Access. Allow access to the service from the public Internet.
3259
3308
  */
3260
3309
  publicAccess?: pulumi.Input<boolean>;
3310
+ /**
3311
+ * Prometheus Public Access. Allow access to Prometheus metrics from the public Internet.
3312
+ */
3313
+ publicAccessPrometheus?: pulumi.Input<boolean>;
3261
3314
  /**
3262
3315
  * Service logging. Store logs for the service so that they are available in the HTTP API and console.
3263
3316
  */
@@ -3310,6 +3363,10 @@ export interface ManagedDatabaseValkeyProperties {
3310
3363
  * Valkey idle connection timeout in seconds.
3311
3364
  */
3312
3365
  valkeyTimeout?: pulumi.Input<number>;
3366
+ /**
3367
+ * Valkey major version.
3368
+ */
3369
+ valkeyVersion?: pulumi.Input<string>;
3313
3370
  }
3314
3371
  export interface ManagedDatabaseValkeyPropertiesMigration {
3315
3372
  /**
package/types/output.d.ts CHANGED
@@ -705,6 +705,14 @@ export interface LoadbalancerFrontendRuleActions {
705
705
  * Returns HTTP response with specified HTTP status.
706
706
  */
707
707
  httpReturns?: outputs.LoadbalancerFrontendRuleActionsHttpReturn[];
708
+ /**
709
+ * Rewrites the HTTP request path using regex pattern matching.
710
+ */
711
+ httpRewritePaths?: outputs.LoadbalancerFrontendRuleActionsHttpRewritePath[];
712
+ /**
713
+ * Rewrites the entire HTTP request URI using regex pattern matching.
714
+ */
715
+ httpRewriteUris?: outputs.LoadbalancerFrontendRuleActionsHttpRewriteUri[];
708
716
  /**
709
717
  * Adds 'X-Forwarded-For / -Proto / -Port' headers in your forwarded requests
710
718
  */
@@ -754,6 +762,26 @@ export interface LoadbalancerFrontendRuleActionsHttpReturn {
754
762
  */
755
763
  status: number;
756
764
  }
765
+ export interface LoadbalancerFrontendRuleActionsHttpRewritePath {
766
+ /**
767
+ * Regex pattern to match against the request path.
768
+ */
769
+ matchPattern: string;
770
+ /**
771
+ * Replacement pattern.
772
+ */
773
+ rewriteTo: string;
774
+ }
775
+ export interface LoadbalancerFrontendRuleActionsHttpRewriteUri {
776
+ /**
777
+ * Regex pattern to match against the request URI.
778
+ */
779
+ matchPattern: string;
780
+ /**
781
+ * Replacement pattern.
782
+ */
783
+ rewriteTo: string;
784
+ }
757
785
  export interface LoadbalancerFrontendRuleActionsSetForwardedHeader {
758
786
  active: boolean;
759
787
  }
@@ -1394,6 +1422,10 @@ export interface ManagedDatabaseMysqlProperties {
1394
1422
  * The slowQueryLogs work as SQL statements that take more than longQueryTime seconds to execute.
1395
1423
  */
1396
1424
  longQueryTime: number;
1425
+ /**
1426
+ * Sets how table and database names are stored and compared. 0 = case-sensitive (default), 1 = names stored lowercase, comparisons are case-insensitive. This option can only be set when creating the service and cannot be changed later. See https://dev.mysql.com/doc/refman/8.0/en/identifier-case-sensitivity.html for details.
1427
+ */
1428
+ lowerCaseTableNames: number;
1397
1429
  /**
1398
1430
  * Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
1399
1431
  */
@@ -1426,6 +1458,10 @@ export interface ManagedDatabaseMysqlProperties {
1426
1458
  * Public Access. Allow access to the service from the public Internet.
1427
1459
  */
1428
1460
  publicAccess: boolean;
1461
+ /**
1462
+ * Prometheus Public Access. Allow access to Prometheus metrics from the public Internet.
1463
+ */
1464
+ publicAccessPrometheus: boolean;
1429
1465
  /**
1430
1466
  * Service logging. Store logs for the service so that they are available in the HTTP API and console.
1431
1467
  */
@@ -1789,7 +1825,11 @@ export interface ManagedDatabaseOpensearchProperties {
1789
1825
  */
1790
1826
  publicAccess: boolean;
1791
1827
  /**
1792
- * Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
1828
+ * Prometheus Public Access. Allow access to Prometheus metrics from the public Internet.
1829
+ */
1830
+ publicAccessPrometheus: boolean;
1831
+ /**
1832
+ * reindex_remote_allowlist. Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
1793
1833
  */
1794
1834
  reindexRemoteWhitelists: string[];
1795
1835
  remoteStore?: outputs.ManagedDatabaseOpensearchPropertiesRemoteStore;
@@ -2607,7 +2647,7 @@ export interface ManagedDatabasePostgresqlProperties {
2607
2647
  */
2608
2648
  logTempFiles: number;
2609
2649
  /**
2610
- * Sets the PostgreSQL maximum number of concurrent connections to the database server. This is a limited-release parameter. Contact your account team to confirm your eligibility. You cannot decrease this parameter value when set. For services with a read replica, first increase the read replica's value. After the change is applied to the replica, you can increase the primary service's value. Changing this parameter causes a service restart.
2650
+ * Sets the PostgreSQL maximum number of concurrent connections to the database server. For services with a read replica, first increase the read replica's value. After the change is applied to the replica, you can increase the primary service's value. Changing this parameter causes a service restart.
2611
2651
  */
2612
2652
  maxConnections: number;
2613
2653
  /**
@@ -2619,7 +2659,7 @@ export interface ManagedDatabasePostgresqlProperties {
2619
2659
  */
2620
2660
  maxLocksPerTransaction: number;
2621
2661
  /**
2622
- * PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is `4` (upstream default). Changing this parameter causes a service restart.
2662
+ * PostgreSQL maximum logical replication workers (taken from the pool defined by max_worker_processes). The default is `4` (upstream default). Changing this parameter causes a service restart.
2623
2663
  */
2624
2664
  maxLogicalReplicationWorkers: number;
2625
2665
  /**
@@ -2722,6 +2762,10 @@ export interface ManagedDatabasePostgresqlProperties {
2722
2762
  * Public Access. Allow access to the service from the public Internet.
2723
2763
  */
2724
2764
  publicAccess: boolean;
2765
+ /**
2766
+ * Prometheus Public Access. Allow access to Prometheus metrics from the public Internet.
2767
+ */
2768
+ publicAccessPrometheus: boolean;
2725
2769
  /**
2726
2770
  * Service logging. Store logs for the service so that they are available in the HTTP API and console.
2727
2771
  */
@@ -2730,8 +2774,13 @@ export interface ManagedDatabasePostgresqlProperties {
2730
2774
  * Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the sharedBuffers configuration value. Changing this parameter causes a service restart.
2731
2775
  */
2732
2776
  sharedBuffersPercentage: number;
2777
+ switchoverWindows: string[];
2778
+ /**
2779
+ * Sets the current transaction's synchronization level. The default is `off`. This setting takes precedence over `synchronousReplication`.
2780
+ */
2781
+ synchronousCommit: string;
2733
2782
  /**
2734
- * Synchronous replication type. Note that the service plan also needs to support synchronous replication.
2783
+ * Synchronous replication type. (deprecated, use synchronousCommit instead). Note that the service plan also needs to support synchronous replication. This setting is deprecated. Use synchronousCommit instead. Any change to this setting will automatically update synchronous_commit. Setting the value to quorum changes synchronousCommit to remote_write, while setting it to off changes synchronousCommit to off.
2735
2784
  */
2736
2785
  synchronousReplication: string;
2737
2786
  /**
@@ -3062,6 +3111,10 @@ export interface ManagedDatabaseValkeyProperties {
3062
3111
  * Public Access. Allow access to the service from the public Internet.
3063
3112
  */
3064
3113
  publicAccess: boolean;
3114
+ /**
3115
+ * Prometheus Public Access. Allow access to Prometheus metrics from the public Internet.
3116
+ */
3117
+ publicAccessPrometheus: boolean;
3065
3118
  /**
3066
3119
  * Service logging. Store logs for the service so that they are available in the HTTP API and console.
3067
3120
  */
@@ -3114,6 +3167,10 @@ export interface ManagedDatabaseValkeyProperties {
3114
3167
  * Valkey idle connection timeout in seconds.
3115
3168
  */
3116
3169
  valkeyTimeout: number;
3170
+ /**
3171
+ * Valkey major version.
3172
+ */
3173
+ valkeyVersion: string;
3117
3174
  }
3118
3175
  export interface ManagedDatabaseValkeyPropertiesMigration {
3119
3176
  /**