@pulumi/linode 3.8.0 → 3.9.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.
Files changed (59) hide show
  1. package/databaseAccessControls.d.ts +102 -0
  2. package/databaseAccessControls.js +92 -0
  3. package/databaseAccessControls.js.map +1 -0
  4. package/databaseMongodb.d.ts +377 -0
  5. package/databaseMongodb.js +209 -0
  6. package/databaseMongodb.js.map +1 -0
  7. package/databaseMysql.d.ts +38 -6
  8. package/databaseMysql.js +23 -2
  9. package/databaseMysql.js.map +1 -1
  10. package/databasePostgresql.d.ts +353 -0
  11. package/databasePostgresql.js +199 -0
  12. package/databasePostgresql.js.map +1 -0
  13. package/firewall.d.ts +2 -1
  14. package/firewall.js +2 -1
  15. package/firewall.js.map +1 -1
  16. package/getDatabaseBackups.d.ts +116 -0
  17. package/getDatabaseBackups.js +71 -0
  18. package/getDatabaseBackups.js.map +1 -0
  19. package/getDatabaseEngines.d.ts +0 -2
  20. package/getDatabaseEngines.js +0 -2
  21. package/getDatabaseEngines.js.map +1 -1
  22. package/getDatabaseMongodb.d.ts +137 -0
  23. package/getDatabaseMongodb.js +103 -0
  24. package/getDatabaseMongodb.js.map +1 -0
  25. package/getDatabaseMysql.d.ts +125 -0
  26. package/getDatabaseMysql.js +95 -0
  27. package/getDatabaseMysql.js.map +1 -0
  28. package/getDatabaseMysqlBackups.d.ts +1 -1
  29. package/getDatabaseMysqlBackups.js +1 -1
  30. package/getDatabasePostgresql.d.ts +129 -0
  31. package/getDatabasePostgresql.js +97 -0
  32. package/getDatabasePostgresql.js.map +1 -0
  33. package/getDatabases.d.ts +0 -2
  34. package/getDatabases.js +0 -2
  35. package/getDatabases.js.map +1 -1
  36. package/getIpv6Range.d.ts +62 -0
  37. package/getIpv6Range.js +49 -0
  38. package/getIpv6Range.js.map +1 -0
  39. package/index.d.ts +9 -0
  40. package/index.js +25 -0
  41. package/index.js.map +1 -1
  42. package/instance.d.ts +15 -3
  43. package/instance.js +2 -0
  44. package/instance.js.map +1 -1
  45. package/instanceIp.d.ts +2 -1
  46. package/instanceIp.js +2 -1
  47. package/instanceIp.js.map +1 -1
  48. package/instanceSharedIps.d.ts +60 -0
  49. package/instanceSharedIps.js +57 -0
  50. package/instanceSharedIps.js.map +1 -0
  51. package/ipv6Range.d.ts +3 -3
  52. package/lkeCluster.d.ts +6 -6
  53. package/lkeCluster.js +6 -6
  54. package/package.json +2 -2
  55. package/package.json.dev +2 -2
  56. package/stackScript.d.ts +1 -1
  57. package/stackScript.js +1 -1
  58. package/types/input.d.ts +69 -17
  59. package/types/output.d.ts +65 -0
