@pulumi/linode 4.25.0-alpha.1723454228 → 4.25.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/getImage.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
2
4
  /**
3
5
  * Provides information about a Linode image
4
6
  * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-image).
@@ -25,6 +27,10 @@ export interface GetImageArgs {
25
27
  * The unique ID of this Image. The ID of private images begin with `private/` followed by the numeric identifier of the private image, for example `private/12345`.
26
28
  */
27
29
  id: string;
30
+ /**
31
+ * A list of image replication regions and corresponding status.
32
+ */
33
+ replications?: inputs.GetImageReplication[];
28
34
  }
29
35
  /**
30
36
  * A collection of values returned by getImage.
@@ -57,14 +63,26 @@ export interface GetImageResult {
57
63
  * A short description of the Image.
58
64
  */
59
65
  readonly label: string;
66
+ /**
67
+ * A list of image replication regions and corresponding status.
68
+ */
69
+ readonly replications?: outputs.GetImageReplication[];
60
70
  /**
61
71
  * The minimum size this Image needs to deploy. Size is in MB. example: 2500
62
72
  */
63
73
  readonly size: number;
64
74
  /**
65
- * The current status of this image. (`creating`, `pendingUpload`, `available`)
75
+ * The status of an image replica.
66
76
  */
67
77
  readonly status: string;
78
+ /**
79
+ * A list of customized tags.
80
+ */
81
+ readonly tags: string[];
82
+ /**
83
+ * The total size of the image in all available regions.
84
+ */
85
+ readonly totalSize: number;
68
86
  /**
69
87
  * How the Image was created. Manual Images can be created at any time. "Automatic" Images are created automatically from a deleted Linode. (`manual`, `automatic`)
70
88
  */
@@ -100,4 +118,8 @@ export interface GetImageOutputArgs {
100
118
  * The unique ID of this Image. The ID of private images begin with `private/` followed by the numeric identifier of the private image, for example `private/12345`.
101
119
  */
102
120
  id: pulumi.Input<string>;
121
+ /**
122
+ * A list of image replication regions and corresponding status.
123
+ */
124
+ replications?: pulumi.Input<pulumi.Input<inputs.GetImageReplicationArgs>[]>;
103
125
  }
package/getImage.js CHANGED
@@ -26,6 +26,7 @@ function getImage(args, opts) {
26
26
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
27
  return pulumi.runtime.invoke("linode:index/getImage:getImage", {
28
28
  "id": args.id,
29
+ "replications": args.replications,
29
30
  }, opts);
30
31
  }
31
32
  exports.getImage = getImage;
