@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,183 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as outputs from "./types/output";
3
- /**
4
- * Provides information about a Linode MongoDB Database.
5
- *
6
- * ## Example Usage
7
- *
8
- * Get information about a MongoDB database:
9
- *
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as linode from "@pulumi/linode";
13
- *
14
- * const my-db = linode.getDatabaseMongodb({
15
- * databaseId: 12345,
16
- * });
17
- * ```
18
- * ## updates
19
- *
20
- * The following arguments are exported by the `updates` specification block:
21
- *
22
- * * `dayOfWeek` - The day to perform maintenance. (`monday`, `tuesday`, ...)
23
- *
24
- * * `duration` - The maximum maintenance window time in hours. (`1`..`3`)
25
- *
26
- * * `frequency` - Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
27
- *
28
- * * `hourOfDay` - The hour to begin maintenance based in UTC time. (`0`..`23`)
29
- *
30
- * * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
31
- */
32
- export declare function getDatabaseMongodb(args: GetDatabaseMongodbArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseMongodbResult>;
33
- /**
34
- * A collection of arguments for invoking getDatabaseMongodb.
35
- */
36
- export interface GetDatabaseMongodbArgs {
37
- /**
38
- * The ID of the MongoDB database.
39
- */
40
- databaseId: number;
41
- }
42
- /**
43
- * A collection of values returned by getDatabaseMongodb.
44
- */
45
- export interface GetDatabaseMongodbResult {
46
- /**
47
- * 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.
48
- */
49
- readonly allowLists: string[];
50
- /**
51
- * The base64-encoded SSL CA certificate for the Managed Database instance.
52
- */
53
- readonly caCert: string;
54
- /**
55
- * The number of Linode Instance nodes deployed to the Managed Database.
56
- */
57
- readonly clusterSize: number;
58
- /**
59
- * The type of data compression for this Database. (`none`, `snappy`, `zlib`)
60
- */
61
- readonly compressionType: string;
62
- /**
63
- * When this Managed Database was created.
64
- */
65
- readonly created: string;
66
- readonly databaseId: number;
67
- /**
68
- * Whether the Managed Databases is encrypted.
69
- */
70
- readonly encrypted: boolean;
71
- /**
72
- * The Managed Database engine. (e.g. `mongodb`)
73
- */
74
- readonly engine: string;
75
- /**
76
- * The Managed Database engine in engine/version format. (e.g. `mongodb/4.4.10`)
77
- */
78
- readonly engineId: string;
79
- /**
80
- * The primary host for the Managed Database.
81
- */
82
- readonly hostPrimary: string;
83
- /**
84
- * The secondary/private network host for the Managed Database.
85
- */
86
- readonly hostSecondary: string;
87
- /**
88
- * The provider-assigned unique ID for this managed resource.
89
- */
90
- readonly id: string;
91
- /**
92
- * A unique, user-defined string referring to the Managed Database.
93
- */
94
- readonly label: string;
95
- /**
96
- * A set of peer addresses for this Database.
97
- */
98
- readonly peers: string[];
99
- /**
100
- * The access port for this Managed Database.
101
- */
102
- readonly port: number;
103
- /**
104
- * The region that hosts this Linode Managed Database.
105
- */
106
- readonly region: string;
107
- /**
108
- * Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
109
- */
110
- readonly replicaSet: string;
111
- /**
112
- * The randomly-generated root password for the Managed Database instance.
113
- */
114
- readonly rootPassword: string;
115
- /**
116
- * The root username for the Managed Database instance.
117
- */
118
- readonly rootUsername: string;
119
- /**
120
- * Whether to require SSL credentials to establish a connection to the Managed Database.
121
- */
122
- readonly sslConnection: boolean;
123
- /**
124
- * The operating status of the Managed Database.
125
- */
126
- readonly status: string;
127
- /**
128
- * The type of storage engine for this Database. (`mmapv1`, `wiredtiger`)
129
- */
130
- readonly storageEngine: string;
131
- /**
132
- * The Linode Instance type used for the nodes of the Managed Database instance.
133
- */
134
- readonly type: string;
135
- /**
136
- * When this Managed Database was last updated.
137
- */
138
- readonly updated: string;
139
- readonly updates: outputs.GetDatabaseMongodbUpdate[];
140
- /**
141
- * The Managed Database engine version. (e.g. `v8.0.26`)
142
- */
143
- readonly version: string;
144
- }
145
- /**
146
- * Provides information about a Linode MongoDB Database.
147
- *
148
- * ## Example Usage
149
- *
150
- * Get information about a MongoDB database:
151
- *
152
- * ```typescript
153
- * import * as pulumi from "@pulumi/pulumi";
154
- * import * as linode from "@pulumi/linode";
155
- *
156
- * const my-db = linode.getDatabaseMongodb({
157
- * databaseId: 12345,
158
- * });
159
- * ```
160
- * ## updates
161
- *
162
- * The following arguments are exported by the `updates` specification block:
163
- *
164
- * * `dayOfWeek` - The day to perform maintenance. (`monday`, `tuesday`, ...)
165
- *
166
- * * `duration` - The maximum maintenance window time in hours. (`1`..`3`)
167
- *
168
- * * `frequency` - Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
169
- *
170
- * * `hourOfDay` - The hour to begin maintenance based in UTC time. (`0`..`23`)
171
- *
172
- * * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
173
- */
174
- export declare function getDatabaseMongodbOutput(args: GetDatabaseMongodbOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseMongodbResult>;
175
- /**
176
- * A collection of arguments for invoking getDatabaseMongodb.
177
- */
178
- export interface GetDatabaseMongodbOutputArgs {
179
- /**
180
- * The ID of the MongoDB database.
181
- */
182
- databaseId: pulumi.Input<number>;
183
- }
@@ -1,77 +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.getDatabaseMongodbOutput = exports.getDatabaseMongodb = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * Provides information about a Linode MongoDB Database.
10
- *
11
- * ## Example Usage
12
- *
13
- * Get information about a MongoDB database:
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as linode from "@pulumi/linode";
18
- *
19
- * const my-db = linode.getDatabaseMongodb({
20
- * databaseId: 12345,
21
- * });
22
- * ```
23
- * ## updates
24
- *
25
- * The following arguments are exported by the `updates` specification block:
26
- *
27
- * * `dayOfWeek` - The day to perform maintenance. (`monday`, `tuesday`, ...)
28
- *
29
- * * `duration` - The maximum maintenance window time in hours. (`1`..`3`)
30
- *
31
- * * `frequency` - Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
32
- *
33
- * * `hourOfDay` - The hour to begin maintenance based in UTC time. (`0`..`23`)
34
- *
35
- * * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
36
- */
37
- function getDatabaseMongodb(args, opts) {
38
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
39
- return pulumi.runtime.invoke("linode:index/getDatabaseMongodb:getDatabaseMongodb", {
40
- "databaseId": args.databaseId,
41
- }, opts);
42
- }
43
- exports.getDatabaseMongodb = getDatabaseMongodb;
44
- /**
45
- * Provides information about a Linode MongoDB Database.
46
- *
47
- * ## Example Usage
48
- *
49
- * Get information about a MongoDB database:
50
- *
51
- * ```typescript
52
- * import * as pulumi from "@pulumi/pulumi";
53
- * import * as linode from "@pulumi/linode";
54
- *
55
- * const my-db = linode.getDatabaseMongodb({
56
- * databaseId: 12345,
57
- * });
58
- * ```
59
- * ## updates
60
- *
61
- * The following arguments are exported by the `updates` specification block:
62
- *
63
- * * `dayOfWeek` - The day to perform maintenance. (`monday`, `tuesday`, ...)
64
- *
65
- * * `duration` - The maximum maintenance window time in hours. (`1`..`3`)
66
- *
67
- * * `frequency` - Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
68
- *
69
- * * `hourOfDay` - The hour to begin maintenance based in UTC time. (`0`..`23`)
70
- *
71
- * * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
72
- */
73
- function getDatabaseMongodbOutput(args, opts) {
74
- return pulumi.output(args).apply((a) => getDatabaseMongodb(a, opts));
75
- }
76
- exports.getDatabaseMongodbOutput = getDatabaseMongodbOutput;
77
- //# sourceMappingURL=getDatabaseMongodb.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getDatabaseMongodb.js","sourceRoot":"","sources":["../getDatabaseMongodb.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AAmHD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}