@pulumi/linode 4.17.0-alpha.1711519068 → 4.17.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/config/vars.d.ts +13 -0
- package/config/vars.js +18 -0
- package/config/vars.js.map +1 -1
- package/lkeCluster.d.ts +3 -3
- package/lkeNodePool.d.ts +27 -12
- package/lkeNodePool.js +9 -0
- package/lkeNodePool.js.map +1 -1
- package/objectStorageBucket.d.ts +20 -6
- package/objectStorageBucket.js +5 -1
- package/objectStorageBucket.js.map +1 -1
- package/objectStorageObject.d.ts +22 -10
- package/objectStorageObject.js +3 -7
- package/objectStorageObject.js.map +1 -1
- package/package.json +1 -1
- package/provider.d.ts +21 -0
- package/provider.js +5 -0
- package/provider.js.map +1 -1
- package/types/input.d.ts +15 -0
- package/types/output.d.ts +15 -0
package/config/vars.d.ts
CHANGED
|
@@ -28,6 +28,19 @@ export declare const maxRetryDelayMs: number | undefined;
|
|
|
28
28
|
* Minimum delay in milliseconds before retrying a request.
|
|
29
29
|
*/
|
|
30
30
|
export declare const minRetryDelayMs: number | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The access key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
|
|
33
|
+
*/
|
|
34
|
+
export declare const objAccessKey: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* The secret key to be used in linode.ObjectStorageBucket and linode_object_storage_object.
|
|
37
|
+
*/
|
|
38
|
+
export declare const objSecretKey: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* If true, temporary object keys will be created implicitly at apply-time for the linode.ObjectStorageObject and
|
|
41
|
+
* linodeObjectSorageBucket resource.
|
|
42
|
+
*/
|
|
43
|
+
export declare const objUseTempKeys: boolean | undefined;
|
|
31
44
|
/**
|
|
32
45
|
* If true, Linode Instances will not be rebooted on config and interface changes.
|
|
33
46
|
*/
|
package/config/vars.js
CHANGED
|
@@ -60,6 +60,24 @@ Object.defineProperty(exports, "minRetryDelayMs", {
|
|
|
60
60
|
},
|
|
61
61
|
enumerable: true,
|
|
62
62
|
});
|
|
63
|
+
Object.defineProperty(exports, "objAccessKey", {
|
|
64
|
+
get() {
|
|
65
|
+
return __config.get("objAccessKey");
|
|
66
|
+
},
|
|
67
|
+
enumerable: true,
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "objSecretKey", {
|
|
70
|
+
get() {
|
|
71
|
+
return __config.get("objSecretKey");
|
|
72
|
+
},
|
|
73
|
+
enumerable: true,
|
|
74
|
+
});
|
|
75
|
+
Object.defineProperty(exports, "objUseTempKeys", {
|
|
76
|
+
get() {
|
|
77
|
+
return __config.getObject("objUseTempKeys");
|
|
78
|
+
},
|
|
79
|
+
enumerable: true,
|
|
80
|
+
});
|
|
63
81
|
Object.defineProperty(exports, "skipImplicitReboots", {
|
|
64
82
|
get() {
|
|
65
83
|
return __config.getObject("skipImplicitReboots");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAM7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;IAChF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cA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I;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,wBAAwB,EAAE;IACrD,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,wBAAwB,CAAC,CAAC;IACjE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,uBAAuB,EAAE;IACpD,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,uBAAuB,CAAC,CAAC;IAChE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IAC5E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,EAAE;IAClC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IACjE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/lkeCluster.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare class LkeCluster extends pulumi.CustomResource {
|
|
|
39
39
|
*/
|
|
40
40
|
readonly dashboardUrl: pulumi.Output<string>;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* A set of node pool tags to ignore when planning and applying this cluster. This prevents externally managed node pools from being deleted or unintentionally updated on subsequent applies. See Externally Managed Node Pools for more details.
|
|
43
43
|
*/
|
|
44
44
|
readonly externalPoolTags: pulumi.Output<string[] | undefined>;
|
|
45
45
|
/**
|
|
@@ -100,7 +100,7 @@ export interface LkeClusterState {
|
|
|
100
100
|
*/
|
|
101
101
|
dashboardUrl?: pulumi.Input<string>;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* A set of node pool tags to ignore when planning and applying this cluster. This prevents externally managed node pools from being deleted or unintentionally updated on subsequent applies. See Externally Managed Node Pools for more details.
|
|
104
104
|
*/
|
|
105
105
|
externalPoolTags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
106
|
/**
|
|
@@ -145,7 +145,7 @@ export interface LkeClusterArgs {
|
|
|
145
145
|
*/
|
|
146
146
|
controlPlane?: pulumi.Input<inputs.LkeClusterControlPlane>;
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* A set of node pool tags to ignore when planning and applying this cluster. This prevents externally managed node pools from being deleted or unintentionally updated on subsequent applies. See Externally Managed Node Pools for more details.
|
|
149
149
|
*/
|
|
150
150
|
externalPoolTags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
151
151
|
/**
|
package/lkeNodePool.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* LKE Node Pools can be imported using the `cluster_id,id`, e.g.
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import linode:index/lkeNodePool:LkeNodePool my_pool 150003,12345
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
4
13
|
export declare class LkeNodePool extends pulumi.CustomResource {
|
|
5
14
|
/**
|
|
6
15
|
* Get an existing LkeNodePool resource's state with the given name, ID, and optional extra
|
|
@@ -19,11 +28,11 @@ export declare class LkeNodePool extends pulumi.CustomResource {
|
|
|
19
28
|
static isInstance(obj: any): obj is LkeNodePool;
|
|
20
29
|
readonly autoscaler: pulumi.Output<outputs.LkeNodePoolAutoscaler | undefined>;
|
|
21
30
|
/**
|
|
22
|
-
*
|
|
31
|
+
* ID of the LKE Cluster where to create the current Node Pool.
|
|
23
32
|
*/
|
|
24
33
|
readonly clusterId: pulumi.Output<number>;
|
|
25
34
|
/**
|
|
26
|
-
* The number of nodes in the Node Pool.
|
|
35
|
+
* The number of nodes in the Node Pool. If undefined with an autoscaler the initial node count will equal the autoscaler minimum.
|
|
27
36
|
*/
|
|
28
37
|
readonly nodeCount: pulumi.Output<number>;
|
|
29
38
|
/**
|
|
@@ -31,11 +40,13 @@ export declare class LkeNodePool extends pulumi.CustomResource {
|
|
|
31
40
|
*/
|
|
32
41
|
readonly nodes: pulumi.Output<outputs.LkeNodePoolNode[]>;
|
|
33
42
|
/**
|
|
34
|
-
* An array of tags applied to
|
|
43
|
+
* An array of tags applied to the Node Pool. Tags can be used to flag node pools as externally managed, see Externally Managed Node Pools for more details.
|
|
44
|
+
*
|
|
45
|
+
* * `autoscaler` - (Optional) If defined, an autoscaler will be enabled with the given configuration.
|
|
35
46
|
*/
|
|
36
47
|
readonly tags: pulumi.Output<string[]>;
|
|
37
48
|
/**
|
|
38
|
-
*
|
|
49
|
+
* A Linode Type for all nodes in the Node Pool. See all node types [here](https://api.linode.com/v4/linode/types).
|
|
39
50
|
*/
|
|
40
51
|
readonly type: pulumi.Output<string>;
|
|
41
52
|
/**
|
|
@@ -53,11 +64,11 @@ export declare class LkeNodePool extends pulumi.CustomResource {
|
|
|
53
64
|
export interface LkeNodePoolState {
|
|
54
65
|
autoscaler?: pulumi.Input<inputs.LkeNodePoolAutoscaler>;
|
|
55
66
|
/**
|
|
56
|
-
*
|
|
67
|
+
* ID of the LKE Cluster where to create the current Node Pool.
|
|
57
68
|
*/
|
|
58
69
|
clusterId?: pulumi.Input<number>;
|
|
59
70
|
/**
|
|
60
|
-
* The number of nodes in the Node Pool.
|
|
71
|
+
* The number of nodes in the Node Pool. If undefined with an autoscaler the initial node count will equal the autoscaler minimum.
|
|
61
72
|
*/
|
|
62
73
|
nodeCount?: pulumi.Input<number>;
|
|
63
74
|
/**
|
|
@@ -65,11 +76,13 @@ export interface LkeNodePoolState {
|
|
|
65
76
|
*/
|
|
66
77
|
nodes?: pulumi.Input<pulumi.Input<inputs.LkeNodePoolNode>[]>;
|
|
67
78
|
/**
|
|
68
|
-
* An array of tags applied to
|
|
79
|
+
* An array of tags applied to the Node Pool. Tags can be used to flag node pools as externally managed, see Externally Managed Node Pools for more details.
|
|
80
|
+
*
|
|
81
|
+
* * `autoscaler` - (Optional) If defined, an autoscaler will be enabled with the given configuration.
|
|
69
82
|
*/
|
|
70
83
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
71
84
|
/**
|
|
72
|
-
*
|
|
85
|
+
* A Linode Type for all nodes in the Node Pool. See all node types [here](https://api.linode.com/v4/linode/types).
|
|
73
86
|
*/
|
|
74
87
|
type?: pulumi.Input<string>;
|
|
75
88
|
}
|
|
@@ -79,19 +92,21 @@ export interface LkeNodePoolState {
|
|
|
79
92
|
export interface LkeNodePoolArgs {
|
|
80
93
|
autoscaler?: pulumi.Input<inputs.LkeNodePoolAutoscaler>;
|
|
81
94
|
/**
|
|
82
|
-
*
|
|
95
|
+
* ID of the LKE Cluster where to create the current Node Pool.
|
|
83
96
|
*/
|
|
84
97
|
clusterId: pulumi.Input<number>;
|
|
85
98
|
/**
|
|
86
|
-
* The number of nodes in the Node Pool.
|
|
99
|
+
* The number of nodes in the Node Pool. If undefined with an autoscaler the initial node count will equal the autoscaler minimum.
|
|
87
100
|
*/
|
|
88
101
|
nodeCount?: pulumi.Input<number>;
|
|
89
102
|
/**
|
|
90
|
-
* An array of tags applied to
|
|
103
|
+
* An array of tags applied to the Node Pool. Tags can be used to flag node pools as externally managed, see Externally Managed Node Pools for more details.
|
|
104
|
+
*
|
|
105
|
+
* * `autoscaler` - (Optional) If defined, an autoscaler will be enabled with the given configuration.
|
|
91
106
|
*/
|
|
92
107
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
93
108
|
/**
|
|
94
|
-
*
|
|
109
|
+
* A Linode Type for all nodes in the Node Pool. See all node types [here](https://api.linode.com/v4/linode/types).
|
|
95
110
|
*/
|
|
96
111
|
type: pulumi.Input<string>;
|
|
97
112
|
}
|
package/lkeNodePool.js
CHANGED
|
@@ -5,6 +5,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.LkeNodePool = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* LKE Node Pools can be imported using the `cluster_id,id`, e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import linode:index/lkeNodePool:LkeNodePool my_pool 150003,12345
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
8
17
|
class LkeNodePool extends pulumi.CustomResource {
|
|
9
18
|
/**
|
|
10
19
|
* Get an existing LkeNodePool resource's state with the given name, ID, and optional extra
|
package/lkeNodePool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lkeNodePool.js","sourceRoot":"","sources":["../lkeNodePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAG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AAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAxFL,kCAyFC;AA3EG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/objectStorageBucket.d.ts
CHANGED
|
@@ -48,6 +48,8 @@ import * as outputs from "./types/output";
|
|
|
48
48
|
* ```
|
|
49
49
|
* <!--End PulumiCodeChooser -->
|
|
50
50
|
*
|
|
51
|
+
* Creating an Object Storage Bucket with Lifecycle rules using provider-level object credentials
|
|
52
|
+
*
|
|
51
53
|
* ## Import
|
|
52
54
|
*
|
|
53
55
|
* Linodes Object Storage Buckets can be imported using the resource `id` which is made of `cluster:label`, e.g.
|
|
@@ -73,7 +75,9 @@ export declare class ObjectStorageBucket extends pulumi.CustomResource {
|
|
|
73
75
|
*/
|
|
74
76
|
static isInstance(obj: any): obj is ObjectStorageBucket;
|
|
75
77
|
/**
|
|
76
|
-
* The access key to authenticate with.
|
|
78
|
+
* The access key to authenticate with. If not specified with the resource, its value can be
|
|
79
|
+
* * configured by `objAccessKey` in the provider configuration;
|
|
80
|
+
* * or, generated implicitly at apply-time if `objUseTempKeys` at provider-level is set.
|
|
77
81
|
*/
|
|
78
82
|
readonly accessKey: pulumi.Output<string | undefined>;
|
|
79
83
|
/**
|
|
@@ -110,7 +114,9 @@ export declare class ObjectStorageBucket extends pulumi.CustomResource {
|
|
|
110
114
|
*/
|
|
111
115
|
readonly lifecycleRules: pulumi.Output<outputs.ObjectStorageBucketLifecycleRule[] | undefined>;
|
|
112
116
|
/**
|
|
113
|
-
* The secret key to authenticate with.
|
|
117
|
+
* The secret key to authenticate with. If not specified with the resource, its value can be
|
|
118
|
+
* * configured by `objSecretKey` in the provider configuration;
|
|
119
|
+
* * or, generated implicitly at apply-time if `objUseTempKeys` at provider-level is set.
|
|
114
120
|
*/
|
|
115
121
|
readonly secretKey: pulumi.Output<string | undefined>;
|
|
116
122
|
/**
|
|
@@ -135,7 +141,9 @@ export declare class ObjectStorageBucket extends pulumi.CustomResource {
|
|
|
135
141
|
*/
|
|
136
142
|
export interface ObjectStorageBucketState {
|
|
137
143
|
/**
|
|
138
|
-
* The access key to authenticate with.
|
|
144
|
+
* The access key to authenticate with. If not specified with the resource, its value can be
|
|
145
|
+
* * configured by `objAccessKey` in the provider configuration;
|
|
146
|
+
* * or, generated implicitly at apply-time if `objUseTempKeys` at provider-level is set.
|
|
139
147
|
*/
|
|
140
148
|
accessKey?: pulumi.Input<string>;
|
|
141
149
|
/**
|
|
@@ -172,7 +180,9 @@ export interface ObjectStorageBucketState {
|
|
|
172
180
|
*/
|
|
173
181
|
lifecycleRules?: pulumi.Input<pulumi.Input<inputs.ObjectStorageBucketLifecycleRule>[]>;
|
|
174
182
|
/**
|
|
175
|
-
* The secret key to authenticate with.
|
|
183
|
+
* The secret key to authenticate with. If not specified with the resource, its value can be
|
|
184
|
+
* * configured by `objSecretKey` in the provider configuration;
|
|
185
|
+
* * or, generated implicitly at apply-time if `objUseTempKeys` at provider-level is set.
|
|
176
186
|
*/
|
|
177
187
|
secretKey?: pulumi.Input<string>;
|
|
178
188
|
/**
|
|
@@ -189,7 +199,9 @@ export interface ObjectStorageBucketState {
|
|
|
189
199
|
*/
|
|
190
200
|
export interface ObjectStorageBucketArgs {
|
|
191
201
|
/**
|
|
192
|
-
* The access key to authenticate with.
|
|
202
|
+
* The access key to authenticate with. If not specified with the resource, its value can be
|
|
203
|
+
* * configured by `objAccessKey` in the provider configuration;
|
|
204
|
+
* * or, generated implicitly at apply-time if `objUseTempKeys` at provider-level is set.
|
|
193
205
|
*/
|
|
194
206
|
accessKey?: pulumi.Input<string>;
|
|
195
207
|
/**
|
|
@@ -217,7 +229,9 @@ export interface ObjectStorageBucketArgs {
|
|
|
217
229
|
*/
|
|
218
230
|
lifecycleRules?: pulumi.Input<pulumi.Input<inputs.ObjectStorageBucketLifecycleRule>[]>;
|
|
219
231
|
/**
|
|
220
|
-
* The secret key to authenticate with.
|
|
232
|
+
* The secret key to authenticate with. If not specified with the resource, its value can be
|
|
233
|
+
* * configured by `objSecretKey` in the provider configuration;
|
|
234
|
+
* * or, generated implicitly at apply-time if `objUseTempKeys` at provider-level is set.
|
|
221
235
|
*/
|
|
222
236
|
secretKey?: pulumi.Input<string>;
|
|
223
237
|
/**
|
package/objectStorageBucket.js
CHANGED
|
@@ -52,6 +52,8 @@ const utilities = require("./utilities");
|
|
|
52
52
|
* ```
|
|
53
53
|
* <!--End PulumiCodeChooser -->
|
|
54
54
|
*
|
|
55
|
+
* Creating an Object Storage Bucket with Lifecycle rules using provider-level object credentials
|
|
56
|
+
*
|
|
55
57
|
* ## Import
|
|
56
58
|
*
|
|
57
59
|
* Linodes Object Storage Buckets can be imported using the resource `id` which is made of `cluster:label`, e.g.
|
|
@@ -115,12 +117,14 @@ class ObjectStorageBucket extends pulumi.CustomResource {
|
|
|
115
117
|
resourceInputs["corsEnabled"] = args ? args.corsEnabled : undefined;
|
|
116
118
|
resourceInputs["label"] = args ? args.label : undefined;
|
|
117
119
|
resourceInputs["lifecycleRules"] = args ? args.lifecycleRules : undefined;
|
|
118
|
-
resourceInputs["secretKey"] = args ? args.secretKey : undefined;
|
|
120
|
+
resourceInputs["secretKey"] = (args === null || args === void 0 ? void 0 : args.secretKey) ? pulumi.secret(args.secretKey) : undefined;
|
|
119
121
|
resourceInputs["versioning"] = args ? args.versioning : undefined;
|
|
120
122
|
resourceInputs["endpoint"] = undefined /*out*/;
|
|
121
123
|
resourceInputs["hostname"] = undefined /*out*/;
|
|
122
124
|
}
|
|
123
125
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
126
|
+
const secretOpts = { additionalSecretOutputs: ["secretKey"] };
|
|
127
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
124
128
|
super(ObjectStorageBucket.__pulumiType, name, resourceInputs, opts);
|
|
125
129
|
}
|
|
126
130
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectStorageBucket.js","sourceRoot":"","sources":["../objectStorageBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"objectStorageBucket.js","sourceRoot":"","sources":["../objectStorageBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAgED,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE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C1E,cAAc,CAAC,WAAW,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAlIL,kDAmIC;AArHG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
package/objectStorageObject.d.ts
CHANGED
|
@@ -41,9 +41,11 @@ export declare class ObjectStorageObject extends pulumi.CustomResource {
|
|
|
41
41
|
*/
|
|
42
42
|
static isInstance(obj: any): obj is ObjectStorageObject;
|
|
43
43
|
/**
|
|
44
|
-
* The access key to authenticate with.
|
|
44
|
+
* The REQUIRED access key to authenticate with. If it's not specified with the resource, you must provide its value by
|
|
45
|
+
* * configuring the `objAccessKey` in the provider configuration;
|
|
46
|
+
* * or, opting-in generating it implicitly at apply-time using `objUseTempKeys` at provider-level.
|
|
45
47
|
*/
|
|
46
|
-
readonly accessKey: pulumi.Output<string>;
|
|
48
|
+
readonly accessKey: pulumi.Output<string | undefined>;
|
|
47
49
|
/**
|
|
48
50
|
* The canned ACL to apply. (`private`, `public-read`, `authenticated-read`, `public-read-write`, `custom`) (defaults to `private`).
|
|
49
51
|
*/
|
|
@@ -107,9 +109,11 @@ export declare class ObjectStorageObject extends pulumi.CustomResource {
|
|
|
107
109
|
[key: string]: string;
|
|
108
110
|
} | undefined>;
|
|
109
111
|
/**
|
|
110
|
-
* The secret key to
|
|
112
|
+
* The REQUIRED secret key to authenticate with. If it's not specified with the resource, you must provide its value by
|
|
113
|
+
* * configuring the `objSecretKey` in the provider configuration;
|
|
114
|
+
* * or, opting-in generating it implicitly at apply-time using `objUseTempKeys` at provider-level.
|
|
111
115
|
*/
|
|
112
|
-
readonly secretKey: pulumi.Output<string>;
|
|
116
|
+
readonly secretKey: pulumi.Output<string | undefined>;
|
|
113
117
|
/**
|
|
114
118
|
* The path to a file that will be read and uploaded as raw bytes for the object content. The path must either be relative to the root module or absolute.
|
|
115
119
|
*/
|
|
@@ -136,7 +140,9 @@ export declare class ObjectStorageObject extends pulumi.CustomResource {
|
|
|
136
140
|
*/
|
|
137
141
|
export interface ObjectStorageObjectState {
|
|
138
142
|
/**
|
|
139
|
-
* The access key to authenticate with.
|
|
143
|
+
* The REQUIRED access key to authenticate with. If it's not specified with the resource, you must provide its value by
|
|
144
|
+
* * configuring the `objAccessKey` in the provider configuration;
|
|
145
|
+
* * or, opting-in generating it implicitly at apply-time using `objUseTempKeys` at provider-level.
|
|
140
146
|
*/
|
|
141
147
|
accessKey?: pulumi.Input<string>;
|
|
142
148
|
/**
|
|
@@ -202,7 +208,9 @@ export interface ObjectStorageObjectState {
|
|
|
202
208
|
[key: string]: pulumi.Input<string>;
|
|
203
209
|
}>;
|
|
204
210
|
/**
|
|
205
|
-
* The secret key to
|
|
211
|
+
* The REQUIRED secret key to authenticate with. If it's not specified with the resource, you must provide its value by
|
|
212
|
+
* * configuring the `objSecretKey` in the provider configuration;
|
|
213
|
+
* * or, opting-in generating it implicitly at apply-time using `objUseTempKeys` at provider-level.
|
|
206
214
|
*/
|
|
207
215
|
secretKey?: pulumi.Input<string>;
|
|
208
216
|
/**
|
|
@@ -223,9 +231,11 @@ export interface ObjectStorageObjectState {
|
|
|
223
231
|
*/
|
|
224
232
|
export interface ObjectStorageObjectArgs {
|
|
225
233
|
/**
|
|
226
|
-
* The access key to authenticate with.
|
|
234
|
+
* The REQUIRED access key to authenticate with. If it's not specified with the resource, you must provide its value by
|
|
235
|
+
* * configuring the `objAccessKey` in the provider configuration;
|
|
236
|
+
* * or, opting-in generating it implicitly at apply-time using `objUseTempKeys` at provider-level.
|
|
227
237
|
*/
|
|
228
|
-
accessKey
|
|
238
|
+
accessKey?: pulumi.Input<string>;
|
|
229
239
|
/**
|
|
230
240
|
* The canned ACL to apply. (`private`, `public-read`, `authenticated-read`, `public-read-write`, `custom`) (defaults to `private`).
|
|
231
241
|
*/
|
|
@@ -289,9 +299,11 @@ export interface ObjectStorageObjectArgs {
|
|
|
289
299
|
[key: string]: pulumi.Input<string>;
|
|
290
300
|
}>;
|
|
291
301
|
/**
|
|
292
|
-
* The secret key to
|
|
302
|
+
* The REQUIRED secret key to authenticate with. If it's not specified with the resource, you must provide its value by
|
|
303
|
+
* * configuring the `objSecretKey` in the provider configuration;
|
|
304
|
+
* * or, opting-in generating it implicitly at apply-time using `objUseTempKeys` at provider-level.
|
|
293
305
|
*/
|
|
294
|
-
secretKey
|
|
306
|
+
secretKey?: pulumi.Input<string>;
|
|
295
307
|
/**
|
|
296
308
|
* The path to a file that will be read and uploaded as raw bytes for the object content. The path must either be relative to the root module or absolute.
|
|
297
309
|
*/
|
package/objectStorageObject.js
CHANGED
|
@@ -81,9 +81,6 @@ class ObjectStorageObject extends pulumi.CustomResource {
|
|
|
81
81
|
}
|
|
82
82
|
else {
|
|
83
83
|
const args = argsOrState;
|
|
84
|
-
if ((!args || args.accessKey === undefined) && !opts.urn) {
|
|
85
|
-
throw new Error("Missing required property 'accessKey'");
|
|
86
|
-
}
|
|
87
84
|
if ((!args || args.bucket === undefined) && !opts.urn) {
|
|
88
85
|
throw new Error("Missing required property 'bucket'");
|
|
89
86
|
}
|
|
@@ -93,9 +90,6 @@ class ObjectStorageObject extends pulumi.CustomResource {
|
|
|
93
90
|
if ((!args || args.key === undefined) && !opts.urn) {
|
|
94
91
|
throw new Error("Missing required property 'key'");
|
|
95
92
|
}
|
|
96
|
-
if ((!args || args.secretKey === undefined) && !opts.urn) {
|
|
97
|
-
throw new Error("Missing required property 'secretKey'");
|
|
98
|
-
}
|
|
99
93
|
resourceInputs["accessKey"] = args ? args.accessKey : undefined;
|
|
100
94
|
resourceInputs["acl"] = args ? args.acl : undefined;
|
|
101
95
|
resourceInputs["bucket"] = args ? args.bucket : undefined;
|
|
@@ -112,12 +106,14 @@ class ObjectStorageObject extends pulumi.CustomResource {
|
|
|
112
106
|
resourceInputs["forceDestroy"] = args ? args.forceDestroy : undefined;
|
|
113
107
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
114
108
|
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
115
|
-
resourceInputs["secretKey"] = args ? args.secretKey : undefined;
|
|
109
|
+
resourceInputs["secretKey"] = (args === null || args === void 0 ? void 0 : args.secretKey) ? pulumi.secret(args.secretKey) : undefined;
|
|
116
110
|
resourceInputs["source"] = args ? args.source : undefined;
|
|
117
111
|
resourceInputs["websiteRedirect"] = args ? args.websiteRedirect : undefined;
|
|
118
112
|
resourceInputs["versionId"] = undefined /*out*/;
|
|
119
113
|
}
|
|
120
114
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
115
|
+
const secretOpts = { additionalSecretOutputs: ["secretKey"] };
|
|
116
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
121
117
|
super(ObjectStorageObject.__pulumiType, name, resourceInputs, opts);
|
|
122
118
|
}
|
|
123
119
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectStorageObject.js","sourceRoot":"","sources":["../objectStorageObject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;
|
|
1
|
+
{"version":3,"file":"objectStorageObject.js","sourceRoot":"","sources":["../objectStorageObject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,CA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AAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAtLL,kDAuLC;AAzKG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
package/package.json
CHANGED
package/provider.d.ts
CHANGED
|
@@ -17,6 +17,14 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
17
17
|
readonly apiVersion: pulumi.Output<string | undefined>;
|
|
18
18
|
readonly configPath: pulumi.Output<string | undefined>;
|
|
19
19
|
readonly configProfile: pulumi.Output<string | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* The access key to be used in linode_object_storage_bucket and linode_object_storage_object.
|
|
22
|
+
*/
|
|
23
|
+
readonly objAccessKey: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* The secret key to be used in linode_object_storage_bucket and linode_object_storage_object.
|
|
26
|
+
*/
|
|
27
|
+
readonly objSecretKey: pulumi.Output<string | undefined>;
|
|
20
28
|
/**
|
|
21
29
|
* The token that allows you access to your Linode account
|
|
22
30
|
*/
|
|
@@ -72,6 +80,19 @@ export interface ProviderArgs {
|
|
|
72
80
|
* Minimum delay in milliseconds before retrying a request.
|
|
73
81
|
*/
|
|
74
82
|
minRetryDelayMs?: pulumi.Input<number>;
|
|
83
|
+
/**
|
|
84
|
+
* The access key to be used in linode_object_storage_bucket and linode_object_storage_object.
|
|
85
|
+
*/
|
|
86
|
+
objAccessKey?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The secret key to be used in linode_object_storage_bucket and linode_object_storage_object.
|
|
89
|
+
*/
|
|
90
|
+
objSecretKey?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* If true, temporary object keys will be created implicitly at apply-time for the linode_object_storage_object and
|
|
93
|
+
* linode_object_sorage_bucket resource.
|
|
94
|
+
*/
|
|
95
|
+
objUseTempKeys?: pulumi.Input<boolean>;
|
|
75
96
|
/**
|
|
76
97
|
* If true, Linode Instances will not be rebooted on config and interface changes.
|
|
77
98
|
*/
|
package/provider.js
CHANGED
|
@@ -43,6 +43,9 @@ class Provider extends pulumi.ProviderResource {
|
|
|
43
43
|
resourceInputs["lkeNodeReadyPollMs"] = pulumi.output(args ? args.lkeNodeReadyPollMs : undefined).apply(JSON.stringify);
|
|
44
44
|
resourceInputs["maxRetryDelayMs"] = pulumi.output(args ? args.maxRetryDelayMs : undefined).apply(JSON.stringify);
|
|
45
45
|
resourceInputs["minRetryDelayMs"] = pulumi.output(args ? args.minRetryDelayMs : undefined).apply(JSON.stringify);
|
|
46
|
+
resourceInputs["objAccessKey"] = args ? args.objAccessKey : undefined;
|
|
47
|
+
resourceInputs["objSecretKey"] = (args === null || args === void 0 ? void 0 : args.objSecretKey) ? pulumi.secret(args.objSecretKey) : undefined;
|
|
48
|
+
resourceInputs["objUseTempKeys"] = pulumi.output(args ? args.objUseTempKeys : undefined).apply(JSON.stringify);
|
|
46
49
|
resourceInputs["skipImplicitReboots"] = pulumi.output(args ? args.skipImplicitReboots : undefined).apply(JSON.stringify);
|
|
47
50
|
resourceInputs["skipInstanceDeletePoll"] = pulumi.output(args ? args.skipInstanceDeletePoll : undefined).apply(JSON.stringify);
|
|
48
51
|
resourceInputs["skipInstanceReadyPoll"] = pulumi.output(args ? args.skipInstanceReadyPoll : undefined).apply(JSON.stringify);
|
|
@@ -51,6 +54,8 @@ class Provider extends pulumi.ProviderResource {
|
|
|
51
54
|
resourceInputs["url"] = (_c = (args ? args.url : undefined)) !== null && _c !== void 0 ? _c : utilities.getEnv("LINODE_URL");
|
|
52
55
|
}
|
|
53
56
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
57
|
+
const secretOpts = { additionalSecretOutputs: ["objSecretKey"] };
|
|
58
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
54
59
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
55
60
|
}
|
|
56
61
|
}
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC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,GAAG,QAAQ,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -4344,12 +4344,27 @@ export interface LkeClusterPoolNode {
|
|
|
4344
4344
|
status?: pulumi.Input<string>;
|
|
4345
4345
|
}
|
|
4346
4346
|
export interface LkeNodePoolAutoscaler {
|
|
4347
|
+
/**
|
|
4348
|
+
* The maximum number of nodes to autoscale to.
|
|
4349
|
+
*/
|
|
4347
4350
|
max: pulumi.Input<number>;
|
|
4351
|
+
/**
|
|
4352
|
+
* The minimum number of nodes to autoscale to.
|
|
4353
|
+
*/
|
|
4348
4354
|
min: pulumi.Input<number>;
|
|
4349
4355
|
}
|
|
4350
4356
|
export interface LkeNodePoolNode {
|
|
4357
|
+
/**
|
|
4358
|
+
* The ID of the node.
|
|
4359
|
+
*/
|
|
4351
4360
|
id: pulumi.Input<string>;
|
|
4361
|
+
/**
|
|
4362
|
+
* The ID of the underlying Linode instance.
|
|
4363
|
+
*/
|
|
4352
4364
|
instanceId: pulumi.Input<number>;
|
|
4365
|
+
/**
|
|
4366
|
+
* The status of the node. (`ready`, `notReady`)
|
|
4367
|
+
*/
|
|
4353
4368
|
status: pulumi.Input<string>;
|
|
4354
4369
|
}
|
|
4355
4370
|
export interface NodeBalancerConfigNodeStatus {
|
package/types/output.d.ts
CHANGED
|
@@ -3645,12 +3645,27 @@ export interface LkeClusterPoolNode {
|
|
|
3645
3645
|
status: string;
|
|
3646
3646
|
}
|
|
3647
3647
|
export interface LkeNodePoolAutoscaler {
|
|
3648
|
+
/**
|
|
3649
|
+
* The maximum number of nodes to autoscale to.
|
|
3650
|
+
*/
|
|
3648
3651
|
max: number;
|
|
3652
|
+
/**
|
|
3653
|
+
* The minimum number of nodes to autoscale to.
|
|
3654
|
+
*/
|
|
3649
3655
|
min: number;
|
|
3650
3656
|
}
|
|
3651
3657
|
export interface LkeNodePoolNode {
|
|
3658
|
+
/**
|
|
3659
|
+
* The ID of the node.
|
|
3660
|
+
*/
|
|
3652
3661
|
id: string;
|
|
3662
|
+
/**
|
|
3663
|
+
* The ID of the underlying Linode instance.
|
|
3664
|
+
*/
|
|
3653
3665
|
instanceId: number;
|
|
3666
|
+
/**
|
|
3667
|
+
* The status of the node. (`ready`, `notReady`)
|
|
3668
|
+
*/
|
|
3654
3669
|
status: string;
|
|
3655
3670
|
}
|
|
3656
3671
|
export interface NodeBalancerConfigNodeStatus {
|