@upcloud/pulumi-upcloud 0.7.1 → 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/types/input.d.ts CHANGED
@@ -604,146 +604,6 @@ export interface GetManagedDatabasePostgresqlSessionsSessionArgs {
604
604
  */
605
605
  xactStart?: pulumi.Input<string>;
606
606
  }
607
- export interface GetManagedDatabaseRedisSessionsSession {
608
- /**
609
- * Number of active channel subscriptions
610
- */
611
- activeChannelSubscriptions?: number;
612
- /**
613
- * Current database ID
614
- */
615
- activeDatabase?: string;
616
- /**
617
- * Number of pattern matching subscriptions.
618
- */
619
- activePatternMatchingChannelSubscriptions?: number;
620
- /**
621
- * Name of the application that is connected to this service.
622
- */
623
- applicationName?: string;
624
- /**
625
- * Number of pattern matching subscriptions.
626
- */
627
- clientAddr?: string;
628
- /**
629
- * Total duration of the connection in nanoseconds.
630
- */
631
- connectionAge?: number;
632
- /**
633
- * Idle time of the connection in nanoseconds.
634
- */
635
- connectionIdle?: number;
636
- /**
637
- * A set containing flags' descriptions.
638
- */
639
- flags?: string[];
640
- /**
641
- * Client connection flags in raw string format.
642
- */
643
- flagsRaw?: string;
644
- /**
645
- * Process ID of this session.
646
- */
647
- id?: string;
648
- /**
649
- * Number of commands in a MULTI/EXEC context.
650
- */
651
- multiExecCommands?: number;
652
- /**
653
- * Output buffer length.
654
- */
655
- outputBuffer?: number;
656
- /**
657
- * Output buffer memory usage.
658
- */
659
- outputBufferMemory?: number;
660
- /**
661
- * Output list length (replies are queued in this list when the buffer is full).
662
- */
663
- outputListLength?: number;
664
- /**
665
- * The last executed command.
666
- */
667
- query?: string;
668
- /**
669
- * Query buffer length (0 means no query pending).
670
- */
671
- queryBuffer?: number;
672
- /**
673
- * Free space of the query buffer (0 means the buffer is full).
674
- */
675
- queryBufferFree?: number;
676
- }
677
- export interface GetManagedDatabaseRedisSessionsSessionArgs {
678
- /**
679
- * Number of active channel subscriptions
680
- */
681
- activeChannelSubscriptions?: pulumi.Input<number>;
682
- /**
683
- * Current database ID
684
- */
685
- activeDatabase?: pulumi.Input<string>;
686
- /**
687
- * Number of pattern matching subscriptions.
688
- */
689
- activePatternMatchingChannelSubscriptions?: pulumi.Input<number>;
690
- /**
691
- * Name of the application that is connected to this service.
692
- */
693
- applicationName?: pulumi.Input<string>;
694
- /**
695
- * Number of pattern matching subscriptions.
696
- */
697
- clientAddr?: pulumi.Input<string>;
698
- /**
699
- * Total duration of the connection in nanoseconds.
700
- */
701
- connectionAge?: pulumi.Input<number>;
702
- /**
703
- * Idle time of the connection in nanoseconds.
704
- */
705
- connectionIdle?: pulumi.Input<number>;
706
- /**
707
- * A set containing flags' descriptions.
708
- */
709
- flags?: pulumi.Input<pulumi.Input<string>[]>;
710
- /**
711
- * Client connection flags in raw string format.
712
- */
713
- flagsRaw?: pulumi.Input<string>;
714
- /**
715
- * Process ID of this session.
716
- */
717
- id?: pulumi.Input<string>;
718
- /**
719
- * Number of commands in a MULTI/EXEC context.
720
- */
721
- multiExecCommands?: pulumi.Input<number>;
722
- /**
723
- * Output buffer length.
724
- */
725
- outputBuffer?: pulumi.Input<number>;
726
- /**
727
- * Output buffer memory usage.
728
- */
729
- outputBufferMemory?: pulumi.Input<number>;
730
- /**
731
- * Output list length (replies are queued in this list when the buffer is full).
732
- */
733
- outputListLength?: pulumi.Input<number>;
734
- /**
735
- * The last executed command.
736
- */
737
- query?: pulumi.Input<string>;
738
- /**
739
- * Query buffer length (0 means no query pending).
740
- */
741
- queryBuffer?: pulumi.Input<number>;
742
- /**
743
- * Free space of the query buffer (0 means the buffer is full).
744
- */
745
- queryBufferFree?: pulumi.Input<number>;
746
- }
747
607
  export interface GetManagedDatabaseValkeySessionsSession {
748
608
  /**
749
609
  * Number of active channel subscriptions
@@ -1957,7 +1817,7 @@ export interface ManagedDatabaseOpensearchProperties {
1957
1817
  clusterRoutingAllocationNodeConcurrentRecoveries?: pulumi.Input<number>;
1958
1818
  clusterSearchRequestSlowlog?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesClusterSearchRequestSlowlog>;
1959
1819
  /**
1960
- * Custom domain. Serve the web frontend using a custom CNAME pointing to the Aiven DNS name.
1820
+ * 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.
1961
1821
  */
1962
1822
  customDomain?: pulumi.Input<string>;
1963
1823
  /**
@@ -2088,6 +1948,10 @@ export interface ManagedDatabaseOpensearchProperties {
2088
1948
  * How long audit history indices are kept in days.
2089
1949
  */
2090
1950
  ismHistoryRolloverRetentionPeriod?: pulumi.Input<number>;
1951
+ /**
1952
+ * OpenSearch JWT Configuration.
1953
+ */
1954
+ jwt?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesJwt>;
2091
1955
  /**
2092
1956
  * 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.
2093
1957
  */
@@ -2333,6 +2197,44 @@ export interface ManagedDatabaseOpensearchPropertiesIndexTemplate {
2333
2197
  */
2334
2198
  numberOfShards?: pulumi.Input<number>;
2335
2199
  }
2200
+ export interface ManagedDatabaseOpensearchPropertiesJwt {
2201
+ /**
2202
+ * Enable or disable OpenSearch JWT authentication. Enables or disables JWT-based authentication for OpenSearch. When enabled, users can authenticate using JWT tokens.
2203
+ */
2204
+ enabled?: pulumi.Input<boolean>;
2205
+ /**
2206
+ * 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.
2207
+ */
2208
+ jwtClockSkewToleranceSeconds?: pulumi.Input<number>;
2209
+ /**
2210
+ * HTTP header name for JWT token. The HTTP header name where the JWT token is transmitted. Typically 'Authorization' for Bearer tokens.
2211
+ */
2212
+ jwtHeader?: pulumi.Input<string>;
2213
+ /**
2214
+ * 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.
2215
+ */
2216
+ jwtUrlParameter?: pulumi.Input<string>;
2217
+ /**
2218
+ * 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.
2219
+ */
2220
+ requiredAudience?: pulumi.Input<string>;
2221
+ /**
2222
+ * 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.
2223
+ */
2224
+ requiredIssuer?: pulumi.Input<string>;
2225
+ /**
2226
+ * 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.
2227
+ */
2228
+ rolesKey?: pulumi.Input<string>;
2229
+ /**
2230
+ * 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.
2231
+ */
2232
+ signingKey?: pulumi.Input<string>;
2233
+ /**
2234
+ * 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.
2235
+ */
2236
+ subjectKey?: pulumi.Input<string>;
2237
+ }
2336
2238
  export interface ManagedDatabaseOpensearchPropertiesOpenid {
2337
2239
  /**
2338
2240
  * The ID of the OpenID Connect client. The ID of the OpenID Connect client configured in your IdP. Required.
@@ -2836,6 +2738,26 @@ export interface ManagedDatabasePostgresqlProperties {
2836
2738
  * Time out sessions with open transactions after this number of milliseconds.
2837
2739
  */
2838
2740
  idleInTransactionSessionTimeout?: pulumi.Input<number>;
2741
+ /**
2742
+ * EXPERIMENTAL: Controls the largest I/O size in operations that combine I/O in 8kB units. Version 17 and up only.
2743
+ */
2744
+ ioCombineLimit?: pulumi.Input<number>;
2745
+ /**
2746
+ * 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.
2747
+ */
2748
+ ioMaxCombineLimit?: pulumi.Input<number>;
2749
+ /**
2750
+ * 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.
2751
+ */
2752
+ ioMaxConcurrency?: pulumi.Input<number>;
2753
+ /**
2754
+ * 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.
2755
+ */
2756
+ ioMethod?: pulumi.Input<string>;
2757
+ /**
2758
+ * 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.
2759
+ */
2760
+ ioWorkers?: pulumi.Input<number>;
2839
2761
  /**
2840
2762
  * IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
2841
2763
  */
@@ -2932,6 +2854,10 @@ export interface ManagedDatabasePostgresqlProperties {
2932
2854
  * Migrate data from existing server.
2933
2855
  */
2934
2856
  migration?: pulumi.Input<inputs.ManagedDatabasePostgresqlPropertiesMigration>;
2857
+ /**
2858
+ * Number of nodes for the service.
2859
+ */
2860
+ nodeCount?: pulumi.Input<number>;
2935
2861
  /**
2936
2862
  * Chooses the algorithm for encrypting passwords.
2937
2863
  */
@@ -3193,176 +3119,6 @@ export interface ManagedDatabasePostgresqlPropertiesTimescaledb {
3193
3119
  */
3194
3120
  maxBackgroundWorkers?: pulumi.Input<number>;
3195
3121
  }
3196
- export interface ManagedDatabaseRedisComponent {
3197
- /**
3198
- * Type of the component
3199
- */
3200
- component?: pulumi.Input<string>;
3201
- /**
3202
- * Hostname of the component
3203
- */
3204
- host?: pulumi.Input<string>;
3205
- /**
3206
- * Port number of the component
3207
- */
3208
- port?: pulumi.Input<number>;
3209
- /**
3210
- * Component network route type
3211
- */
3212
- route?: pulumi.Input<string>;
3213
- /**
3214
- * Usage of the component
3215
- */
3216
- usage?: pulumi.Input<string>;
3217
- }
3218
- export interface ManagedDatabaseRedisNetwork {
3219
- /**
3220
- * Network family. Currently only `IPv4` is supported.
3221
- */
3222
- family: pulumi.Input<string>;
3223
- /**
3224
- * The name of the network. Must be unique within the service.
3225
- */
3226
- name: pulumi.Input<string>;
3227
- /**
3228
- * The type of the network. Must be private.
3229
- */
3230
- type: pulumi.Input<string>;
3231
- /**
3232
- * Private network UUID. Must reside in the same zone as the database.
3233
- */
3234
- uuid: pulumi.Input<string>;
3235
- }
3236
- export interface ManagedDatabaseRedisNodeState {
3237
- /**
3238
- * Name plus a node iteration
3239
- */
3240
- name?: pulumi.Input<string>;
3241
- /**
3242
- * Role of the node
3243
- */
3244
- role?: pulumi.Input<string>;
3245
- /**
3246
- * State of the node
3247
- */
3248
- state?: pulumi.Input<string>;
3249
- }
3250
- export interface ManagedDatabaseRedisProperties {
3251
- /**
3252
- * Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
3253
- */
3254
- automaticUtilityNetworkIpFilter?: pulumi.Input<boolean>;
3255
- /**
3256
- * The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
3257
- */
3258
- backupHour?: pulumi.Input<number>;
3259
- /**
3260
- * The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
3261
- */
3262
- backupMinute?: pulumi.Input<number>;
3263
- /**
3264
- * IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
3265
- */
3266
- ipFilters?: pulumi.Input<pulumi.Input<string>[]>;
3267
- /**
3268
- * Migrate data from existing server.
3269
- */
3270
- migration?: pulumi.Input<inputs.ManagedDatabaseRedisPropertiesMigration>;
3271
- /**
3272
- * Public Access. Allow access to the service from the public Internet.
3273
- */
3274
- publicAccess?: pulumi.Input<boolean>;
3275
- /**
3276
- * 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.
3277
- */
3278
- redisAclChannelsDefault?: pulumi.Input<string>;
3279
- /**
3280
- * Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service.
3281
- */
3282
- redisIoThreads?: pulumi.Input<number>;
3283
- /**
3284
- * LFU maxmemory-policy counter decay time in minutes.
3285
- */
3286
- redisLfuDecayTime?: pulumi.Input<number>;
3287
- /**
3288
- * Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
3289
- */
3290
- redisLfuLogFactor?: pulumi.Input<number>;
3291
- /**
3292
- * Redis maxmemory-policy.
3293
- */
3294
- redisMaxmemoryPolicy?: pulumi.Input<string>;
3295
- /**
3296
- * Set notify-keyspace-events option.
3297
- */
3298
- redisNotifyKeyspaceEvents?: pulumi.Input<string>;
3299
- /**
3300
- * Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service.
3301
- */
3302
- redisNumberOfDatabases?: pulumi.Input<number>;
3303
- /**
3304
- * 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.
3305
- */
3306
- redisPersistence?: pulumi.Input<string>;
3307
- /**
3308
- * 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.
3309
- */
3310
- redisPubsubClientOutputBufferLimit?: pulumi.Input<number>;
3311
- /**
3312
- * Require SSL to access Redis.
3313
- */
3314
- redisSsl?: pulumi.Input<boolean>;
3315
- /**
3316
- * Redis idle connection timeout in seconds.
3317
- */
3318
- redisTimeout?: pulumi.Input<number>;
3319
- /**
3320
- * Redis major version.
3321
- */
3322
- redisVersion?: pulumi.Input<string>;
3323
- /**
3324
- * Service logging. Store logs for the service so that they are available in the HTTP API and console.
3325
- */
3326
- serviceLog?: pulumi.Input<boolean>;
3327
- }
3328
- export interface ManagedDatabaseRedisPropertiesMigration {
3329
- /**
3330
- * Database name for bootstrapping the initial connection.
3331
- */
3332
- dbname?: pulumi.Input<string>;
3333
- /**
3334
- * Hostname or IP address of the server where to migrate data from.
3335
- */
3336
- host?: pulumi.Input<string>;
3337
- /**
3338
- * Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
3339
- */
3340
- ignoreDbs?: pulumi.Input<string>;
3341
- /**
3342
- * Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
3343
- */
3344
- ignoreRoles?: pulumi.Input<string>;
3345
- /**
3346
- * The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
3347
- */
3348
- method?: pulumi.Input<string>;
3349
- /**
3350
- * Password for authentication with the server where to migrate data from.
3351
- */
3352
- password?: pulumi.Input<string>;
3353
- /**
3354
- * Port number of the server where to migrate data from.
3355
- */
3356
- port?: pulumi.Input<number>;
3357
- /**
3358
- * The server where to migrate data from is secured with SSL.
3359
- */
3360
- ssl?: pulumi.Input<boolean>;
3361
- /**
3362
- * User name for authentication with the server where to migrate data from.
3363
- */
3364
- username?: pulumi.Input<string>;
3365
- }
3366
3122
  export interface ManagedDatabaseUserOpensearchAccessControl {
3367
3123
  /**
3368
3124
  * Set user access control rules.
@@ -3385,24 +3141,6 @@ export interface ManagedDatabaseUserPgAccessControl {
3385
3141
  */
3386
3142
  allowReplication?: pulumi.Input<boolean>;
3387
3143
  }
3388
- export interface ManagedDatabaseUserRedisAccessControl {
3389
- /**
3390
- * Set access control to all commands in specified categories.
3391
- */
3392
- categories?: pulumi.Input<string>;
3393
- /**
3394
- * Set access control to Pub/Sub channels.
3395
- */
3396
- channels?: pulumi.Input<string>;
3397
- /**
3398
- * Set access control to commands.
3399
- */
3400
- commands?: pulumi.Input<string>;
3401
- /**
3402
- * Set access control to keys.
3403
- */
3404
- keys?: pulumi.Input<string>;
3405
- }
3406
3144
  export interface ManagedDatabaseUserValkeyAccessControl {
3407
3145
  /**
3408
3146
  * Set access control to all commands in specified categories.