@@ -0,0 +1,353 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ /**
4
+ * Provides a Linode PostgreSQL Database resource. This can be used to create, modify, and delete Linode PostgreSQL Databases.
5
+ * For more information, see the [Linode APIv4 docs](https://www.linode.com/docs/api/databases/).
6
+ *
7
+ * Please keep in mind that Managed Databases can take up to an hour to provision.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * Creating a simple PostgreSQL database instance:
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as linode from "@pulumi/linode";
16
+ *
17
+ * const foobar = new linode.DatabasePostgresql("foobar", {
18
+ * engineId: "postgresql/13.2",
19
+ * label: "mydatabase",
20
+ * region: "us-southeast",
21
+ * type: "g6-nanode-1",
22
+ * });
23
+ * ```
24
+ *
25
+ * Creating a complex PostgreSQL database instance:
26
+ *
27
+ * ```typescript
28
+ * import * as pulumi from "@pulumi/pulumi";
29
+ * import * as linode from "@pulumi/linode";
30
+ *
31
+ * const foobar = new linode.DatabasePostgresql("foobar", {
32
+ * allowLists: ["0.0.0.0/0"],
33
+ * clusterSize: 3,
34
+ * encrypted: true,
35
+ * engineId: "postgresql/13.2",
36
+ * label: "mydatabase",
37
+ * region: "us-southeast",
38
+ * replicationCommitType: "remote_write",
39
+ * replicationType: "semi_synch",
40
+ * sslConnection: true,
41
+ * type: "g6-nanode-1",
42
+ * updates: {
43
+ * dayOfWeek: "saturday",
44
+ * duration: 1,
45
+ * frequency: "monthly",
46
+ * hourOfDay: 22,
47
+ * weekOfMonth: 2,
48
+ * },
49
+ * });
50
+ * ```
51
+ * ## updates
52
+ *
53
+ * The following arguments are supported in the `updates` specification block:
54
+ *
55
+ * * `dayOfWeek` - (Required) The day to perform maintenance. (`monday`, `tuesday`, ...)
56
+ *
57
+ * * `duration` - (Required) The maximum maintenance window time in hours. (`1`..`3`)
58
+ *
59
+ * * `frequency` - (Required) Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
60
+ *
61
+ * * `hourOfDay` - (Required) The hour to begin maintenance based in UTC time. (`0`..`23`)
62
+ *
63
+ * * `weekOfMonth` - (Optional) The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
64
+ *
65
+ * ## Attributes
66
+ *
67
+ * In addition to all arguments above, the following attributes are exported:
68
+ *
69
+ * * `id` - The ID of the Managed Database.
70
+ *
71
+ * * `caCert` - The base64-encoded SSL CA certificate for the Managed Database instance.
72
+ *
73
+ * * `created` - When this Managed Database was created.
74
+ *
75
+ * * `engine` - The Managed Database engine. (e.g. `postgresql`)
76
+ *
77
+ * * `hostPrimary` - The primary host for the Managed Database.
78
+ *
79
+ * * `hostSecondary` - The secondary/private network host for the Managed Database.
80
+ *
81
+ * * `rootPassword` - The randomly-generated root password for the Managed Database instance.
82
+ *
83
+ * * `rootUsername` - The root username for the Managed Database instance.
84
+ *
85
+ * * `status` - The operating status of the Managed Database.
86
+ *
87
+ * * `updated` - When this Managed Database was last updated.
88
+ *
89
+ * * `version` - The Managed Database engine version. (e.g. `13.2`)
90
+ *
91
+ * ## Import
92
+ *
93
+ * Linode PostgreSQL Databases can be imported using the `id`, e.g.
94
+ *
95
+ * ```sh
96
+ * $ pulumi import linode:index/databasePostgresql:DatabasePostgresql foobar 1234567
97
+ * ```
98
+ */
99
+ export declare class DatabasePostgresql extends pulumi.CustomResource {
100
+ /**
101
+ * Get an existing DatabasePostgresql resource's state with the given name, ID, and optional extra
102
+ * properties used to qualify the lookup.
103
+ *
104
+ * @param name The _unique_ name of the resulting resource.
105
+ * @param id The _unique_ provider ID of the resource to lookup.
106
+ * @param state Any extra arguments used during the lookup.
107
+ * @param opts Optional settings to control the behavior of the CustomResource.
108
+ */
109
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatabasePostgresqlState, opts?: pulumi.CustomResourceOptions): DatabasePostgresql;
110
+ /**
111
+ * Returns true if the given object is an instance of DatabasePostgresql. This is designed to work even
112
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
113
+ */
114
+ static isInstance(obj: any): obj is DatabasePostgresql;
115
+ /**
116
+ * A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use `linode.DatabaseAccessControls` to manage your allow list separately.
117
+ */
118
+ readonly allowLists: pulumi.Output<string[]>;
119
+ /**
120
+ * The base64-encoded SSL CA certificate for the Managed Database instance.
121
+ */
122
+ readonly caCert: pulumi.Output<string>;
123
+ /**
124
+ * The number of Linode Instance nodes deployed to the Managed Database. (default `1`)
125
+ */
126
+ readonly clusterSize: pulumi.Output<number | undefined>;
127
+ /**
128
+ * When this Managed Database was created.
129
+ */
130
+ readonly created: pulumi.Output<string>;
131
+ /**
132
+ * Whether the Managed Databases is encrypted. (default `false`)
133
+ */
134
+ readonly encrypted: pulumi.Output<boolean | undefined>;
135
+ /**
136
+ * The Managed Database engine.
137
+ */
138
+ readonly engine: pulumi.Output<string>;
139
+ /**
140
+ * The Managed Database engine in engine/version format. (e.g. `postgresql/13.2`)
141
+ */
142
+ readonly engineId: pulumi.Output<string>;
143
+ /**
144
+ * The primary host for the Managed Database.
145
+ */
146
+ readonly hostPrimary: pulumi.Output<string>;
147
+ /**
148
+ * The secondary host for the Managed Database.
149
+ */
150
+ readonly hostSecondary: pulumi.Output<string>;
151
+ /**
152
+ * A unique, user-defined string referring to the Managed Database.
153
+ */
154
+ readonly label: pulumi.Output<string>;
155
+ /**
156
+ * The access port for this Managed Database.
157
+ */
158
+ readonly port: pulumi.Output<number>;
159
+ /**
160
+ * The region to use for the Managed Database.
161
+ */
162
+ readonly region: pulumi.Output<string>;
163
+ /**
164
+ * The synchronization level of the replicating server. (`on`, `local`, `remoteWrite`, `remoteApply`, `off`; default `off`)
165
+ */
166
+ readonly replicationCommitType: pulumi.Output<string | undefined>;
167
+ /**
168
+ * The replication method used for the Managed Database. (`none`, `asynch`, `semiSynch`; default `none`)
169
+ */
170
+ readonly replicationType: pulumi.Output<string | undefined>;
171
+ /**
172
+ * The randomly-generated root password for the Managed Database instance.
173
+ */
174
+ readonly rootPassword: pulumi.Output<string>;
175
+ /**
176
+ * The root username for the Managed Database instance.
177
+ */
178
+ readonly rootUsername: pulumi.Output<string>;
179
+ /**
180
+ * Whether to require SSL credentials to establish a connection to the Managed Database. (default `false`)
181
+ */
182
+ readonly sslConnection: pulumi.Output<boolean | undefined>;
183
+ /**
184
+ * The operating status of the Managed Database.
185
+ */
186
+ readonly status: pulumi.Output<string>;
187
+ /**
188
+ * The Linode Instance type used for the nodes of the Managed Database instance.
189
+ */
190
+ readonly type: pulumi.Output<string>;
191
+ /**
192
+ * When this Managed Database was last updated.
193
+ */
194
+ readonly updated: pulumi.Output<string>;
195
+ /**
196
+ * Configuration settings for automated patch update maintenance for the Managed Database.
197
+ */
198
+ readonly updates: pulumi.Output<outputs.DatabasePostgresqlUpdates>;
199
+ /**
200
+ * The Managed Database engine version.
201
+ */
202
+ readonly version: pulumi.Output<string>;
203
+ /**
204
+ * Create a DatabasePostgresql resource with the given unique name, arguments, and options.
205
+ *
206
+ * @param name The _unique_ name of the resource.
207
+ * @param args The arguments to use to populate this resource's properties.
208
+ * @param opts A bag of options that control this resource's behavior.
209
+ */
210
+ constructor(name: string, args: DatabasePostgresqlArgs, opts?: pulumi.CustomResourceOptions);
211
+ }
212
+ /**
213
+ * Input properties used for looking up and filtering DatabasePostgresql resources.
214
+ */
215
+ export interface DatabasePostgresqlState {
216
+ /**
217
+ * A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use `linode.DatabaseAccessControls` to manage your allow list separately.
218
+ */
219
+ allowLists?: pulumi.Input<pulumi.Input<string>[]>;
220
+ /**
221
+ * The base64-encoded SSL CA certificate for the Managed Database instance.
222
+ */
223
+ caCert?: pulumi.Input<string>;
224
+ /**
225
+ * The number of Linode Instance nodes deployed to the Managed Database. (default `1`)
226
+ */
227
+ clusterSize?: pulumi.Input<number>;
228
+ /**
229
+ * When this Managed Database was created.
230
+ */
231
+ created?: pulumi.Input<string>;
232
+ /**
233
+ * Whether the Managed Databases is encrypted. (default `false`)
234
+ */
235
+ encrypted?: pulumi.Input<boolean>;
236
+ /**
237
+ * The Managed Database engine.
238
+ */
239
+ engine?: pulumi.Input<string>;
240
+ /**
241
+ * The Managed Database engine in engine/version format. (e.g. `postgresql/13.2`)
242
+ */
243
+ engineId?: pulumi.Input<string>;
244
+ /**
245
+ * The primary host for the Managed Database.
246
+ */
247
+ hostPrimary?: pulumi.Input<string>;
248
+ /**
249
+ * The secondary host for the Managed Database.
250
+ */
251
+ hostSecondary?: pulumi.Input<string>;
252
+ /**
253
+ * A unique, user-defined string referring to the Managed Database.
254
+ */
255
+ label?: pulumi.Input<string>;
256
+ /**
257
+ * The access port for this Managed Database.
258
+ */
259
+ port?: pulumi.Input<number>;
260
+ /**
261
+ * The region to use for the Managed Database.
262
+ */
263
+ region?: pulumi.Input<string>;
264
+ /**
265
+ * The synchronization level of the replicating server. (`on`, `local`, `remoteWrite`, `remoteApply`, `off`; default `off`)
266
+ */
267
+ replicationCommitType?: pulumi.Input<string>;
268
+ /**
269
+ * The replication method used for the Managed Database. (`none`, `asynch`, `semiSynch`; default `none`)
270
+ */
271
+ replicationType?: pulumi.Input<string>;
272
+ /**
273
+ * The randomly-generated root password for the Managed Database instance.
274
+ */
275
+ rootPassword?: pulumi.Input<string>;
276
+ /**
277
+ * The root username for the Managed Database instance.
278
+ */
279
+ rootUsername?: pulumi.Input<string>;
280
+ /**
281
+ * Whether to require SSL credentials to establish a connection to the Managed Database. (default `false`)
282
+ */
283
+ sslConnection?: pulumi.Input<boolean>;
284
+ /**
285
+ * The operating status of the Managed Database.
286
+ */
287
+ status?: pulumi.Input<string>;
288
+ /**
289
+ * The Linode Instance type used for the nodes of the Managed Database instance.
290
+ */
291
+ type?: pulumi.Input<string>;
292
+ /**
293
+ * When this Managed Database was last updated.
294
+ */
295
+ updated?: pulumi.Input<string>;
296
+ /**
297
+ * Configuration settings for automated patch update maintenance for the Managed Database.
298
+ */
299
+ updates?: pulumi.Input<inputs.DatabasePostgresqlUpdates>;
300
+ /**
301
+ * The Managed Database engine version.
302
+ */
303
+ version?: pulumi.Input<string>;
304
+ }
305
+ /**
306
+ * The set of arguments for constructing a DatabasePostgresql resource.
307
+ */
308
+ export interface DatabasePostgresqlArgs {
309
+ /**
310
+ * A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use `linode.DatabaseAccessControls` to manage your allow list separately.
311
+ */
312
+ allowLists?: pulumi.Input<pulumi.Input<string>[]>;
313
+ /**
314
+ * The number of Linode Instance nodes deployed to the Managed Database. (default `1`)
315
+ */
316
+ clusterSize?: pulumi.Input<number>;
317
+ /**
318
+ * Whether the Managed Databases is encrypted. (default `false`)
319
+ */
320
+ encrypted?: pulumi.Input<boolean>;
321
+ /**
322
+ * The Managed Database engine in engine/version format. (e.g. `postgresql/13.2`)
323
+ */
324
+ engineId: pulumi.Input<string>;
325
+ /**
326
+ * A unique, user-defined string referring to the Managed Database.
327
+ */
328
+ label: pulumi.Input<string>;
329
+ /**
330
+ * The region to use for the Managed Database.
331
+ */
332
+ region: pulumi.Input<string>;
333
+ /**
334
+ * The synchronization level of the replicating server. (`on`, `local`, `remoteWrite`, `remoteApply`, `off`; default `off`)
335
+ */
336
+ replicationCommitType?: pulumi.Input<string>;
337
+ /**
338
+ * The replication method used for the Managed Database. (`none`, `asynch`, `semiSynch`; default `none`)
339
+ */
340
+ replicationType?: pulumi.Input<string>;
341
+ /**
342
+ * Whether to require SSL credentials to establish a connection to the Managed Database. (default `false`)
343
+ */
344
+ sslConnection?: pulumi.Input<boolean>;
345
+ /**
346
+ * The Linode Instance type used for the nodes of the Managed Database instance.
347
+ */
348
+ type: pulumi.Input<string>;
349
+ /**
350
+ * Configuration settings for automated patch update maintenance for the Managed Database.
351
+ */
352
+ updates?: pulumi.Input<inputs.DatabasePostgresqlUpdates>;
353
+ }
@@ -0,0 +1,199 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.DatabasePostgresql = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Linode PostgreSQL Database resource. This can be used to create, modify, and delete Linode PostgreSQL Databases.
10
+ * For more information, see the [Linode APIv4 docs](https://www.linode.com/docs/api/databases/).
11
+ *
12
+ * Please keep in mind that Managed Databases can take up to an hour to provision.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * Creating a simple PostgreSQL database instance:
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as linode from "@pulumi/linode";
21
+ *
22
+ * const foobar = new linode.DatabasePostgresql("foobar", {
23
+ * engineId: "postgresql/13.2",
24
+ * label: "mydatabase",
25
+ * region: "us-southeast",
26
+ * type: "g6-nanode-1",
27
+ * });
28
+ * ```
29
+ *
30
+ * Creating a complex PostgreSQL database instance:
31
+ *
32
+ * ```typescript
33
+ * import * as pulumi from "@pulumi/pulumi";
34
+ * import * as linode from "@pulumi/linode";
35
+ *
36
+ * const foobar = new linode.DatabasePostgresql("foobar", {
37
+ * allowLists: ["0.0.0.0/0"],
38
+ * clusterSize: 3,
39
+ * encrypted: true,
40
+ * engineId: "postgresql/13.2",
41
+ * label: "mydatabase",
42
+ * region: "us-southeast",
43
+ * replicationCommitType: "remote_write",
44
+ * replicationType: "semi_synch",
45
+ * sslConnection: true,
46
+ * type: "g6-nanode-1",
47
+ * updates: {
48
+ * dayOfWeek: "saturday",
49
+ * duration: 1,
50
+ * frequency: "monthly",
51
+ * hourOfDay: 22,
52
+ * weekOfMonth: 2,
53
+ * },
54
+ * });
55
+ * ```
56
+ * ## updates
57
+ *
58
+ * The following arguments are supported in the `updates` specification block:
59
+ *
60
+ * * `dayOfWeek` - (Required) The day to perform maintenance. (`monday`, `tuesday`, ...)
61
+ *
62
+ * * `duration` - (Required) The maximum maintenance window time in hours. (`1`..`3`)
63
+ *
64
+ * * `frequency` - (Required) Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
65
+ *
66
+ * * `hourOfDay` - (Required) The hour to begin maintenance based in UTC time. (`0`..`23`)
67
+ *
68
+ * * `weekOfMonth` - (Optional) The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
69
+ *
70
+ * ## Attributes
71
+ *
72
+ * In addition to all arguments above, the following attributes are exported:
73
+ *
74
+ * * `id` - The ID of the Managed Database.
75
+ *
76
+ * * `caCert` - The base64-encoded SSL CA certificate for the Managed Database instance.
77
+ *
78
+ * * `created` - When this Managed Database was created.
79
+ *
80
+ * * `engine` - The Managed Database engine. (e.g. `postgresql`)
81
+ *
82
+ * * `hostPrimary` - The primary host for the Managed Database.
83
+ *
84
+ * * `hostSecondary` - The secondary/private network host for the Managed Database.
85
+ *
86
+ * * `rootPassword` - The randomly-generated root password for the Managed Database instance.
87
+ *
88
+ * * `rootUsername` - The root username for the Managed Database instance.
89
+ *
90
+ * * `status` - The operating status of the Managed Database.
91
+ *
92
+ * * `updated` - When this Managed Database was last updated.
93
+ *
94
+ * * `version` - The Managed Database engine version. (e.g. `13.2`)
95
+ *
96
+ * ## Import
97
+ *
98
+ * Linode PostgreSQL Databases can be imported using the `id`, e.g.
99
+ *
100
+ * ```sh
101
+ * $ pulumi import linode:index/databasePostgresql:DatabasePostgresql foobar 1234567
102
+ * ```
103
+ */
104
+ class DatabasePostgresql extends pulumi.CustomResource {
105
+ constructor(name, argsOrState, opts) {
106
+ let resourceInputs = {};
107
+ opts = opts || {};
108
+ if (opts.id) {
109
+ const state = argsOrState;
110
+ resourceInputs["allowLists"] = state ? state.allowLists : undefined;
111
+ resourceInputs["caCert"] = state ? state.caCert : undefined;
112
+ resourceInputs["clusterSize"] = state ? state.clusterSize : undefined;
113
+ resourceInputs["created"] = state ? state.created : undefined;
114
+ resourceInputs["encrypted"] = state ? state.encrypted : undefined;
115
+ resourceInputs["engine"] = state ? state.engine : undefined;
116
+ resourceInputs["engineId"] = state ? state.engineId : undefined;
117
+ resourceInputs["hostPrimary"] = state ? state.hostPrimary : undefined;
118
+ resourceInputs["hostSecondary"] = state ? state.hostSecondary : undefined;
119
+ resourceInputs["label"] = state ? state.label : undefined;
120
+ resourceInputs["port"] = state ? state.port : undefined;
121
+ resourceInputs["region"] = state ? state.region : undefined;
122
+ resourceInputs["replicationCommitType"] = state ? state.replicationCommitType : undefined;
123
+ resourceInputs["replicationType"] = state ? state.replicationType : undefined;
124
+ resourceInputs["rootPassword"] = state ? state.rootPassword : undefined;
125
+ resourceInputs["rootUsername"] = state ? state.rootUsername : undefined;
126
+ resourceInputs["sslConnection"] = state ? state.sslConnection : undefined;
127
+ resourceInputs["status"] = state ? state.status : undefined;
128
+ resourceInputs["type"] = state ? state.type : undefined;
129
+ resourceInputs["updated"] = state ? state.updated : undefined;
130
+ resourceInputs["updates"] = state ? state.updates : undefined;
131
+ resourceInputs["version"] = state ? state.version : undefined;
132
+ }
133
+ else {
134
+ const args = argsOrState;
135
+ if ((!args || args.engineId === undefined) && !opts.urn) {
136
+ throw new Error("Missing required property 'engineId'");
137
+ }
138
+ if ((!args || args.label === undefined) && !opts.urn) {
139
+ throw new Error("Missing required property 'label'");
140
+ }
141
+ if ((!args || args.region === undefined) && !opts.urn) {
142
+ throw new Error("Missing required property 'region'");
143
+ }
144
+ if ((!args || args.type === undefined) && !opts.urn) {
145
+ throw new Error("Missing required property 'type'");
146
+ }
147
+ resourceInputs["allowLists"] = args ? args.allowLists : undefined;
148
+ resourceInputs["clusterSize"] = args ? args.clusterSize : undefined;
149
+ resourceInputs["encrypted"] = args ? args.encrypted : undefined;
150
+ resourceInputs["engineId"] = args ? args.engineId : undefined;
151
+ resourceInputs["label"] = args ? args.label : undefined;
152
+ resourceInputs["region"] = args ? args.region : undefined;
153
+ resourceInputs["replicationCommitType"] = args ? args.replicationCommitType : undefined;
154
+ resourceInputs["replicationType"] = args ? args.replicationType : undefined;
155
+ resourceInputs["sslConnection"] = args ? args.sslConnection : undefined;
156
+ resourceInputs["type"] = args ? args.type : undefined;
157
+ resourceInputs["updates"] = args ? args.updates : undefined;
158
+ resourceInputs["caCert"] = undefined /*out*/;
159
+ resourceInputs["created"] = undefined /*out*/;
160
+ resourceInputs["engine"] = undefined /*out*/;
161
+ resourceInputs["hostPrimary"] = undefined /*out*/;
162
+ resourceInputs["hostSecondary"] = undefined /*out*/;
163
+ resourceInputs["port"] = undefined /*out*/;
164
+ resourceInputs["rootPassword"] = undefined /*out*/;
165
+ resourceInputs["rootUsername"] = undefined /*out*/;
166
+ resourceInputs["status"] = undefined /*out*/;
167
+ resourceInputs["updated"] = undefined /*out*/;
168
+ resourceInputs["version"] = undefined /*out*/;
169
+ }
170
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
171
+ super(DatabasePostgresql.__pulumiType, name, resourceInputs, opts);
172
+ }
173
+ /**
174
+ * Get an existing DatabasePostgresql resource's state with the given name, ID, and optional extra
175
+ * properties used to qualify the lookup.
176
+ *
177
+ * @param name The _unique_ name of the resulting resource.
178
+ * @param id The _unique_ provider ID of the resource to lookup.
179
+ * @param state Any extra arguments used during the lookup.
180
+ * @param opts Optional settings to control the behavior of the CustomResource.
181
+ */
182
+ static get(name, id, state, opts) {
183
+ return new DatabasePostgresql(name, state, Object.assign(Object.assign({}, opts), { id: id }));
184
+ }
185
+ /**
186
+ * Returns true if the given object is an instance of DatabasePostgresql. This is designed to work even
187
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
188
+ */
189
+ static isInstance(obj) {
190
+ if (obj === undefined || obj === null) {
191
+ return false;
192
+ }
193
+ return obj['__pulumiType'] === DatabasePostgresql.__pulumiType;
194
+ }
195
+ }
196
+ exports.DatabasePostgresql = DatabasePostgresql;
197
+ /** @internal */
198
+ DatabasePostgresql.__pulumiType = 'linode:index/databasePostgresql:DatabasePostgresql';
199
+ //# sourceMappingURL=databasePostgresql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databasePostgresql.js","sourceRoot":"","sources":["../databasePostgresql.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IA6HzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAA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;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDAgMC;AAlLG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
package/firewall.d.ts CHANGED
@@ -5,6 +5,8 @@ import { input as inputs, output as outputs } from "./types";
5
5
  *
6
6
  * ## Example Usage
7
7
  *
8
+ * Accept only inbound HTTP(s) requests and drop outbound HTTP(s) requests:
9
+ *
8
10
  * ```typescript
9
11
  * import * as pulumi from "@pulumi/pulumi";
10
12
  * import * as linode from "@pulumi/linode";
@@ -19,7 +21,6 @@ import { input as inputs, output as outputs } from "./types";
19
21
  * });
20
22
  * const myFirewall = new linode.Firewall("myFirewall", {
21
23
  * label: "my_firewall",
22
- * tags: ["test"],
23
24
  * inbounds: [
24
25
  * {
25
26
  * label: "allow-http",
package/firewall.js CHANGED
@@ -10,6 +10,8 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
+ * Accept only inbound HTTP(s) requests and drop outbound HTTP(s) requests:
14
+ *
13
15
  * ```typescript
14
16
  * import * as pulumi from "@pulumi/pulumi";
15
17
  * import * as linode from "@pulumi/linode";
@@ -24,7 +26,6 @@ const utilities = require("./utilities");
24
26
  * });
25
27
  * const myFirewall = new linode.Firewall("myFirewall", {
26
28
  * label: "my_firewall",
27
- * tags: ["test"],
28
29
  * inbounds: [
29
30
  * {
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