@pulumi/linode 4.13.0-alpha.1707545625 → 4.13.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/databaseAccessControls.d.ts +1 -1
- package/databaseAccessControls.js +1 -1
- package/firewall.d.ts +1 -1
- package/firewall.js +1 -1
- package/getDomains.d.ts +142 -0
- package/getDomains.js +117 -0
- package/getDomains.js.map +1 -0
- package/getImage.d.ts +2 -2
- package/getImage.js +2 -2
- package/getImages.d.ts +2 -2
- package/getImages.js +2 -2
- package/getIpv6Ranges.d.ts +87 -0
- package/getIpv6Ranges.js +81 -0
- package/getIpv6Ranges.js.map +1 -0
- package/getLkeCluster.d.ts +25 -3
- package/getLkeCluster.js +2 -0
- package/getLkeCluster.js.map +1 -1
- package/getLkeClusters.d.ts +118 -0
- package/getLkeClusters.js +93 -0
- package/getLkeClusters.js.map +1 -0
- package/getNodeBalancer.d.ts +13 -6
- package/getNodeBalancer.js +1 -0
- package/getNodeBalancer.js.map +1 -1
- package/getVlans.d.ts +2 -2
- package/getVlans.js +2 -2
- package/index.d.ts +9 -0
- package/index.js +12 -3
- package/index.js.map +1 -1
- package/instance.d.ts +67 -12
- package/instance.js +36 -3
- package/instance.js.map +1 -1
- package/instanceDisk.d.ts +16 -16
- package/instanceDisk.js +1 -1
- package/instanceIp.d.ts +1 -1
- package/instanceIp.js +1 -1
- package/ipv6Range.d.ts +1 -1
- package/ipv6Range.js +1 -1
- package/lkeCluster.d.ts +0 -44
- package/lkeCluster.js +0 -44
- package/lkeCluster.js.map +1 -1
- package/nodeBalancer.d.ts +16 -8
- package/nodeBalancer.js +2 -0
- package/nodeBalancer.js.map +1 -1
- package/package.json +1 -1
- package/rdns.d.ts +5 -0
- package/rdns.js +2 -0
- package/rdns.js.map +1 -1
- package/stackScript.d.ts +3 -3
- package/stackScript.js +3 -3
- package/types/input.d.ts +902 -130
- package/types/output.d.ts +396 -6
- package/volume.d.ts +6 -1
- package/volume.js +2 -0
- package/volume.js.map +1 -1
- package/vpc.d.ts +1 -1
- package/vpc.js +1 -1
package/instance.d.ts
CHANGED
|
@@ -16,12 +16,43 @@ import * as outputs from "./types/output";
|
|
|
16
16
|
*
|
|
17
17
|
* const web = new linode.Instance("web", {
|
|
18
18
|
* authorizedKeys: ["ssh-rsa AAAA...Gw== user@example.local"],
|
|
19
|
-
*
|
|
20
|
-
* image: "linode/ubuntu18.04",
|
|
19
|
+
* image: "linode/ubuntu22.04",
|
|
21
20
|
* label: "simple_instance",
|
|
22
21
|
* privateIp: true,
|
|
23
22
|
* region: "us-central",
|
|
24
|
-
* rootPass: "
|
|
23
|
+
* rootPass: "this-is-not-a-safe-password",
|
|
24
|
+
* swapSize: 256,
|
|
25
|
+
* tags: ["foo"],
|
|
26
|
+
* type: "g6-standard-1",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
* ### Linode Instance with Explicit Networking Interfaces
|
|
30
|
+
*
|
|
31
|
+
* You can add a VPC or VLAN interface directly to a Linode instance resource.
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as linode from "@pulumi/linode";
|
|
36
|
+
*
|
|
37
|
+
* const web = new linode.Instance("web", {
|
|
38
|
+
* authorizedKeys: ["ssh-rsa AAAA...Gw== user@example.local"],
|
|
39
|
+
* image: "linode/ubuntu22.04",
|
|
40
|
+
* interfaces: [
|
|
41
|
+
* {
|
|
42
|
+
* purpose: "public",
|
|
43
|
+
* },
|
|
44
|
+
* {
|
|
45
|
+
* ipv4: {
|
|
46
|
+
* vpc: "10.0.4.250",
|
|
47
|
+
* },
|
|
48
|
+
* purpose: "vpc",
|
|
49
|
+
* subnetId: 123,
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* label: "simple_instance",
|
|
53
|
+
* privateIp: true,
|
|
54
|
+
* region: "us-central",
|
|
55
|
+
* rootPass: "this-is-not-a-safe-password",
|
|
25
56
|
* swapSize: 256,
|
|
26
57
|
* tags: ["foo"],
|
|
27
58
|
* type: "g6-standard-1",
|
|
@@ -105,11 +136,13 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
105
136
|
*/
|
|
106
137
|
readonly disks: pulumi.Output<outputs.InstanceDisk[]>;
|
|
107
138
|
/**
|
|
108
|
-
* The ID of the
|
|
139
|
+
* The ID of the Firewall to attach to the instance upon creation. *Changing `firewallId` forces the creation of a new Linode Instance.*
|
|
109
140
|
*/
|
|
110
141
|
readonly firewallId: pulumi.Output<number | undefined>;
|
|
111
142
|
/**
|
|
112
|
-
*
|
|
143
|
+
* A deprecated property denoting a group label for this Linode. We recommend using the `tags` attribute instead.
|
|
144
|
+
*
|
|
145
|
+
* @deprecated Group label is deprecated. We recommend using tags instead.
|
|
113
146
|
*/
|
|
114
147
|
readonly group: pulumi.Output<string | undefined>;
|
|
115
148
|
/**
|
|
@@ -121,7 +154,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
121
154
|
*/
|
|
122
155
|
readonly hostUuid: pulumi.Output<string>;
|
|
123
156
|
/**
|
|
124
|
-
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See /images for more information on the Images available for you to use. Examples are `linode/
|
|
157
|
+
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See /images for more information on the Images available for you to use. Examples are `linode/debian12`, `linode/fedora39`, `linode/ubuntu22.04`, `linode/arch`, and `private/12345`. See all images [here](https://api.linode.com/v4/images). *Changing `image` forces the creation of a new Linode Instance.*
|
|
125
158
|
*/
|
|
126
159
|
readonly image: pulumi.Output<string | undefined>;
|
|
127
160
|
/**
|
|
@@ -149,6 +182,12 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
149
182
|
* Various fields related to the Linode Metadata service.
|
|
150
183
|
*/
|
|
151
184
|
readonly metadatas: pulumi.Output<outputs.InstanceMetadata[] | undefined>;
|
|
185
|
+
/**
|
|
186
|
+
* The type of migration to use when updating the type or region of a Linode. (`cold`, `warm`; default `cold`)
|
|
187
|
+
*
|
|
188
|
+
* * `interface` - (Optional) A list of network interfaces to be assigned to the Linode on creation. If an explicit config or disk is defined, interfaces must be declared in the `config` block.
|
|
189
|
+
*/
|
|
190
|
+
readonly migrationType: pulumi.Output<string | undefined>;
|
|
152
191
|
/**
|
|
153
192
|
* If true, the created Linode will have private networking enabled, allowing use of the 192.168.128.0/17 network within the Linode's region. It can be enabled on an existing Linode but it can't be disabled.
|
|
154
193
|
*/
|
|
@@ -277,11 +316,13 @@ export interface InstanceState {
|
|
|
277
316
|
*/
|
|
278
317
|
disks?: pulumi.Input<pulumi.Input<inputs.InstanceDisk>[]>;
|
|
279
318
|
/**
|
|
280
|
-
* The ID of the
|
|
319
|
+
* The ID of the Firewall to attach to the instance upon creation. *Changing `firewallId` forces the creation of a new Linode Instance.*
|
|
281
320
|
*/
|
|
282
321
|
firewallId?: pulumi.Input<number>;
|
|
283
322
|
/**
|
|
284
|
-
*
|
|
323
|
+
* A deprecated property denoting a group label for this Linode. We recommend using the `tags` attribute instead.
|
|
324
|
+
*
|
|
325
|
+
* @deprecated Group label is deprecated. We recommend using tags instead.
|
|
285
326
|
*/
|
|
286
327
|
group?: pulumi.Input<string>;
|
|
287
328
|
/**
|
|
@@ -293,7 +334,7 @@ export interface InstanceState {
|
|
|
293
334
|
*/
|
|
294
335
|
hostUuid?: pulumi.Input<string>;
|
|
295
336
|
/**
|
|
296
|
-
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See /images for more information on the Images available for you to use. Examples are `linode/
|
|
337
|
+
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See /images for more information on the Images available for you to use. Examples are `linode/debian12`, `linode/fedora39`, `linode/ubuntu22.04`, `linode/arch`, and `private/12345`. See all images [here](https://api.linode.com/v4/images). *Changing `image` forces the creation of a new Linode Instance.*
|
|
297
338
|
*/
|
|
298
339
|
image?: pulumi.Input<string>;
|
|
299
340
|
/**
|
|
@@ -321,6 +362,12 @@ export interface InstanceState {
|
|
|
321
362
|
* Various fields related to the Linode Metadata service.
|
|
322
363
|
*/
|
|
323
364
|
metadatas?: pulumi.Input<pulumi.Input<inputs.InstanceMetadata>[]>;
|
|
365
|
+
/**
|
|
366
|
+
* The type of migration to use when updating the type or region of a Linode. (`cold`, `warm`; default `cold`)
|
|
367
|
+
*
|
|
368
|
+
* * `interface` - (Optional) A list of network interfaces to be assigned to the Linode on creation. If an explicit config or disk is defined, interfaces must be declared in the `config` block.
|
|
369
|
+
*/
|
|
370
|
+
migrationType?: pulumi.Input<string>;
|
|
324
371
|
/**
|
|
325
372
|
* If true, the created Linode will have private networking enabled, allowing use of the 192.168.128.0/17 network within the Linode's region. It can be enabled on an existing Linode but it can't be disabled.
|
|
326
373
|
*/
|
|
@@ -437,15 +484,17 @@ export interface InstanceArgs {
|
|
|
437
484
|
*/
|
|
438
485
|
disks?: pulumi.Input<pulumi.Input<inputs.InstanceDisk>[]>;
|
|
439
486
|
/**
|
|
440
|
-
* The ID of the
|
|
487
|
+
* The ID of the Firewall to attach to the instance upon creation. *Changing `firewallId` forces the creation of a new Linode Instance.*
|
|
441
488
|
*/
|
|
442
489
|
firewallId?: pulumi.Input<number>;
|
|
443
490
|
/**
|
|
444
|
-
*
|
|
491
|
+
* A deprecated property denoting a group label for this Linode. We recommend using the `tags` attribute instead.
|
|
492
|
+
*
|
|
493
|
+
* @deprecated Group label is deprecated. We recommend using tags instead.
|
|
445
494
|
*/
|
|
446
495
|
group?: pulumi.Input<string>;
|
|
447
496
|
/**
|
|
448
|
-
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See /images for more information on the Images available for you to use. Examples are `linode/
|
|
497
|
+
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See /images for more information on the Images available for you to use. Examples are `linode/debian12`, `linode/fedora39`, `linode/ubuntu22.04`, `linode/arch`, and `private/12345`. See all images [here](https://api.linode.com/v4/images). *Changing `image` forces the creation of a new Linode Instance.*
|
|
449
498
|
*/
|
|
450
499
|
image?: pulumi.Input<string>;
|
|
451
500
|
/**
|
|
@@ -461,6 +510,12 @@ export interface InstanceArgs {
|
|
|
461
510
|
* Various fields related to the Linode Metadata service.
|
|
462
511
|
*/
|
|
463
512
|
metadatas?: pulumi.Input<pulumi.Input<inputs.InstanceMetadata>[]>;
|
|
513
|
+
/**
|
|
514
|
+
* The type of migration to use when updating the type or region of a Linode. (`cold`, `warm`; default `cold`)
|
|
515
|
+
*
|
|
516
|
+
* * `interface` - (Optional) A list of network interfaces to be assigned to the Linode on creation. If an explicit config or disk is defined, interfaces must be declared in the `config` block.
|
|
517
|
+
*/
|
|
518
|
+
migrationType?: pulumi.Input<string>;
|
|
464
519
|
/**
|
|
465
520
|
* If true, the created Linode will have private networking enabled, allowing use of the 192.168.128.0/17 network within the Linode's region. It can be enabled on an existing Linode but it can't be disabled.
|
|
466
521
|
*/
|
package/instance.js
CHANGED
|
@@ -20,12 +20,43 @@ const utilities = require("./utilities");
|
|
|
20
20
|
*
|
|
21
21
|
* const web = new linode.Instance("web", {
|
|
22
22
|
* authorizedKeys: ["ssh-rsa AAAA...Gw== user@example.local"],
|
|
23
|
-
*
|
|
24
|
-
* image: "linode/ubuntu18.04",
|
|
23
|
+
* image: "linode/ubuntu22.04",
|
|
25
24
|
* label: "simple_instance",
|
|
26
25
|
* privateIp: true,
|
|
27
26
|
* region: "us-central",
|
|
28
|
-
* rootPass: "
|
|
27
|
+
* rootPass: "this-is-not-a-safe-password",
|
|
28
|
+
* swapSize: 256,
|
|
29
|
+
* tags: ["foo"],
|
|
30
|
+
* type: "g6-standard-1",
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
* ### Linode Instance with Explicit Networking Interfaces
|
|
34
|
+
*
|
|
35
|
+
* You can add a VPC or VLAN interface directly to a Linode instance resource.
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as linode from "@pulumi/linode";
|
|
40
|
+
*
|
|
41
|
+
* const web = new linode.Instance("web", {
|
|
42
|
+
* authorizedKeys: ["ssh-rsa AAAA...Gw== user@example.local"],
|
|
43
|
+
* image: "linode/ubuntu22.04",
|
|
44
|
+
* interfaces: [
|
|
45
|
+
* {
|
|
46
|
+
* purpose: "public",
|
|
47
|
+
* },
|
|
48
|
+
* {
|
|
49
|
+
* ipv4: {
|
|
50
|
+
* vpc: "10.0.4.250",
|
|
51
|
+
* },
|
|
52
|
+
* purpose: "vpc",
|
|
53
|
+
* subnetId: 123,
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* label: "simple_instance",
|
|
57
|
+
* privateIp: true,
|
|
58
|
+
* region: "us-central",
|
|
59
|
+
* rootPass: "this-is-not-a-safe-password",
|
|
29
60
|
* swapSize: 256,
|
|
30
61
|
* tags: ["foo"],
|
|
31
62
|
* type: "g6-standard-1",
|
|
@@ -99,6 +130,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
99
130
|
resourceInputs["ipv6"] = state ? state.ipv6 : undefined;
|
|
100
131
|
resourceInputs["label"] = state ? state.label : undefined;
|
|
101
132
|
resourceInputs["metadatas"] = state ? state.metadatas : undefined;
|
|
133
|
+
resourceInputs["migrationType"] = state ? state.migrationType : undefined;
|
|
102
134
|
resourceInputs["privateIp"] = state ? state.privateIp : undefined;
|
|
103
135
|
resourceInputs["privateIpAddress"] = state ? state.privateIpAddress : undefined;
|
|
104
136
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
@@ -134,6 +166,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
134
166
|
resourceInputs["interfaces"] = args ? args.interfaces : undefined;
|
|
135
167
|
resourceInputs["label"] = args ? args.label : undefined;
|
|
136
168
|
resourceInputs["metadatas"] = args ? args.metadatas : undefined;
|
|
169
|
+
resourceInputs["migrationType"] = args ? args.migrationType : undefined;
|
|
137
170
|
resourceInputs["privateIp"] = args ? args.privateIp : undefined;
|
|
138
171
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
139
172
|
resourceInputs["resizeDisk"] = args ? args.resizeDisk : undefined;
|
package/instance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAgLD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,C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C,OAAO,CAAC;YAC/C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC,EAAE,CAAC;QAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAjSL,4BAkSC;AApRG,gBAAgB;AACO,qBAAY,GAAG,gCAAgC,CAAC"}
|
package/instanceDisk.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
40
40
|
* label: "boot",
|
|
41
41
|
* linodeId: my_instance.id,
|
|
42
42
|
* size: my_instance.specs.apply(specs => specs.disk),
|
|
43
|
-
* image: "linode/
|
|
43
|
+
* image: "linode/ubuntu22.04",
|
|
44
44
|
* rootPass: "myc00lpass!",
|
|
45
45
|
* authorizedKeys: ["ssh-rsa AAAA...Gw== user@example.local"],
|
|
46
46
|
* stackscriptId: 12345,
|
|
@@ -75,11 +75,11 @@ export declare class InstanceDisk extends pulumi.CustomResource {
|
|
|
75
75
|
*/
|
|
76
76
|
static isInstance(obj: any): obj is InstanceDisk;
|
|
77
77
|
/**
|
|
78
|
-
* A list of public SSH keys that will be automatically appended to the root user’s ~/.ssh/authorized_keys file when deploying from an Image.
|
|
78
|
+
* A list of public SSH keys that will be automatically appended to the root user’s ~/.ssh/authorized_keys file when deploying from an Image. (Requires `image`)
|
|
79
79
|
*/
|
|
80
80
|
readonly authorizedKeys: pulumi.Output<string[] | undefined>;
|
|
81
81
|
/**
|
|
82
|
-
* A list of usernames. If the usernames have associated SSH keys, the keys will be appended to the
|
|
82
|
+
* A list of usernames. If the usernames have associated SSH keys, the keys will be appended to the root user's ~/.ssh/authorized_keys file. (Requires `image`)
|
|
83
83
|
*/
|
|
84
84
|
readonly authorizedUsers: pulumi.Output<string[] | undefined>;
|
|
85
85
|
/**
|
|
@@ -103,7 +103,7 @@ export declare class InstanceDisk extends pulumi.CustomResource {
|
|
|
103
103
|
*/
|
|
104
104
|
readonly linodeId: pulumi.Output<number>;
|
|
105
105
|
/**
|
|
106
|
-
* The root user’s password on a newly-created Linode Disk when deploying from an Image.
|
|
106
|
+
* The root user’s password on a newly-created Linode Disk when deploying from an Image. (Requires `image`)
|
|
107
107
|
*/
|
|
108
108
|
readonly rootPass: pulumi.Output<string | undefined>;
|
|
109
109
|
/**
|
|
@@ -113,13 +113,13 @@ export declare class InstanceDisk extends pulumi.CustomResource {
|
|
|
113
113
|
*/
|
|
114
114
|
readonly size: pulumi.Output<number>;
|
|
115
115
|
/**
|
|
116
|
-
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Disk. Only accepted if `stackscriptId` is given.
|
|
116
|
+
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Disk. Only accepted if `stackscriptId` is given. (Requires `image`)
|
|
117
117
|
*/
|
|
118
118
|
readonly stackscriptData: pulumi.Output<{
|
|
119
119
|
[key: string]: any;
|
|
120
120
|
} | undefined>;
|
|
121
121
|
/**
|
|
122
|
-
* A StackScript ID that will cause the referenced StackScript to be run during deployment of this Disk.
|
|
122
|
+
* A StackScript ID that will cause the referenced StackScript to be run during deployment of this Disk. (Requires `image`)
|
|
123
123
|
*/
|
|
124
124
|
readonly stackscriptId: pulumi.Output<number | undefined>;
|
|
125
125
|
/**
|
|
@@ -144,11 +144,11 @@ export declare class InstanceDisk extends pulumi.CustomResource {
|
|
|
144
144
|
*/
|
|
145
145
|
export interface InstanceDiskState {
|
|
146
146
|
/**
|
|
147
|
-
* A list of public SSH keys that will be automatically appended to the root user’s ~/.ssh/authorized_keys file when deploying from an Image.
|
|
147
|
+
* A list of public SSH keys that will be automatically appended to the root user’s ~/.ssh/authorized_keys file when deploying from an Image. (Requires `image`)
|
|
148
148
|
*/
|
|
149
149
|
authorizedKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
150
150
|
/**
|
|
151
|
-
* A list of usernames. If the usernames have associated SSH keys, the keys will be appended to the
|
|
151
|
+
* A list of usernames. If the usernames have associated SSH keys, the keys will be appended to the root user's ~/.ssh/authorized_keys file. (Requires `image`)
|
|
152
152
|
*/
|
|
153
153
|
authorizedUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
154
154
|
/**
|
|
@@ -172,7 +172,7 @@ export interface InstanceDiskState {
|
|
|
172
172
|
*/
|
|
173
173
|
linodeId?: pulumi.Input<number>;
|
|
174
174
|
/**
|
|
175
|
-
* The root user’s password on a newly-created Linode Disk when deploying from an Image.
|
|
175
|
+
* The root user’s password on a newly-created Linode Disk when deploying from an Image. (Requires `image`)
|
|
176
176
|
*/
|
|
177
177
|
rootPass?: pulumi.Input<string>;
|
|
178
178
|
/**
|
|
@@ -182,13 +182,13 @@ export interface InstanceDiskState {
|
|
|
182
182
|
*/
|
|
183
183
|
size?: pulumi.Input<number>;
|
|
184
184
|
/**
|
|
185
|
-
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Disk. Only accepted if `stackscriptId` is given.
|
|
185
|
+
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Disk. Only accepted if `stackscriptId` is given. (Requires `image`)
|
|
186
186
|
*/
|
|
187
187
|
stackscriptData?: pulumi.Input<{
|
|
188
188
|
[key: string]: any;
|
|
189
189
|
}>;
|
|
190
190
|
/**
|
|
191
|
-
* A StackScript ID that will cause the referenced StackScript to be run during deployment of this Disk.
|
|
191
|
+
* A StackScript ID that will cause the referenced StackScript to be run during deployment of this Disk. (Requires `image`)
|
|
192
192
|
*/
|
|
193
193
|
stackscriptId?: pulumi.Input<number>;
|
|
194
194
|
/**
|
|
@@ -205,11 +205,11 @@ export interface InstanceDiskState {
|
|
|
205
205
|
*/
|
|
206
206
|
export interface InstanceDiskArgs {
|
|
207
207
|
/**
|
|
208
|
-
* A list of public SSH keys that will be automatically appended to the root user’s ~/.ssh/authorized_keys file when deploying from an Image.
|
|
208
|
+
* A list of public SSH keys that will be automatically appended to the root user’s ~/.ssh/authorized_keys file when deploying from an Image. (Requires `image`)
|
|
209
209
|
*/
|
|
210
210
|
authorizedKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
211
211
|
/**
|
|
212
|
-
* A list of usernames. If the usernames have associated SSH keys, the keys will be appended to the
|
|
212
|
+
* A list of usernames. If the usernames have associated SSH keys, the keys will be appended to the root user's ~/.ssh/authorized_keys file. (Requires `image`)
|
|
213
213
|
*/
|
|
214
214
|
authorizedUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
215
215
|
/**
|
|
@@ -229,7 +229,7 @@ export interface InstanceDiskArgs {
|
|
|
229
229
|
*/
|
|
230
230
|
linodeId: pulumi.Input<number>;
|
|
231
231
|
/**
|
|
232
|
-
* The root user’s password on a newly-created Linode Disk when deploying from an Image.
|
|
232
|
+
* The root user’s password on a newly-created Linode Disk when deploying from an Image. (Requires `image`)
|
|
233
233
|
*/
|
|
234
234
|
rootPass?: pulumi.Input<string>;
|
|
235
235
|
/**
|
|
@@ -239,13 +239,13 @@ export interface InstanceDiskArgs {
|
|
|
239
239
|
*/
|
|
240
240
|
size: pulumi.Input<number>;
|
|
241
241
|
/**
|
|
242
|
-
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Disk. Only accepted if `stackscriptId` is given.
|
|
242
|
+
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Disk. Only accepted if `stackscriptId` is given. (Requires `image`)
|
|
243
243
|
*/
|
|
244
244
|
stackscriptData?: pulumi.Input<{
|
|
245
245
|
[key: string]: any;
|
|
246
246
|
}>;
|
|
247
247
|
/**
|
|
248
|
-
* A StackScript ID that will cause the referenced StackScript to be run during deployment of this Disk.
|
|
248
|
+
* A StackScript ID that will cause the referenced StackScript to be run during deployment of this Disk. (Requires `image`)
|
|
249
249
|
*/
|
|
250
250
|
stackscriptId?: pulumi.Input<number>;
|
|
251
251
|
}
|
package/instanceDisk.js
CHANGED
|
@@ -46,7 +46,7 @@ const utilities = require("./utilities");
|
|
|
46
46
|
* label: "boot",
|
|
47
47
|
* linodeId: my_instance.id,
|
|
48
48
|
* size: my_instance.specs.apply(specs => specs.disk),
|
|
49
|
-
* image: "linode/
|
|
49
|
+
* image: "linode/ubuntu22.04",
|
|
50
50
|
* rootPass: "myc00lpass!",
|
|
51
51
|
* authorizedKeys: ["ssh-rsa AAAA...Gw== user@example.local"],
|
|
52
52
|
* stackscriptId: 12345,
|
package/instanceIp.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import * as outputs from "./types/output";
|
|
|
15
15
|
* import * as linode from "@pulumi/linode";
|
|
16
16
|
*
|
|
17
17
|
* const fooInstance = new linode.Instance("fooInstance", {
|
|
18
|
-
* image: "linode/alpine3.
|
|
18
|
+
* image: "linode/alpine3.19",
|
|
19
19
|
* label: "foobar-test",
|
|
20
20
|
* type: "g6-nanode-1",
|
|
21
21
|
* region: "us-east",
|
package/instanceIp.js
CHANGED
|
@@ -19,7 +19,7 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* import * as linode from "@pulumi/linode";
|
|
20
20
|
*
|
|
21
21
|
* const fooInstance = new linode.Instance("fooInstance", {
|
|
22
|
-
* image: "linode/alpine3.
|
|
22
|
+
* image: "linode/alpine3.19",
|
|
23
23
|
* label: "foobar-test",
|
|
24
24
|
* type: "g6-nanode-1",
|
|
25
25
|
* region: "us-east",
|
package/ipv6Range.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
*
|
|
9
9
|
* const foobarInstance = new linode.Instance("foobarInstance", {
|
|
10
10
|
* label: "my-linode",
|
|
11
|
-
* image: "linode/alpine3.
|
|
11
|
+
* image: "linode/alpine3.19",
|
|
12
12
|
* type: "g6-nanode-1",
|
|
13
13
|
* region: "us-southeast",
|
|
14
14
|
* });
|
package/ipv6Range.js
CHANGED
|
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* const foobarInstance = new linode.Instance("foobarInstance", {
|
|
16
16
|
* label: "my-linode",
|
|
17
|
-
* image: "linode/alpine3.
|
|
17
|
+
* image: "linode/alpine3.19",
|
|
18
18
|
* type: "g6-nanode-1",
|
|
19
19
|
* region: "us-southeast",
|
|
20
20
|
* });
|
package/lkeCluster.d.ts
CHANGED
|
@@ -2,50 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Manages an LKE cluster.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* Creating a basic LKE cluster:
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as linode from "@pulumi/linode";
|
|
14
|
-
*
|
|
15
|
-
* const my_cluster = new linode.LkeCluster("my-cluster", {
|
|
16
|
-
* k8sVersion: "1.21",
|
|
17
|
-
* label: "my-cluster",
|
|
18
|
-
* pools: [{
|
|
19
|
-
* count: 3,
|
|
20
|
-
* type: "g6-standard-2",
|
|
21
|
-
* }],
|
|
22
|
-
* region: "us-central",
|
|
23
|
-
* tags: ["prod"],
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* Creating an LKE cluster with autoscaler:
|
|
28
|
-
*
|
|
29
|
-
* ```typescript
|
|
30
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
-
* import * as linode from "@pulumi/linode";
|
|
32
|
-
*
|
|
33
|
-
* const my_cluster = new linode.LkeCluster("my-cluster", {
|
|
34
|
-
* label: "my-cluster",
|
|
35
|
-
* k8sVersion: "1.21",
|
|
36
|
-
* region: "us-central",
|
|
37
|
-
* tags: ["prod"],
|
|
38
|
-
* pools: [{
|
|
39
|
-
* type: "g6-standard-2",
|
|
40
|
-
* count: 3,
|
|
41
|
-
* autoscaler: {
|
|
42
|
-
* min: 3,
|
|
43
|
-
* max: 10,
|
|
44
|
-
* },
|
|
45
|
-
* }],
|
|
46
|
-
* });
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
5
|
* ## Import
|
|
50
6
|
*
|
|
51
7
|
* LKE Clusters can be imported using the `id`, e.g.
|
package/lkeCluster.js
CHANGED
|
@@ -6,50 +6,6 @@ exports.LkeCluster = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Manages an LKE cluster.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* Creating a basic LKE cluster:
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as linode from "@pulumi/linode";
|
|
18
|
-
*
|
|
19
|
-
* const my_cluster = new linode.LkeCluster("my-cluster", {
|
|
20
|
-
* k8sVersion: "1.21",
|
|
21
|
-
* label: "my-cluster",
|
|
22
|
-
* pools: [{
|
|
23
|
-
* count: 3,
|
|
24
|
-
* type: "g6-standard-2",
|
|
25
|
-
* }],
|
|
26
|
-
* region: "us-central",
|
|
27
|
-
* tags: ["prod"],
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* Creating an LKE cluster with autoscaler:
|
|
32
|
-
*
|
|
33
|
-
* ```typescript
|
|
34
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
-
* import * as linode from "@pulumi/linode";
|
|
36
|
-
*
|
|
37
|
-
* const my_cluster = new linode.LkeCluster("my-cluster", {
|
|
38
|
-
* label: "my-cluster",
|
|
39
|
-
* k8sVersion: "1.21",
|
|
40
|
-
* region: "us-central",
|
|
41
|
-
* tags: ["prod"],
|
|
42
|
-
* pools: [{
|
|
43
|
-
* type: "g6-standard-2",
|
|
44
|
-
* count: 3,
|
|
45
|
-
* autoscaler: {
|
|
46
|
-
* min: 3,
|
|
47
|
-
* max: 10,
|
|
48
|
-
* },
|
|
49
|
-
* }],
|
|
50
|
-
* });
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
9
|
* ## Import
|
|
54
10
|
*
|
|
55
11
|
* LKE Clusters can be imported using the `id`, e.g.
|
package/lkeCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lkeCluster.js","sourceRoot":"","sources":["../lkeCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"lkeCluster.js","sourceRoot":"","sources":["../lkeCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE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Output<number>;
|
|
52
52
|
/**
|
|
53
|
-
* When this
|
|
53
|
+
* When this firewall was created.
|
|
54
54
|
*/
|
|
55
55
|
readonly created: pulumi.Output<string>;
|
|
56
56
|
/**
|
|
57
57
|
* ID for the firewall you'd like to use with this NodeBalancer.
|
|
58
58
|
*/
|
|
59
59
|
readonly firewallId: pulumi.Output<number | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* A list of Firewalls assigned to this NodeBalancer.
|
|
62
|
+
*/
|
|
63
|
+
readonly firewalls: pulumi.Output<outputs.NodeBalancerFirewall[]>;
|
|
60
64
|
/**
|
|
61
65
|
* This NodeBalancer's hostname, ending with .nodebalancer.linode.com
|
|
62
66
|
*/
|
|
63
67
|
readonly hostname: pulumi.Output<string>;
|
|
64
68
|
/**
|
|
65
|
-
*
|
|
69
|
+
* A list of IPv4 addresses or networks. Must be in IP/mask format.
|
|
66
70
|
*/
|
|
67
71
|
readonly ipv4: pulumi.Output<string>;
|
|
68
72
|
/**
|
|
69
|
-
*
|
|
73
|
+
* A list of IPv6 addresses or networks. Must be in IP/mask format.
|
|
70
74
|
*/
|
|
71
75
|
readonly ipv6: pulumi.Output<string>;
|
|
72
76
|
/**
|
|
@@ -88,7 +92,7 @@ export declare class NodeBalancer extends pulumi.CustomResource {
|
|
|
88
92
|
*/
|
|
89
93
|
readonly transfers: pulumi.Output<outputs.NodeBalancerTransfer[]>;
|
|
90
94
|
/**
|
|
91
|
-
* When this
|
|
95
|
+
* When this firewall was last updated.
|
|
92
96
|
*/
|
|
93
97
|
readonly updated: pulumi.Output<string>;
|
|
94
98
|
/**
|
|
@@ -109,23 +113,27 @@ export interface NodeBalancerState {
|
|
|
109
113
|
*/
|
|
110
114
|
clientConnThrottle?: pulumi.Input<number>;
|
|
111
115
|
/**
|
|
112
|
-
* When this
|
|
116
|
+
* When this firewall was created.
|
|
113
117
|
*/
|
|
114
118
|
created?: pulumi.Input<string>;
|
|
115
119
|
/**
|
|
116
120
|
* ID for the firewall you'd like to use with this NodeBalancer.
|
|
117
121
|
*/
|
|
118
122
|
firewallId?: pulumi.Input<number>;
|
|
123
|
+
/**
|
|
124
|
+
* A list of Firewalls assigned to this NodeBalancer.
|
|
125
|
+
*/
|
|
126
|
+
firewalls?: pulumi.Input<pulumi.Input<inputs.NodeBalancerFirewall>[]>;
|
|
119
127
|
/**
|
|
120
128
|
* This NodeBalancer's hostname, ending with .nodebalancer.linode.com
|
|
121
129
|
*/
|
|
122
130
|
hostname?: pulumi.Input<string>;
|
|
123
131
|
/**
|
|
124
|
-
*
|
|
132
|
+
* A list of IPv4 addresses or networks. Must be in IP/mask format.
|
|
125
133
|
*/
|
|
126
134
|
ipv4?: pulumi.Input<string>;
|
|
127
135
|
/**
|
|
128
|
-
*
|
|
136
|
+
* A list of IPv6 addresses or networks. Must be in IP/mask format.
|
|
129
137
|
*/
|
|
130
138
|
ipv6?: pulumi.Input<string>;
|
|
131
139
|
/**
|
|
@@ -147,7 +155,7 @@ export interface NodeBalancerState {
|
|
|
147
155
|
*/
|
|
148
156
|
transfers?: pulumi.Input<pulumi.Input<inputs.NodeBalancerTransfer>[]>;
|
|
149
157
|
/**
|
|
150
|
-
* When this
|
|
158
|
+
* When this firewall was last updated.
|
|
151
159
|
*/
|
|
152
160
|
updated?: pulumi.Input<string>;
|
|
153
161
|
}
|
package/nodeBalancer.js
CHANGED
|
@@ -64,6 +64,7 @@ class NodeBalancer extends pulumi.CustomResource {
|
|
|
64
64
|
resourceInputs["clientConnThrottle"] = state ? state.clientConnThrottle : undefined;
|
|
65
65
|
resourceInputs["created"] = state ? state.created : undefined;
|
|
66
66
|
resourceInputs["firewallId"] = state ? state.firewallId : undefined;
|
|
67
|
+
resourceInputs["firewalls"] = state ? state.firewalls : undefined;
|
|
67
68
|
resourceInputs["hostname"] = state ? state.hostname : undefined;
|
|
68
69
|
resourceInputs["ipv4"] = state ? state.ipv4 : undefined;
|
|
69
70
|
resourceInputs["ipv6"] = state ? state.ipv6 : undefined;
|
|
@@ -81,6 +82,7 @@ class NodeBalancer extends pulumi.CustomResource {
|
|
|
81
82
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
82
83
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
83
84
|
resourceInputs["created"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["firewalls"] = undefined /*out*/;
|
|
84
86
|
resourceInputs["hostname"] = undefined /*out*/;
|
|
85
87
|
resourceInputs["ipv4"] = undefined /*out*/;
|
|
86
88
|
resourceInputs["ipv6"] = undefined /*out*/;
|