@pulumi/linode 4.1.0-alpha.1684215503 → 4.1.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 (79) hide show
  1. package/databaseMysql.d.ts +24 -0
  2. package/databaseMysql.js.map +1 -1
  3. package/databasePostgresql.d.ts +36 -0
  4. package/databasePostgresql.js.map +1 -1
  5. package/domain.d.ts +6 -0
  6. package/domain.js.map +1 -1
  7. package/domainRecord.d.ts +6 -0
  8. package/domainRecord.js.map +1 -1
  9. package/firewall.d.ts +12 -0
  10. package/firewall.js.map +1 -1
  11. package/getAccount.d.ts +0 -3
  12. package/getAccountLogins.d.ts +2 -2
  13. package/getAccountLogins.js +2 -2
  14. package/getDatabaseBackups.d.ts +10 -6
  15. package/getDatabaseBackups.js +4 -4
  16. package/getDatabaseBackups.js.map +1 -1
  17. package/getDatabaseEngines.d.ts +8 -4
  18. package/getDatabaseEngines.js +4 -4
  19. package/getDatabaseEngines.js.map +1 -1
  20. package/getDatabaseMysqlBackups.d.ts +4 -0
  21. package/getDatabaseMysqlBackups.js.map +1 -1
  22. package/getDatabases.d.ts +8 -4
  23. package/getDatabases.js +4 -4
  24. package/getDatabases.js.map +1 -1
  25. package/getImages.d.ts +6 -2
  26. package/getImages.js +2 -2
  27. package/getImages.js.map +1 -1
  28. package/getInstanceBackups.d.ts +2 -2
  29. package/getInstanceTypes.d.ts +4 -4
  30. package/getInstanceTypes.js +4 -4
  31. package/getInstances.d.ts +2 -2
  32. package/getInstances.js +2 -2
  33. package/getLkeVersions.d.ts +1 -1
  34. package/getNetworkingIp.d.ts +0 -3
  35. package/getNetworkingIp.js.map +1 -1
  36. package/getStackScript.d.ts +6 -15
  37. package/getStackScript.js +2 -3
  38. package/getStackScript.js.map +1 -1
  39. package/getStackScripts.d.ts +4 -0
  40. package/getStackScripts.js.map +1 -1
  41. package/image.d.ts +30 -0
  42. package/image.js.map +1 -1
  43. package/index.d.ts +3 -6
  44. package/index.js +8 -11
  45. package/index.js.map +1 -1
  46. package/instance.d.ts +42 -0
  47. package/instance.js.map +1 -1
  48. package/instanceDisk.d.ts +6 -0
  49. package/instanceDisk.js.map +1 -1
  50. package/lkeCluster.d.ts +12 -0
  51. package/lkeCluster.js.map +1 -1
  52. package/nodeBalancer.d.ts +6 -0
  53. package/nodeBalancer.js.map +1 -1
  54. package/nodeBalancerNode.d.ts +6 -0
  55. package/nodeBalancerNode.js.map +1 -1
  56. package/objectStorageBucket.d.ts +12 -0
  57. package/objectStorageBucket.js.map +1 -1
  58. package/objectStorageKey.d.ts +6 -0
  59. package/objectStorageKey.js.map +1 -1
  60. package/package.json +2 -2
  61. package/package.json.dev +2 -2
  62. package/stackScript.d.ts +11 -9
  63. package/stackScript.js +1 -1
  64. package/stackScript.js.map +1 -1
  65. package/token.d.ts +121 -0
  66. package/token.js +95 -0
  67. package/token.js.map +1 -0
  68. package/types/input.d.ts +14 -65
  69. package/types/output.d.ts +8 -14
  70. package/user.d.ts +12 -0
  71. package/user.js.map +1 -1
  72. package/volume.d.ts +6 -0
  73. package/volume.js.map +1 -1
  74. package/databaseMongodb.d.ts +0 -344
  75. package/databaseMongodb.js +0 -179
  76. package/databaseMongodb.js.map +0 -1
  77. package/getDatabaseMongodb.d.ts +0 -183
  78. package/getDatabaseMongodb.js +0 -77
  79. package/getDatabaseMongodb.js.map +0 -1
