@pulumi/digitalocean 4.43.0 → 4.44.0-alpha.1746675575
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/databaseCluster.d.ts +11 -11
- package/databaseCluster.js +5 -5
- package/package.json +2 -2
package/databaseCluster.d.ts
CHANGED
|
@@ -37,15 +37,15 @@ import * as enums from "./types/enums";
|
|
|
37
37
|
* });
|
|
38
38
|
* ```
|
|
39
39
|
*
|
|
40
|
-
* ### Create a new
|
|
40
|
+
* ### Create a new Valkey database cluster
|
|
41
41
|
* ```typescript
|
|
42
42
|
* import * as pulumi from "@pulumi/pulumi";
|
|
43
43
|
* import * as digitalocean from "@pulumi/digitalocean";
|
|
44
44
|
*
|
|
45
|
-
* const
|
|
46
|
-
* name: "example-
|
|
47
|
-
* engine: "
|
|
48
|
-
* version: "
|
|
45
|
+
* const valkey_example = new digitalocean.DatabaseCluster("valkey-example", {
|
|
46
|
+
* name: "example-valkey-cluster",
|
|
47
|
+
* engine: "valkey",
|
|
48
|
+
* version: "8",
|
|
49
49
|
* size: digitalocean.DatabaseSlug.DB_1VPCU1GB,
|
|
50
50
|
* region: digitalocean.Region.NYC1,
|
|
51
51
|
* nodeCount: 1,
|
|
@@ -162,11 +162,11 @@ export declare class DatabaseCluster extends pulumi.CustomResource {
|
|
|
162
162
|
*/
|
|
163
163
|
readonly database: pulumi.Output<string>;
|
|
164
164
|
/**
|
|
165
|
-
* Database engine used by the cluster (ex. `pg` for PostgreSQL, `mysql` for MySQL, `
|
|
165
|
+
* Database engine used by the cluster (ex. `pg` for PostgreSQL, `mysql` for MySQL, `valkey` for Valkey, `mongodb` for MongoDB, or `kafka` for Kafka).
|
|
166
166
|
*/
|
|
167
167
|
readonly engine: pulumi.Output<string>;
|
|
168
168
|
/**
|
|
169
|
-
* A string specifying the eviction policy for a
|
|
169
|
+
* A string specifying the eviction policy for a Valkey cluster. Valid values are: `noeviction`, `allkeysLru`, `allkeysRandom`, `volatileLru`, `volatileRandom`, or `volatileTtl`.
|
|
170
170
|
*/
|
|
171
171
|
readonly evictionPolicy: pulumi.Output<string | undefined>;
|
|
172
172
|
/**
|
|
@@ -289,11 +289,11 @@ export interface DatabaseClusterState {
|
|
|
289
289
|
*/
|
|
290
290
|
database?: pulumi.Input<string>;
|
|
291
291
|
/**
|
|
292
|
-
* Database engine used by the cluster (ex. `pg` for PostgreSQL, `mysql` for MySQL, `
|
|
292
|
+
* Database engine used by the cluster (ex. `pg` for PostgreSQL, `mysql` for MySQL, `valkey` for Valkey, `mongodb` for MongoDB, or `kafka` for Kafka).
|
|
293
293
|
*/
|
|
294
294
|
engine?: pulumi.Input<string>;
|
|
295
295
|
/**
|
|
296
|
-
* A string specifying the eviction policy for a
|
|
296
|
+
* A string specifying the eviction policy for a Valkey cluster. Valid values are: `noeviction`, `allkeysLru`, `allkeysRandom`, `volatileLru`, `volatileRandom`, or `volatileTtl`.
|
|
297
297
|
*/
|
|
298
298
|
evictionPolicy?: pulumi.Input<string>;
|
|
299
299
|
/**
|
|
@@ -400,11 +400,11 @@ export interface DatabaseClusterState {
|
|
|
400
400
|
export interface DatabaseClusterArgs {
|
|
401
401
|
backupRestore?: pulumi.Input<inputs.DatabaseClusterBackupRestore>;
|
|
402
402
|
/**
|
|
403
|
-
* Database engine used by the cluster (ex. `pg` for PostgreSQL, `mysql` for MySQL, `
|
|
403
|
+
* Database engine used by the cluster (ex. `pg` for PostgreSQL, `mysql` for MySQL, `valkey` for Valkey, `mongodb` for MongoDB, or `kafka` for Kafka).
|
|
404
404
|
*/
|
|
405
405
|
engine: pulumi.Input<string>;
|
|
406
406
|
/**
|
|
407
|
-
* A string specifying the eviction policy for a
|
|
407
|
+
* A string specifying the eviction policy for a Valkey cluster. Valid values are: `noeviction`, `allkeysLru`, `allkeysRandom`, `volatileLru`, `volatileRandom`, or `volatileTtl`.
|
|
408
408
|
*/
|
|
409
409
|
evictionPolicy?: pulumi.Input<string>;
|
|
410
410
|
/**
|
package/databaseCluster.js
CHANGED
|
@@ -40,15 +40,15 @@ const utilities = require("./utilities");
|
|
|
40
40
|
* });
|
|
41
41
|
* ```
|
|
42
42
|
*
|
|
43
|
-
* ### Create a new
|
|
43
|
+
* ### Create a new Valkey database cluster
|
|
44
44
|
* ```typescript
|
|
45
45
|
* import * as pulumi from "@pulumi/pulumi";
|
|
46
46
|
* import * as digitalocean from "@pulumi/digitalocean";
|
|
47
47
|
*
|
|
48
|
-
* const
|
|
49
|
-
* name: "example-
|
|
50
|
-
* engine: "
|
|
51
|
-
* version: "
|
|
48
|
+
* const valkey_example = new digitalocean.DatabaseCluster("valkey-example", {
|
|
49
|
+
* name: "example-valkey-cluster",
|
|
50
|
+
* engine: "valkey",
|
|
51
|
+
* version: "8",
|
|
52
52
|
* size: digitalocean.DatabaseSlug.DB_1VPCU1GB,
|
|
53
53
|
* region: digitalocean.Region.NYC1,
|
|
54
54
|
* nodeCount: 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/digitalocean",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.44.0-alpha.1746675575",
|
|
4
4
|
"description": "A Pulumi package for creating and managing DigitalOcean cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "digitalocean",
|
|
25
|
-
"version": "4.
|
|
25
|
+
"version": "4.44.0-alpha.1746675575"
|
|
26
26
|
}
|
|
27
27
|
}
|