package/getImage.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getImage.js","sourceRoot":"","sources":["../getImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AA4DD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"getImage.js","sourceRoot":"","sources":["../getImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AA4ED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
package/getImages.d.ts CHANGED
@@ -57,6 +57,8 @@ import * as outputs from "./types/output";
57
57
  * * `status`
58
58
  *
59
59
  * * `vendor`
60
+ *
61
+ * * `tags`
60
62
  */
61
63
  export declare function getImages(args?: GetImagesArgs, opts?: pulumi.InvokeOptions): Promise<GetImagesResult>;
62
64
  /**
@@ -150,6 +152,8 @@ export interface GetImagesResult {
150
152
  * * `status`
151
153
  *
152
154
  * * `vendor`
155
+ *
156
+ * * `tags`
153
157
  */
154
158
  export declare function getImagesOutput(args?: GetImagesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetImagesResult>;
155
159
  /**
package/getImages.js CHANGED
@@ -61,6 +61,8 @@ const utilities = require("./utilities");
61
61
  * * `status`
62
62
  *
63
63
  * * `vendor`
64
+ *
65
+ * * `tags`
64
66
  */
65
67
  function getImages(args, opts) {
66
68
  args = args || {};
@@ -130,6 +132,8 @@ exports.getImages = getImages;
130
132
  * * `status`
131
133
  *
132
134
  * * `vendor`
135
+ *
136
+ * * `tags`
133
137
  */
134
138
  function getImagesOutput(args, opts) {
135
139
  return pulumi.output(args).apply((a) => getImages(a, opts));
package/getImages.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getImages.js","sourceRoot":"","sources":["../getImages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AAsCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"getImages.js","sourceRoot":"","sources":["../getImages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AAsCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
@@ -24,6 +24,8 @@ export declare function getLinodeObjectStorageBucket(args: GetLinodeObjectStorag
24
24
  export interface GetLinodeObjectStorageBucketArgs {
25
25
  /**
26
26
  * The ID of the Object Storage Cluster this bucket is in. Required if `region` is not configured.
27
+ *
28
+ * @deprecated The cluster attribute has been deprecated, please consider switching to the region attribute. For example, a cluster value of `us-mia-1` can be translated to a region value of `us-mia`.
27
29
  */
28
30
  cluster?: string;
29
31
  /**
@@ -39,6 +41,9 @@ export interface GetLinodeObjectStorageBucketArgs {
39
41
  * A collection of values returned by getLinodeObjectStorageBucket.
40
42
  */
41
43
  export interface GetLinodeObjectStorageBucketResult {
44
+ /**
45
+ * @deprecated The cluster attribute has been deprecated, please consider switching to the region attribute. For example, a cluster value of `us-mia-1` can be translated to a region value of `us-mia`.
46
+ */
42
47
  readonly cluster: string;
43
48
  readonly created: string;
44
49
  readonly hostname: string;
@@ -73,6 +78,8 @@ export declare function getLinodeObjectStorageBucketOutput(args: GetLinodeObject
73
78
  export interface GetLinodeObjectStorageBucketOutputArgs {
74
79
  /**
75
80
  * The ID of the Object Storage Cluster this bucket is in. Required if `region` is not configured.
81
+ *
82
+ * @deprecated The cluster attribute has been deprecated, please consider switching to the region attribute. For example, a cluster value of `us-mia-1` can be translated to a region value of `us-mia`.
76
83
  */
77
84
  cluster?: pulumi.Input<string>;
78
85
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getLinodeObjectStorageBucket.js","sourceRoot":"","sources":["../getLinodeObjectStorageBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAE5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;AAiCD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
1
+ {"version":3,"file":"getLinodeObjectStorageBucket.js","sourceRoot":"","sources":["../getLinodeObjectStorageBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAE5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;AAsCD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
package/image.d.ts CHANGED
@@ -25,6 +25,10 @@ import * as outputs from "./types/output";
25
25
  * description: "Image taken from foo",
26
26
  * diskId: foo.disks.apply(disks => disks[0].id),
27
27
  * linodeId: foo.id,
28
+ * tags: [
29
+ * "image-tag",
30
+ * "test",
31
+ * ],
28
32
  * });
29
33
  * const barBased = new linode.Instance("bar_based", {
30
34
  * type: foo.type,
@@ -44,6 +48,10 @@ import * as outputs from "./types/output";
44
48
  * label: "foobar-image",
45
49
  * description: "An image uploaded from Terraform!",
46
50
  * region: "us-southeast",
51
+ * tags: [
52
+ * "image-tag",
53
+ * "test",
54
+ * ],
47
55
  * filePath: "path/to/image.img.gz",
48
56
  * fileHash: std.filemd5({
49
57
  * input: "path/to/image.img.gz",
@@ -51,6 +59,33 @@ import * as outputs from "./types/output";
51
59
  * });
52
60
  * ```
53
61
  *
62
+ * Upload and replicate an image from a local file:
63
+ *
64
+ * ```typescript
65
+ * import * as pulumi from "@pulumi/pulumi";
66
+ * import * as linode from "@pulumi/linode";
67
+ * import * as std from "@pulumi/std";
68
+ *
69
+ * const foobar = new linode.Image("foobar", {
70
+ * label: "foobar-image",
71
+ * description: "An image uploaded from Terraform!",
72
+ * region: "us-southeast",
73
+ * tags: [
74
+ * "image-tag",
75
+ * "test",
76
+ * ],
77
+ * filePath: "path/to/image.img.gz",
78
+ * fileHash: std.filemd5({
79
+ * input: "path/to/image.img.gz",
80
+ * }).then(invoke => invoke.result),
81
+ * replicaRegions: [
82
+ * "us-southeast",
83
+ * "us-east",
84
+ * "eu-west",
85
+ * ],
86
+ * });
87
+ * ```
88
+ *
54
89
  * ## Import
55
90
  *
56
91
  * Linodes Images can be imported using the Linode Image `id`, e.g.
@@ -97,10 +132,6 @@ export declare class Image extends pulumi.CustomResource {
97
132
  readonly deprecated: pulumi.Output<boolean>;
98
133
  /**
99
134
  * A detailed description of this Image.
100
- *
101
- * - - -
102
- *
103
- * The following arguments apply to creating an image from an existing Linode Instance:
104
135
  */
105
136
  readonly description: pulumi.Output<string | undefined>;
106
137
  /**
@@ -114,7 +145,7 @@ export declare class Image extends pulumi.CustomResource {
114
145
  /**
115
146
  * The MD5 hash of the file to be uploaded. This is used to trigger file updates.
116
147
  */
117
- readonly fileHash: pulumi.Output<string>;
148
+ readonly fileHash: pulumi.Output<string | undefined>;
118
149
  /**
119
150
  * The path of the image file to be uploaded.
120
151
  */
@@ -138,18 +169,34 @@ export declare class Image extends pulumi.CustomResource {
138
169
  */
139
170
  readonly linodeId: pulumi.Output<number | undefined>;
140
171
  /**
141
- * The region of the image. See all regions [here](https://api.linode.com/v4/regions).
172
+ * The region of the image. See all regions [here](https://techdocs.akamai.com/linode-api/reference/get-regions).
142
173
  */
143
174
  readonly region: pulumi.Output<string | undefined>;
175
+ /**
176
+ * A list of regions that customer wants to replicate this image in. At least one valid region is required and only core regions allowed. Existing images in the regions not passed will be removed. **Note:** Image replication may not be available to all users. See Replicate an Image [here](https://techdocs.akamai.com/linode-api/reference/post-replicate-image) for more details.
177
+ */
178
+ readonly replicaRegions: pulumi.Output<string[] | undefined>;
179
+ /**
180
+ * A list of image replications region and corresponding status.
181
+ */
182
+ readonly replications: pulumi.Output<outputs.ImageReplication[]>;
144
183
  /**
145
184
  * The minimum size this Image needs to deploy. Size is in MB.
146
185
  */
147
186
  readonly size: pulumi.Output<number>;
148
187
  /**
149
- * The current status of this Image.
188
+ * The status of an image replica.
150
189
  */
151
190
  readonly status: pulumi.Output<string>;
191
+ /**
192
+ * A list of customized tags.
193
+ */
194
+ readonly tags: pulumi.Output<string[]>;
152
195
  readonly timeouts: pulumi.Output<outputs.ImageTimeouts | undefined>;
196
+ /**
197
+ * The total size of the image in all available regions.
198
+ */
199
+ readonly totalSize: pulumi.Output<number>;
153
200
  /**
154
201
  * How the Image was created. 'Manual' Images can be created at any time. 'Automatic' images are created automatically from a deleted Linode.
155
202
  */
@@ -158,6 +205,14 @@ export declare class Image extends pulumi.CustomResource {
158
205
  * The upstream distribution vendor. Nil for private Images.
159
206
  */
160
207
  readonly vendor: pulumi.Output<string>;
208
+ /**
209
+ * Whether to wait for all image replications become `available`. Default to false.
210
+ *
211
+ * - - -
212
+ *
213
+ * The following arguments apply to creating an image from an existing Linode Instance:
214
+ */
215
+ readonly waitForReplications: pulumi.Output<boolean>;
161
216
  /**
162
217
  * Create a Image resource with the given unique name, arguments, and options.
163
218
  *
@@ -193,10 +248,6 @@ export interface ImageState {
193
248
  deprecated?: pulumi.Input<boolean>;
194
249
  /**
195
250
  * A detailed description of this Image.
196
- *
197
- * - - -
198
- *
199
- * The following arguments apply to creating an image from an existing Linode Instance:
200
251
  */
201
252
  description?: pulumi.Input<string>;
202
253
  /**
@@ -234,18 +285,34 @@ export interface ImageState {
234
285
  */
235
286
  linodeId?: pulumi.Input<number>;
236
287
  /**
237
- * The region of the image. See all regions [here](https://api.linode.com/v4/regions).
288
+ * The region of the image. See all regions [here](https://techdocs.akamai.com/linode-api/reference/get-regions).
238
289
  */
239
290
  region?: pulumi.Input<string>;
291
+ /**
292
+ * A list of regions that customer wants to replicate this image in. At least one valid region is required and only core regions allowed. Existing images in the regions not passed will be removed. **Note:** Image replication may not be available to all users. See Replicate an Image [here](https://techdocs.akamai.com/linode-api/reference/post-replicate-image) for more details.
293
+ */
294
+ replicaRegions?: pulumi.Input<pulumi.Input<string>[]>;
295
+ /**
296
+ * A list of image replications region and corresponding status.
297
+ */
298
+ replications?: pulumi.Input<pulumi.Input<inputs.ImageReplication>[]>;
240
299
  /**
241
300
  * The minimum size this Image needs to deploy. Size is in MB.
242
301
  */
243
302
  size?: pulumi.Input<number>;
244
303
  /**
245
- * The current status of this Image.
304
+ * The status of an image replica.
246
305
  */
247
306
  status?: pulumi.Input<string>;
307
+ /**
308
+ * A list of customized tags.
309
+ */
310
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
248
311
  timeouts?: pulumi.Input<inputs.ImageTimeouts>;
312
+ /**
313
+ * The total size of the image in all available regions.
314
+ */
315
+ totalSize?: pulumi.Input<number>;
249
316
  /**
250
317
  * How the Image was created. 'Manual' Images can be created at any time. 'Automatic' images are created automatically from a deleted Linode.
251
318
  */
@@ -254,6 +321,14 @@ export interface ImageState {
254
321
  * The upstream distribution vendor. Nil for private Images.
255
322
  */
256
323
  vendor?: pulumi.Input<string>;
324
+ /**
325
+ * Whether to wait for all image replications become `available`. Default to false.
326
+ *
327
+ * - - -
328
+ *
329
+ * The following arguments apply to creating an image from an existing Linode Instance:
330
+ */
331
+ waitForReplications?: pulumi.Input<boolean>;
257
332
  }
258
333
  /**
259
334
  * The set of arguments for constructing a Image resource.
@@ -265,10 +340,6 @@ export interface ImageArgs {
265
340
  cloudInit?: pulumi.Input<boolean>;
266
341
  /**
267
342
  * A detailed description of this Image.
268
- *
269
- * - - -
270
- *
271
- * The following arguments apply to creating an image from an existing Linode Instance:
272
343
  */
273
344
  description?: pulumi.Input<string>;
274
345
  /**
@@ -298,8 +369,24 @@ export interface ImageArgs {
298
369
  */
299
370
  linodeId?: pulumi.Input<number>;
300
371
  /**
301
- * The region of the image. See all regions [here](https://api.linode.com/v4/regions).
372
+ * The region of the image. See all regions [here](https://techdocs.akamai.com/linode-api/reference/get-regions).
302
373
  */
303
374
  region?: pulumi.Input<string>;
375
+ /**
376
+ * A list of regions that customer wants to replicate this image in. At least one valid region is required and only core regions allowed. Existing images in the regions not passed will be removed. **Note:** Image replication may not be available to all users. See Replicate an Image [here](https://techdocs.akamai.com/linode-api/reference/post-replicate-image) for more details.
377
+ */
378
+ replicaRegions?: pulumi.Input<pulumi.Input<string>[]>;
379
+ /**
380
+ * A list of customized tags.
381
+ */
382
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
304
383
  timeouts?: pulumi.Input<inputs.ImageTimeouts>;
384
+ /**
385
+ * Whether to wait for all image replications become `available`. Default to false.
386
+ *
387
+ * - - -
388
+ *
389
+ * The following arguments apply to creating an image from an existing Linode Instance:
390
+ */
391
+ waitForReplications?: pulumi.Input<boolean>;
305
392
  }
package/image.js CHANGED
@@ -29,6 +29,10 @@ const utilities = require("./utilities");
29
29
  * description: "Image taken from foo",
30
30
  * diskId: foo.disks.apply(disks => disks[0].id),
31
31
  * linodeId: foo.id,
32
+ * tags: [
33
+ * "image-tag",
34
+ * "test",
35
+ * ],
32
36
  * });
33
37
  * const barBased = new linode.Instance("bar_based", {
34
38
  * type: foo.type,
@@ -48,6 +52,10 @@ const utilities = require("./utilities");
48
52
  * label: "foobar-image",
49
53
  * description: "An image uploaded from Terraform!",
50
54
  * region: "us-southeast",
55
+ * tags: [
56
+ * "image-tag",
57
+ * "test",
58
+ * ],
51
59
  * filePath: "path/to/image.img.gz",
52
60
  * fileHash: std.filemd5({
53
61
  * input: "path/to/image.img.gz",
@@ -55,6 +63,33 @@ const utilities = require("./utilities");
55
63
  * });
56
64
  * ```
57
65
  *
66
+ * Upload and replicate an image from a local file:
67
+ *
68
+ * ```typescript
69
+ * import * as pulumi from "@pulumi/pulumi";
70
+ * import * as linode from "@pulumi/linode";
71
+ * import * as std from "@pulumi/std";
72
+ *
73
+ * const foobar = new linode.Image("foobar", {
74
+ * label: "foobar-image",
75
+ * description: "An image uploaded from Terraform!",
76
+ * region: "us-southeast",
77
+ * tags: [
78
+ * "image-tag",
79
+ * "test",
80
+ * ],
81
+ * filePath: "path/to/image.img.gz",
82
+ * fileHash: std.filemd5({
83
+ * input: "path/to/image.img.gz",
84
+ * }).then(invoke => invoke.result),
85
+ * replicaRegions: [
86
+ * "us-southeast",
87
+ * "us-east",
88
+ * "eu-west",
89
+ * ],
90
+ * });
91
+ * ```
92
+ *
58
93
  * ## Import
59
94
  *
60
95
  * Linodes Images can be imported using the Linode Image `id`, e.g.
@@ -105,11 +140,16 @@ class Image extends pulumi.CustomResource {
105
140
  resourceInputs["label"] = state ? state.label : undefined;
106
141
  resourceInputs["linodeId"] = state ? state.linodeId : undefined;
107
142
  resourceInputs["region"] = state ? state.region : undefined;
143
+ resourceInputs["replicaRegions"] = state ? state.replicaRegions : undefined;
144
+ resourceInputs["replications"] = state ? state.replications : undefined;
108
145
  resourceInputs["size"] = state ? state.size : undefined;
109
146
  resourceInputs["status"] = state ? state.status : undefined;
147
+ resourceInputs["tags"] = state ? state.tags : undefined;
110
148
  resourceInputs["timeouts"] = state ? state.timeouts : undefined;
149
+ resourceInputs["totalSize"] = state ? state.totalSize : undefined;
111
150
  resourceInputs["type"] = state ? state.type : undefined;
112
151
  resourceInputs["vendor"] = state ? state.vendor : undefined;
152
+ resourceInputs["waitForReplications"] = state ? state.waitForReplications : undefined;
113
153
  }
114
154
  else {
115
155
  const args = argsOrState;
@@ -124,15 +164,20 @@ class Image extends pulumi.CustomResource {
124
164
  resourceInputs["label"] = args ? args.label : undefined;
125
165
  resourceInputs["linodeId"] = args ? args.linodeId : undefined;
126
166
  resourceInputs["region"] = args ? args.region : undefined;
167
+ resourceInputs["replicaRegions"] = args ? args.replicaRegions : undefined;
168
+ resourceInputs["tags"] = args ? args.tags : undefined;
127
169
  resourceInputs["timeouts"] = args ? args.timeouts : undefined;
170
+ resourceInputs["waitForReplications"] = args ? args.waitForReplications : undefined;
128
171
  resourceInputs["capabilities"] = undefined /*out*/;
129
172
  resourceInputs["created"] = undefined /*out*/;
130
173
  resourceInputs["createdBy"] = undefined /*out*/;
131
174
  resourceInputs["deprecated"] = undefined /*out*/;
132
175
  resourceInputs["expiry"] = undefined /*out*/;
133
176
  resourceInputs["isPublic"] = undefined /*out*/;
177
+ resourceInputs["replications"] = undefined /*out*/;
134
178
  resourceInputs["size"] = undefined /*out*/;
135
179
  resourceInputs["status"] = undefined /*out*/;
180
+ resourceInputs["totalSize"] = undefined /*out*/;
136
181
  resourceInputs["type"] = undefined /*out*/;
137
182
  resourceInputs["vendor"] = undefined /*out*/;
138
183
  }
package/image.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"image.js","sourceRoot":"","sources":["../image.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,I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AAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,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,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAzML,sBA0MC;AA5LG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
@@ -94,6 +94,8 @@ export declare class ObjectStorageObject extends pulumi.CustomResource {
94
94
  readonly cacheControl: pulumi.Output<string | undefined>;
95
95
  /**
96
96
  * The cluster the bucket is in. Required if `region` is not configured. Deprecated in favor of `region`.
97
+ *
98
+ * @deprecated The cluster attribute has been deprecated, please consider switching to the region attribute. For example, a cluster value of `us-mia-1` can be translated to a region value of `us-mia`.
97
99
  */
98
100
  readonly cluster: pulumi.Output<string | undefined>;
99
101
  /**
@@ -197,6 +199,8 @@ export interface ObjectStorageObjectState {
197
199
  cacheControl?: pulumi.Input<string>;
198
200
  /**
199
201
  * The cluster the bucket is in. Required if `region` is not configured. Deprecated in favor of `region`.
202
+ *
203
+ * @deprecated The cluster attribute has been deprecated, please consider switching to the region attribute. For example, a cluster value of `us-mia-1` can be translated to a region value of `us-mia`.
200
204
  */
201
205
  cluster?: pulumi.Input<string>;
202
206
  /**
@@ -292,6 +296,8 @@ export interface ObjectStorageObjectArgs {
292
296
  cacheControl?: pulumi.Input<string>;
293
297
  /**
294
298
  * The cluster the bucket is in. Required if `region` is not configured. Deprecated in favor of `region`.
299
+ *
300
+ * @deprecated The cluster attribute has been deprecated, please consider switching to the region attribute. For example, a cluster value of `us-mia-1` can be translated to a region value of `us-mia`.
295
301
  */
296
302
  cluster?: pulumi.Input<string>;
297
303
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"objectStorageObject.js","sourceRoot":"","sources":["../objectStorageObject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;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;IAmGD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,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M,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;;AA3LL,kDA4LC;AA9KG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/linode",
3
- "version": "4.25.0-alpha.1723454228",
3
+ "version": "4.25.0",
4
4
  "description": "A Pulumi package for creating and managing linode cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "linode",
26
- "version": "4.25.0-alpha.1723454228"
26
+ "version": "4.25.0"
27
27
  }
28
28
  }
package/types/input.d.ts CHANGED
@@ -1166,6 +1166,26 @@ export interface GetFirewallsFirewallOutboundArgs {
1166
1166
  */
1167
1167
  protocol?: pulumi.Input<string>;
1168
1168
  }
1169
+ export interface GetImageReplication {
1170
+ /**
1171
+ * The region of an image replica.
1172
+ */
1173
+ region?: string;
1174
+ /**
1175
+ * The status of an image replica.
1176
+ */
1177
+ status?: string;
1178
+ }
1179
+ export interface GetImageReplicationArgs {
1180
+ /**
1181
+ * The region of an image replica.
1182
+ */
1183
+ region?: pulumi.Input<string>;
1184
+ /**
1185
+ * The status of an image replica.
1186
+ */
1187
+ status?: pulumi.Input<string>;
1188
+ }
1169
1189
  export interface GetImagesFilter {
1170
1190
  /**
1171
1191
  * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
@@ -1231,14 +1251,26 @@ export interface GetImagesImage {
1231
1251
  * A short description of the Image.
1232
1252
  */
1233
1253
  label?: string;
1254
+ /**
1255
+ * A list of image replication regions and corresponding status.
1256
+ */
1257
+ replications?: inputs.GetImagesImageReplication[];
1234
1258
  /**
1235
1259
  * The minimum size this Image needs to deploy. Size is in MB. example: 2500
1236
1260
  */
1237
1261
  size?: number;
1238
1262
  /**
1239
- * The current status of this image. (`creating`, `pendingUpload`, `available`)
1263
+ * The status of an image replica.
1240
1264
  */
1241
1265
  status?: string;
1266
+ /**
1267
+ * A list of customized tags.
1268
+ */
1269
+ tags?: string[];
1270
+ /**
1271
+ * The total size of the image in all available regions.
1272
+ */
1273
+ totalSize?: number;
1242
1274
  /**
1243
1275
  * How the Image was created. Manual Images can be created at any time. "Automatic" Images are created automatically from a deleted Linode. (`manual`, `automatic`)
1244
1276
  */
@@ -1285,14 +1317,26 @@ export interface GetImagesImageArgs {
1285
1317
  * A short description of the Image.
1286
1318
  */
1287
1319
  label?: pulumi.Input<string>;
1320
+ /**
1321
+ * A list of image replication regions and corresponding status.
1322
+ */
1323
+ replications?: pulumi.Input<pulumi.Input<inputs.GetImagesImageReplicationArgs>[]>;
1288
1324
  /**
1289
1325
  * The minimum size this Image needs to deploy. Size is in MB. example: 2500
1290
1326
  */
1291
1327
  size?: pulumi.Input<number>;
1292
1328
  /**
1293
- * The current status of this image. (`creating`, `pendingUpload`, `available`)
1329
+ * The status of an image replica.
1294
1330
  */
1295
1331
  status?: pulumi.Input<string>;
1332
+ /**
1333
+ * A list of customized tags.
1334
+ */
1335
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
1336
+ /**
1337
+ * The total size of the image in all available regions.
1338
+ */
1339
+ totalSize?: pulumi.Input<number>;
1296
1340
  /**
1297
1341
  * How the Image was created. Manual Images can be created at any time. "Automatic" Images are created automatically from a deleted Linode. (`manual`, `automatic`)
1298
1342
  */
@@ -1302,6 +1346,26 @@ export interface GetImagesImageArgs {
1302
1346
  */
1303
1347
  vendor?: pulumi.Input<string>;
1304
1348
  }
1349
+ export interface GetImagesImageReplication {
1350
+ /**
1351
+ * The region of an image replica.
1352
+ */
1353
+ region?: string;
1354
+ /**
1355
+ * The status of an image replica.
1356
+ */
1357
+ status?: string;
1358
+ }
1359
+ export interface GetImagesImageReplicationArgs {
1360
+ /**
1361
+ * The region of an image replica.
1362
+ */
1363
+ region?: pulumi.Input<string>;
1364
+ /**
1365
+ * The status of an image replica.
1366
+ */
1367
+ status?: pulumi.Input<string>;
1368
+ }
1305
1369
  export interface GetInstanceTypesFilter {
1306
1370
  /**
1307
1371
  * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
@@ -4236,6 +4300,16 @@ export interface GetVpcsVpcArgs {
4236
4300
  */
4237
4301
  updated?: pulumi.Input<string>;
4238
4302
  }
4303
+ export interface ImageReplication {
4304
+ /**
4305
+ * The region of the image. See all regions [here](https://techdocs.akamai.com/linode-api/reference/get-regions).
4306
+ */
4307
+ region: pulumi.Input<string>;
4308
+ /**
4309
+ * The status of an image replica.
4310
+ */
4311
+ status: pulumi.Input<string>;
4312
+ }
4239
4313
  export interface ImageTimeouts {
4240
4314
  /**
4241
4315
  * Used when creating the instance image (until the instance is available)
@@ -4777,6 +4851,10 @@ export interface LkeClusterPool {
4777
4851
  * The nodes in the node pool.
4778
4852
  */
4779
4853
  nodes?: pulumi.Input<pulumi.Input<inputs.LkeClusterPoolNode>[]>;
4854
+ /**
4855
+ * An array of tags applied to the Kubernetes cluster. Tags are case-insensitive and are for organizational purposes only.
4856
+ */
4857
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
4780
4858
  /**
4781
4859
  * A Linode Type for all of the nodes in the Node Pool. See all node types [here](https://api.linode.com/v4/linode/types).
4782
4860
  */
package/types/output.d.ts CHANGED
@@ -747,6 +747,16 @@ export interface GetFirewallsFirewallOutbound {
747
747
  */
748
748
  protocol: string;
749
749
  }
750
+ export interface GetImageReplication {
751
+ /**
752
+ * The region of an image replica.
753
+ */
754
+ region: string;
755
+ /**
756
+ * The status of an image replica.
757
+ */
758
+ status: string;
759
+ }
750
760
  export interface GetImagesFilter {
751
761
  /**
752
762
  * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
@@ -798,14 +808,26 @@ export interface GetImagesImage {
798
808
  * A short description of the Image.
799
809
  */
800
810
  label: string;
811
+ /**
812
+ * A list of image replication regions and corresponding status.
813
+ */
814
+ replications?: outputs.GetImagesImageReplication[];
801
815
  /**
802
816
  * The minimum size this Image needs to deploy. Size is in MB. example: 2500
803
817
  */
804
818
  size: number;
805
819
  /**
806
- * The current status of this image. (`creating`, `pendingUpload`, `available`)
820
+ * The status of an image replica.
807
821
  */
808
822
  status: string;
823
+ /**
824
+ * A list of customized tags.
825
+ */
826
+ tags: string[];
827
+ /**
828
+ * The total size of the image in all available regions.
829
+ */
830
+ totalSize: number;
809
831
  /**
810
832
  * How the Image was created. Manual Images can be created at any time. "Automatic" Images are created automatically from a deleted Linode. (`manual`, `automatic`)
811
833
  */
@@ -815,6 +837,16 @@ export interface GetImagesImage {
815
837
  */
816
838
  vendor: string;
817
839
  }
840
+ export interface GetImagesImageReplication {
841
+ /**
842
+ * The region of an image replica.
843
+ */
844
+ region: string;
845
+ /**
846
+ * The status of an image replica.
847
+ */
848
+ status: string;
849
+ }
818
850
  export interface GetInstanceBackupsAutomatic {
819
851
  available: boolean;
820
852
  /**
@@ -1579,7 +1611,7 @@ export interface GetInstancesInstance {
1579
1611
  */
1580
1612
  hostUuid: string;
1581
1613
  /**
1582
- * The ID of the disk in the Linode API.
1614
+ * The ID of the Placement Group in the Linode API.
1583
1615
  */
1584
1616
  id: number;
1585
1617
  /**
@@ -1599,9 +1631,10 @@ export interface GetInstancesInstance {
1599
1631
  */
1600
1632
  ipv6: string;
1601
1633
  /**
1602
- * The name of the VLAN to join. This field is only allowed and required for interfaces with the `vlan` purpose.
1634
+ * The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
1603
1635
  */
1604
1636
  label: string;
1637
+ placementGroups: outputs.GetInstancesInstancePlacementGroup[];
1605
1638
  /**
1606
1639
  * This Linode's Private IPv4 Address, if enabled. The regional private IP address range, 192.168.128.0/17, is shared by all Linode Instances in a region.
1607
1640
  */
@@ -1689,7 +1722,7 @@ export interface GetInstancesInstanceConfig {
1689
1722
  */
1690
1723
  helpers: outputs.GetInstancesInstanceConfigHelper[];
1691
1724
  /**
1692
- * The ID of the disk in the Linode API.
1725
+ * The ID of the Placement Group in the Linode API.
1693
1726
  */
1694
1727
  id: number;
1695
1728
  /**
@@ -1701,7 +1734,7 @@ export interface GetInstancesInstanceConfig {
1701
1734
  */
1702
1735
  kernel: string;
1703
1736
  /**
1704
- * The name of the VLAN to join. This field is only allowed and required for interfaces with the `vlan` purpose.
1737
+ * The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
1705
1738
  */
1706
1739
  label: string;
1707
1740
  /**
@@ -1895,7 +1928,7 @@ export interface GetInstancesInstanceConfigInterface {
1895
1928
  */
1896
1929
  active: boolean;
1897
1930
  /**
1898
- * The ID of the disk in the Linode API.
1931
+ * The ID of the Placement Group in the Linode API.
1899
1932
  */
1900
1933
  id: number;
1901
1934
  /**
@@ -1911,7 +1944,7 @@ export interface GetInstancesInstanceConfigInterface {
1911
1944
  */
1912
1945
  ipv4: outputs.GetInstancesInstanceConfigInterfaceIpv4;
1913
1946
  /**
1914
- * The name of the VLAN to join. This field is only allowed and required for interfaces with the `vlan` purpose.
1947
+ * The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
1915
1948
  */
1916
1949
  label?: string;
1917
1950
  /**
@@ -1947,11 +1980,11 @@ export interface GetInstancesInstanceDisk {
1947
1980
  */
1948
1981
  filesystem: string;
1949
1982
  /**
1950
- * The ID of the disk in the Linode API.
1983
+ * The ID of the Placement Group in the Linode API.
1951
1984
  */
1952
1985
  id: number;
1953
1986
  /**
1954
- * The name of the VLAN to join. This field is only allowed and required for interfaces with the `vlan` purpose.
1987
+ * The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
1955
1988
  */
1956
1989
  label: string;
1957
1990
  /**
@@ -1959,6 +1992,24 @@ export interface GetInstancesInstanceDisk {
1959
1992
  */
1960
1993
  size: number;
1961
1994
  }
1995
+ export interface GetInstancesInstancePlacementGroup {
1996
+ /**
1997
+ * The ID of the Placement Group in the Linode API.
1998
+ */
1999
+ id: number;
2000
+ /**
2001
+ * The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
2002
+ */
2003
+ label: string;
2004
+ /**
2005
+ * Whether Linodes must be able to become compliant during assignment. (Default `strict`)
2006
+ */
2007
+ placementGroupPolicy: string;
2008
+ /**
2009
+ * The placement group type to use when placing Linodes in this group.
2010
+ */
2011
+ placementGroupType: string;
2012
+ }
1962
2013
  export interface GetInstancesInstanceSpec {
1963
2014
  /**
1964
2015
  * The amount of storage space, in GB. this Linode has access to. A typical Linode will divide this space between a primary disk with an image deployed to it, and a swap disk, usually 512 MB. This is the default configuration created when deploying a Linode with an image through POST /linode/instances.
@@ -3480,6 +3531,16 @@ export interface GetVpcsVpc {
3480
3531
  */
3481
3532
  updated: string;
3482
3533
  }
3534
+ export interface ImageReplication {
3535
+ /**
3536
+ * The region of the image. See all regions [here](https://techdocs.akamai.com/linode-api/reference/get-regions).
3537
+ */
3538
+ region: string;
3539
+ /**
3540
+ * The status of an image replica.
3541
+ */
3542
+ status: string;
3543
+ }
3483
3544
  export interface ImageTimeouts {
3484
3545
  /**
3485
3546
  * Used when creating the instance image (until the instance is available)
@@ -4021,6 +4082,10 @@ export interface LkeClusterPool {
4021
4082
  * The nodes in the node pool.
4022
4083
  */
4023
4084
  nodes: outputs.LkeClusterPoolNode[];
4085
+ /**
4086
+ * An array of tags applied to the Kubernetes cluster. Tags are case-insensitive and are for organizational purposes only.
4087
+ */
4088
+ tags?: string[];
4024
4089
  /**
4025
4090
  * A Linode Type for all of the nodes in the Node Pool. See all node types [here](https://api.linode.com/v4/linode/types).
4026
4091
  */