@@ -1,344 +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
- * Provides a Linode Mongo Database resource. This can be used to create, modify, and delete Linode MongoDB Databases.
6
- * For more information, see the [Linode APIv4 docs](https://www.linode.com/docs/api/databases/).
7
- *
8
- * Please keep in mind that Managed Databases can take up to an hour to provision.
9
- *
10
- * ## Example Usage
11
- *
12
- * Creating a simple MongoDB database instance:
13
- *
14
- * ```typescript
15
- * import * as pulumi from "@pulumi/pulumi";
16
- * import * as linode from "@pulumi/linode";
17
- *
18
- * const foobar = new linode.DatabaseMongodb("foobar", {
19
- * engineId: "mongodb/4.4.10",
20
- * label: "mydatabase",
21
- * region: "us-southeast",
22
- * type: "g6-nanode-1",
23
- * });
24
- * ```
25
- *
26
- * Creating a complex MongoDB database instance:
27
- *
28
- * ```typescript
29
- * import * as pulumi from "@pulumi/pulumi";
30
- * import * as linode from "@pulumi/linode";
31
- *
32
- * const foobar = new linode.DatabaseMongodb("foobar", {
33
- * allowLists: ["0.0.0.0/0"],
34
- * clusterSize: 3,
35
- * compressionType: "zlib",
36
- * encrypted: true,
37
- * engineId: "mongodb/4.4.10",
38
- * label: "mydatabase",
39
- * region: "us-southeast",
40
- * sslConnection: true,
41
- * storageEngine: "wiredtiger",
42
- * type: "g6-nanode-1",
43
- * updates: {
44
- * dayOfWeek: "saturday",
45
- * duration: 1,
46
- * frequency: "monthly",
47
- * hourOfDay: 22,
48
- * weekOfMonth: 2,
49
- * },
50
- * });
51
- * ```
52
- * ## updates
53
- *
54
- * The following arguments are supported in the `updates` specification block:
55
- *
56
- * * `dayOfWeek` - (Required) The day to perform maintenance. (`monday`, `tuesday`, ...)
57
- *
58
- * * `duration` - (Required) The maximum maintenance window time in hours. (`1`..`3`)
59
- *
60
- * * `frequency` - (Required) Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
61
- *
62
- * * `hourOfDay` - (Required) The hour to begin maintenance based in UTC time. (`0`..`23`)
63
- *
64
- * * `weekOfMonth` - (Optional) The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
65
- *
66
- * ## Import
67
- *
68
- * Linode MongoDB Databases can be imported using the `id`, e.g.
69
- *
70
- * ```sh
71
- * $ pulumi import linode:index/databaseMongodb:DatabaseMongodb foobar 1234567
72
- * ```
73
- */
74
- export declare class DatabaseMongodb extends pulumi.CustomResource {
75
- /**
76
- * Get an existing DatabaseMongodb resource's state with the given name, ID, and optional extra
77
- * properties used to qualify the lookup.
78
- *
79
- * @param name The _unique_ name of the resulting resource.
80
- * @param id The _unique_ provider ID of the resource to lookup.
81
- * @param state Any extra arguments used during the lookup.
82
- * @param opts Optional settings to control the behavior of the CustomResource.
83
- */
84
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatabaseMongodbState, opts?: pulumi.CustomResourceOptions): DatabaseMongodb;
85
- /**
86
- * Returns true if the given object is an instance of DatabaseMongodb. This is designed to work even
87
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
88
- */
89
- static isInstance(obj: any): obj is DatabaseMongodb;
90
- /**
91
- * 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.
92
- */
93
- readonly allowLists: pulumi.Output<string[]>;
94
- /**
95
- * The base64-encoded SSL CA certificate for the Managed Database instance.
96
- */
97
- readonly caCert: pulumi.Output<string>;
98
- /**
99
- * The number of Linode Instance nodes deployed to the Managed Database. (default `1`)
100
- */
101
- readonly clusterSize: pulumi.Output<number | undefined>;
102
- /**
103
- * The type of data compression for this Database. (`none`, `snappy`, `zlib`; default `none`)
104
- */
105
- readonly compressionType: pulumi.Output<string | undefined>;
106
- /**
107
- * When this Managed Database was created.
108
- */
109
- readonly created: pulumi.Output<string>;
110
- /**
111
- * Whether the Managed Databases is encrypted. (default `false`)
112
- */
113
- readonly encrypted: pulumi.Output<boolean | undefined>;
114
- /**
115
- * The Managed Database engine. (e.g. `mongodb`)
116
- */
117
- readonly engine: pulumi.Output<string>;
118
- /**
119
- * The Managed Database engine in engine/version format. (e.g. `mongo/4.4.10`)
120
- */
121
- readonly engineId: pulumi.Output<string>;
122
- /**
123
- * The primary host for the Managed Database.
124
- */
125
- readonly hostPrimary: pulumi.Output<string>;
126
- /**
127
- * The secondary/private network host for the Managed Database.
128
- */
129
- readonly hostSecondary: pulumi.Output<string>;
130
- /**
131
- * A unique, user-defined string referring to the Managed Database.
132
- */
133
- readonly label: pulumi.Output<string>;
134
- /**
135
- * A set of peer addresses for this Database.
136
- */
137
- readonly peers: pulumi.Output<string[]>;
138
- /**
139
- * The access port for this Managed Database.
140
- */
141
- readonly port: pulumi.Output<number>;
142
- /**
143
- * The region to use for the Managed Database.
144
- */
145
- readonly region: pulumi.Output<string>;
146
- /**
147
- * Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
148
- */
149
- readonly replicaSet: pulumi.Output<string>;
150
- /**
151
- * The randomly-generated root password for the Managed Database instance.
152
- */
153
- readonly rootPassword: pulumi.Output<string>;
154
- /**
155
- * The root username for the Managed Database instance.
156
- */
157
- readonly rootUsername: pulumi.Output<string>;
158
- /**
159
- * Whether to require SSL credentials to establish a connection to the Managed Database. (default `false`)
160
- */
161
- readonly sslConnection: pulumi.Output<boolean | undefined>;
162
- /**
163
- * The operating status of the Managed Database.
164
- */
165
- readonly status: pulumi.Output<string>;
166
- /**
167
- * The type of storage engine for this Database. (`mmapv1`, `wiredtiger`; default `wiredtiger`)
168
- */
169
- readonly storageEngine: pulumi.Output<string | undefined>;
170
- /**
171
- * The Linode Instance type used for the nodes of the Managed Database instance.
172
- */
173
- readonly type: pulumi.Output<string>;
174
- /**
175
- * When this Managed Database was last updated.
176
- */
177
- readonly updated: pulumi.Output<string>;
178
- /**
179
- * Configuration settings for automated patch update maintenance for the Managed Database.
180
- */
181
- readonly updates: pulumi.Output<outputs.DatabaseMongodbUpdates>;
182
- /**
183
- * The Managed Database engine version. (e.g. `v8.0.26`)
184
- */
185
- readonly version: pulumi.Output<string>;
186
- /**
187
- * Create a DatabaseMongodb resource with the given unique name, arguments, and options.
188
- *
189
- * @param name The _unique_ name of the resource.
190
- * @param args The arguments to use to populate this resource's properties.
191
- * @param opts A bag of options that control this resource's behavior.
192
- */
193
- constructor(name: string, args: DatabaseMongodbArgs, opts?: pulumi.CustomResourceOptions);
194
- }
195
- /**
196
- * Input properties used for looking up and filtering DatabaseMongodb resources.
197
- */
198
- export interface DatabaseMongodbState {
199
- /**
200
- * 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.
201
- */
202
- allowLists?: pulumi.Input<pulumi.Input<string>[]>;
203
- /**
204
- * The base64-encoded SSL CA certificate for the Managed Database instance.
205
- */
206
- caCert?: pulumi.Input<string>;
207
- /**
208
- * The number of Linode Instance nodes deployed to the Managed Database. (default `1`)
209
- */
210
- clusterSize?: pulumi.Input<number>;
211
- /**
212
- * The type of data compression for this Database. (`none`, `snappy`, `zlib`; default `none`)
213
- */
214
- compressionType?: pulumi.Input<string>;
215
- /**
216
- * When this Managed Database was created.
217
- */
218
- created?: pulumi.Input<string>;
219
- /**
220
- * Whether the Managed Databases is encrypted. (default `false`)
221
- */
222
- encrypted?: pulumi.Input<boolean>;
223
- /**
224
- * The Managed Database engine. (e.g. `mongodb`)
225
- */
226
- engine?: pulumi.Input<string>;
227
- /**
228
- * The Managed Database engine in engine/version format. (e.g. `mongo/4.4.10`)
229
- */
230
- engineId?: pulumi.Input<string>;
231
- /**
232
- * The primary host for the Managed Database.
233
- */
234
- hostPrimary?: pulumi.Input<string>;
235
- /**
236
- * The secondary/private network host for the Managed Database.
237
- */
238
- hostSecondary?: pulumi.Input<string>;
239
- /**
240
- * A unique, user-defined string referring to the Managed Database.
241
- */
242
- label?: pulumi.Input<string>;
243
- /**
244
- * A set of peer addresses for this Database.
245
- */
246
- peers?: pulumi.Input<pulumi.Input<string>[]>;
247
- /**
248
- * The access port for this Managed Database.
249
- */
250
- port?: pulumi.Input<number>;
251
- /**
252
- * The region to use for the Managed Database.
253
- */
254
- region?: pulumi.Input<string>;
255
- /**
256
- * Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
257
- */
258
- replicaSet?: pulumi.Input<string>;
259
- /**
260
- * The randomly-generated root password for the Managed Database instance.
261
- */
262
- rootPassword?: pulumi.Input<string>;
263
- /**
264
- * The root username for the Managed Database instance.
265
- */
266
- rootUsername?: pulumi.Input<string>;
267
- /**
268
- * Whether to require SSL credentials to establish a connection to the Managed Database. (default `false`)
269
- */
270
- sslConnection?: pulumi.Input<boolean>;
271
- /**
272
- * The operating status of the Managed Database.
273
- */
274
- status?: pulumi.Input<string>;
275
- /**
276
- * The type of storage engine for this Database. (`mmapv1`, `wiredtiger`; default `wiredtiger`)
277
- */
278
- storageEngine?: pulumi.Input<string>;
279
- /**
280
- * The Linode Instance type used for the nodes of the Managed Database instance.
281
- */
282
- type?: pulumi.Input<string>;
283
- /**
284
- * When this Managed Database was last updated.
285
- */
286
- updated?: pulumi.Input<string>;
287
- /**
288
- * Configuration settings for automated patch update maintenance for the Managed Database.
289
- */
290
- updates?: pulumi.Input<inputs.DatabaseMongodbUpdates>;
291
- /**
292
- * The Managed Database engine version. (e.g. `v8.0.26`)
293
- */
294
- version?: pulumi.Input<string>;
295
- }
296
- /**
297
- * The set of arguments for constructing a DatabaseMongodb resource.
298
- */
299
- export interface DatabaseMongodbArgs {
300
- /**
301
- * 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.
302
- */
303
- allowLists?: pulumi.Input<pulumi.Input<string>[]>;
304
- /**
305
- * The number of Linode Instance nodes deployed to the Managed Database. (default `1`)
306
- */
307
- clusterSize?: pulumi.Input<number>;
308
- /**
309
- * The type of data compression for this Database. (`none`, `snappy`, `zlib`; default `none`)
310
- */
311
- compressionType?: pulumi.Input<string>;
312
- /**
313
- * Whether the Managed Databases is encrypted. (default `false`)
314
- */
315
- encrypted?: pulumi.Input<boolean>;
316
- /**
317
- * The Managed Database engine in engine/version format. (e.g. `mongo/4.4.10`)
318
- */
319
- engineId: pulumi.Input<string>;
320
- /**
321
- * A unique, user-defined string referring to the Managed Database.
322
- */
323
- label: pulumi.Input<string>;
324
- /**
325
- * The region to use for the Managed Database.
326
- */
327
- region: pulumi.Input<string>;
328
- /**
329
- * Whether to require SSL credentials to establish a connection to the Managed Database. (default `false`)
330
- */
331
- sslConnection?: pulumi.Input<boolean>;
332
- /**
333
- * The type of storage engine for this Database. (`mmapv1`, `wiredtiger`; default `wiredtiger`)
334
- */
335
- storageEngine?: pulumi.Input<string>;
336
- /**
337
- * The Linode Instance type used for the nodes of the Managed Database instance.
338
- */
339
- type: pulumi.Input<string>;
340
- /**
341
- * Configuration settings for automated patch update maintenance for the Managed Database.
342
- */
343
- updates?: pulumi.Input<inputs.DatabaseMongodbUpdates>;
344
- }
@@ -1,179 +0,0 @@
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.DatabaseMongodb = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * Provides a Linode Mongo Database resource. This can be used to create, modify, and delete Linode MongoDB 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 MongoDB 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.DatabaseMongodb("foobar", {
23
- * engineId: "mongodb/4.4.10",
24
- * label: "mydatabase",
25
- * region: "us-southeast",
26
- * type: "g6-nanode-1",
27
- * });
28
- * ```
29
- *
30
- * Creating a complex MongoDB 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.DatabaseMongodb("foobar", {
37
- * allowLists: ["0.0.0.0/0"],
38
- * clusterSize: 3,
39
- * compressionType: "zlib",
40
- * encrypted: true,
41
- * engineId: "mongodb/4.4.10",
42
- * label: "mydatabase",
43
- * region: "us-southeast",
44
- * sslConnection: true,
45
- * storageEngine: "wiredtiger",
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
- * ## Import
71
- *
72
- * Linode MongoDB Databases can be imported using the `id`, e.g.
73
- *
74
- * ```sh
75
- * $ pulumi import linode:index/databaseMongodb:DatabaseMongodb foobar 1234567
76
- * ```
77
- */
78
- class DatabaseMongodb extends pulumi.CustomResource {
79
- /**
80
- * Get an existing DatabaseMongodb resource's state with the given name, ID, and optional extra
81
- * properties used to qualify the lookup.
82
- *
83
- * @param name The _unique_ name of the resulting resource.
84
- * @param id The _unique_ provider ID of the resource to lookup.
85
- * @param state Any extra arguments used during the lookup.
86
- * @param opts Optional settings to control the behavior of the CustomResource.
87
- */
88
- static get(name, id, state, opts) {
89
- return new DatabaseMongodb(name, state, Object.assign(Object.assign({}, opts), { id: id }));
90
- }
91
- /**
92
- * Returns true if the given object is an instance of DatabaseMongodb. This is designed to work even
93
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
94
- */
95
- static isInstance(obj) {
96
- if (obj === undefined || obj === null) {
97
- return false;
98
- }
99
- return obj['__pulumiType'] === DatabaseMongodb.__pulumiType;
100
- }
101
- constructor(name, argsOrState, opts) {
102
- let resourceInputs = {};
103
- opts = opts || {};
104
- if (opts.id) {
105
- const state = argsOrState;
106
- resourceInputs["allowLists"] = state ? state.allowLists : undefined;
107
- resourceInputs["caCert"] = state ? state.caCert : undefined;
108
- resourceInputs["clusterSize"] = state ? state.clusterSize : undefined;
109
- resourceInputs["compressionType"] = state ? state.compressionType : undefined;
110
- resourceInputs["created"] = state ? state.created : undefined;
111
- resourceInputs["encrypted"] = state ? state.encrypted : undefined;
112
- resourceInputs["engine"] = state ? state.engine : undefined;
113
- resourceInputs["engineId"] = state ? state.engineId : undefined;
114
- resourceInputs["hostPrimary"] = state ? state.hostPrimary : undefined;
115
- resourceInputs["hostSecondary"] = state ? state.hostSecondary : undefined;
116
- resourceInputs["label"] = state ? state.label : undefined;
117
- resourceInputs["peers"] = state ? state.peers : undefined;
118
- resourceInputs["port"] = state ? state.port : undefined;
119
- resourceInputs["region"] = state ? state.region : undefined;
120
- resourceInputs["replicaSet"] = state ? state.replicaSet : undefined;
121
- resourceInputs["rootPassword"] = state ? state.rootPassword : undefined;
122
- resourceInputs["rootUsername"] = state ? state.rootUsername : undefined;
123
- resourceInputs["sslConnection"] = state ? state.sslConnection : undefined;
124
- resourceInputs["status"] = state ? state.status : undefined;
125
- resourceInputs["storageEngine"] = state ? state.storageEngine : undefined;
126
- resourceInputs["type"] = state ? state.type : undefined;
127
- resourceInputs["updated"] = state ? state.updated : undefined;
128
- resourceInputs["updates"] = state ? state.updates : undefined;
129
- resourceInputs["version"] = state ? state.version : undefined;
130
- }
131
- else {
132
- const args = argsOrState;
133
- if ((!args || args.engineId === undefined) && !opts.urn) {
134
- throw new Error("Missing required property 'engineId'");
135
- }
136
- if ((!args || args.label === undefined) && !opts.urn) {
137
- throw new Error("Missing required property 'label'");
138
- }
139
- if ((!args || args.region === undefined) && !opts.urn) {
140
- throw new Error("Missing required property 'region'");
141
- }
142
- if ((!args || args.type === undefined) && !opts.urn) {
143
- throw new Error("Missing required property 'type'");
144
- }
145
- resourceInputs["allowLists"] = args ? args.allowLists : undefined;
146
- resourceInputs["clusterSize"] = args ? args.clusterSize : undefined;
147
- resourceInputs["compressionType"] = args ? args.compressionType : undefined;
148
- resourceInputs["encrypted"] = args ? args.encrypted : undefined;
149
- resourceInputs["engineId"] = args ? args.engineId : undefined;
150
- resourceInputs["label"] = args ? args.label : undefined;
151
- resourceInputs["region"] = args ? args.region : undefined;
152
- resourceInputs["sslConnection"] = args ? args.sslConnection : undefined;
153
- resourceInputs["storageEngine"] = args ? args.storageEngine : undefined;
154
- resourceInputs["type"] = args ? args.type : undefined;
155
- resourceInputs["updates"] = args ? args.updates : undefined;
156
- resourceInputs["caCert"] = undefined /*out*/;
157
- resourceInputs["created"] = undefined /*out*/;
158
- resourceInputs["engine"] = undefined /*out*/;
159
- resourceInputs["hostPrimary"] = undefined /*out*/;
160
- resourceInputs["hostSecondary"] = undefined /*out*/;
161
- resourceInputs["peers"] = undefined /*out*/;
162
- resourceInputs["port"] = undefined /*out*/;
163
- resourceInputs["replicaSet"] = 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
- const secretOpts = { additionalSecretOutputs: ["caCert", "rootPassword", "rootUsername"] };
172
- opts = pulumi.mergeOptions(opts, secretOpts);
173
- super(DatabaseMongodb.__pulumiType, name, resourceInputs, opts);
174
- }
175
- }
176
- exports.DatabaseMongodb = DatabaseMongodb;
177
- /** @internal */
178
- DatabaseMongodb.__pulumiType = 'linode:index/databaseMongodb:DatabaseMongodb';
179
- //# sourceMappingURL=databaseMongodb.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"databaseMongodb.js","sourceRoot":"","sources":["../databaseMongodb.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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