@pulumi/linode 3.5.0 → 3.7.0-alpha.1638257674

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/types/input.d.ts CHANGED
@@ -72,6 +72,10 @@ export interface FirewallOutbound {
72
72
  protocol: pulumi.Input<string>;
73
73
  }
74
74
  export interface GetImagesFilter {
75
+ /**
76
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
77
+ */
78
+ matchBy?: string;
75
79
  /**
76
80
  * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
77
81
  */
@@ -82,6 +86,38 @@ export interface GetImagesFilter {
82
86
  values: string[];
83
87
  }
84
88
  export interface GetImagesFilterArgs {
89
+ /**
90
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
91
+ */
92
+ matchBy?: pulumi.Input<string>;
93
+ /**
94
+ * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
95
+ */
96
+ name: pulumi.Input<string>;
97
+ /**
98
+ * A list of values for the filter to allow. These values should all be in string form.
99
+ */
100
+ values: pulumi.Input<pulumi.Input<string>[]>;
101
+ }
102
+ export interface GetInstanceTypesFilter {
103
+ /**
104
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
105
+ */
106
+ matchBy?: string;
107
+ /**
108
+ * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
109
+ */
110
+ name: string;
111
+ /**
112
+ * A list of values for the filter to allow. These values should all be in string form.
113
+ */
114
+ values: string[];
115
+ }
116
+ export interface GetInstanceTypesFilterArgs {
117
+ /**
118
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
119
+ */
120
+ matchBy?: pulumi.Input<string>;
85
121
  /**
86
122
  * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
87
123
  */
@@ -92,6 +128,10 @@ export interface GetImagesFilterArgs {
92
128
  values: pulumi.Input<pulumi.Input<string>[]>;
93
129
  }
94
130
  export interface GetInstancesFilterArgs {
131
+ /**
132
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
133
+ */
134
+ matchBy?: pulumi.Input<string>;
95
135
  /**
96
136
  * The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.
97
137
  */
@@ -102,6 +142,10 @@ export interface GetInstancesFilterArgs {
102
142
  values: pulumi.Input<pulumi.Input<string>[]>;
103
143
  }
104
144
  export interface GetInstancesFilter {
145
+ /**
146
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
147
+ */
148
+ matchBy?: string;
105
149
  /**
106
150
  * The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.
107
151
  */
@@ -111,6 +155,14 @@ export interface GetInstancesFilter {
111
155
  */
112
156
  values: string[];
113
157
  }
158
+ export interface GetStackScriptUserDefinedField {
159
+ default?: string;
160
+ example?: string;
161
+ label?: string;
162
+ manyOf?: string;
163
+ name?: string;
164
+ oneOf?: string;
165
+ }
114
166
  export interface GetStackScriptUserDefinedFieldArgs {
115
167
  default?: pulumi.Input<string>;
116
168
  example?: pulumi.Input<string>;
@@ -119,15 +171,39 @@ export interface GetStackScriptUserDefinedFieldArgs {
119
171
  name?: pulumi.Input<string>;
120
172
  oneOf?: pulumi.Input<string>;
121
173
  }
122
- export interface GetStackScriptUserDefinedField {
123
- default?: string;
124
- example?: string;
125
- label?: string;
126
- manyOf?: string;
127
- name?: string;
128
- oneOf?: string;
174
+ export interface GetStackScriptsFilter {
175
+ /**
176
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
177
+ */
178
+ matchBy?: string;
179
+ /**
180
+ * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
181
+ */
182
+ name: string;
183
+ /**
184
+ * A list of values for the filter to allow. These values should all be in string form.
185
+ */
186
+ values: string[];
187
+ }
188
+ export interface GetStackScriptsFilterArgs {
189
+ /**
190
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
191
+ */
192
+ matchBy?: pulumi.Input<string>;
193
+ /**
194
+ * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
195
+ */
196
+ name: pulumi.Input<string>;
197
+ /**
198
+ * A list of values for the filter to allow. These values should all be in string form.
199
+ */
200
+ values: pulumi.Input<pulumi.Input<string>[]>;
129
201
  }
130
202
  export interface GetVlansFilter {
203
+ /**
204
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
205
+ */
206
+ matchBy?: string;
131
207
  /**
132
208
  * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
133
209
  */
@@ -138,6 +214,10 @@ export interface GetVlansFilter {
138
214
  values: string[];
139
215
  }
140
216
  export interface GetVlansFilterArgs {
217
+ /**
218
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
219
+ */
220
+ matchBy?: pulumi.Input<string>;
141
221
  /**
142
222
  * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
143
223
  */
@@ -384,6 +464,9 @@ export interface InstanceDisk {
384
464
  * The name of this interface. If the interface is a VLAN, a label is required.
385
465
  */
386
466
  label: pulumi.Input<string>;
467
+ /**
468
+ * If true, this Disk is read-only.
469
+ */
387
470
  readOnly?: pulumi.Input<boolean>;
388
471
  /**
389
472
  * The initial password for the `root` user account. *This value can not be imported.* *Changing `rootPass` forces the creation of a new Linode Instance.* *If omitted, a random password will be generated but will not be stored in state.*
@@ -424,7 +507,11 @@ export interface InstanceSpecs {
424
507
  transfer?: pulumi.Input<number>;
425
508
  vcpus?: pulumi.Input<number>;
426
509
  }
510
+ export interface LkeClusterControlPlane {
511
+ highAvailability?: pulumi.Input<boolean>;
512
+ }
427
513
  export interface LkeClusterPool {
514
+ autoscaler?: pulumi.Input<inputs.LkeClusterPoolAutoscaler>;
428
515
  /**
429
516
  * The number of nodes in the Node Pool.
430
517
  */
@@ -439,6 +526,16 @@ export interface LkeClusterPool {
439
526
  */
440
527
  type: pulumi.Input<string>;
441
528
  }
529
+ export interface LkeClusterPoolAutoscaler {
530
+ /**
531
+ * The maximum number of nodes to autoscale to.
532
+ */
533
+ max: pulumi.Input<number>;
534
+ /**
535
+ * The minimum number of nodes to autoscale to.
536
+ */
537
+ min: pulumi.Input<number>;
538
+ }
442
539
  export interface LkeClusterPoolNode {
443
540
  /**
444
541
  * The ID of the node.
package/types/output.d.ts CHANGED
@@ -142,6 +142,10 @@ export interface GetFirewallOutbound {
142
142
  protocol: string;
143
143
  }
144
144
  export interface GetImagesFilter {
145
+ /**
146
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
147
+ */
148
+ matchBy?: string;
145
149
  /**
146
150
  * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
147
151
  */
@@ -326,7 +330,51 @@ export interface GetInstanceTypePrice {
326
330
  hourly: number;
327
331
  monthly: number;
328
332
  }
333
+ export interface GetInstanceTypesFilter {
334
+ /**
335
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
336
+ */
337
+ matchBy?: string;
338
+ /**
339
+ * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
340
+ */
341
+ name: string;
342
+ /**
343
+ * A list of values for the filter to allow. These values should all be in string form.
344
+ */
345
+ values: string[];
346
+ }
347
+ export interface GetInstanceTypesType {
348
+ addons: outputs.GetInstanceTypesTypeAddon[];
349
+ class: string;
350
+ disk: number;
351
+ id: string;
352
+ label: string;
353
+ memory: number;
354
+ networkOut: number;
355
+ prices: outputs.GetInstanceTypesTypePrice[];
356
+ transfer: number;
357
+ vcpus: number;
358
+ }
359
+ export interface GetInstanceTypesTypeAddon {
360
+ backups: outputs.GetInstanceTypesTypeAddonBackup[];
361
+ }
362
+ export interface GetInstanceTypesTypeAddonBackup {
363
+ prices: outputs.GetInstanceTypesTypeAddonBackupPrice[];
364
+ }
365
+ export interface GetInstanceTypesTypeAddonBackupPrice {
366
+ hourly: number;
367
+ monthly: number;
368
+ }
369
+ export interface GetInstanceTypesTypePrice {
370
+ hourly: number;
371
+ monthly: number;
372
+ }
329
373
  export interface GetInstancesFilter {
374
+ /**
375
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
376
+ */
377
+ matchBy?: string;
330
378
  /**
331
379
  * The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.
332
380
  */
@@ -343,6 +391,7 @@ export interface GetInstancesInstance {
343
391
  configs: outputs.GetInstancesInstanceConfig[];
344
392
  disks: outputs.GetInstancesInstanceDisk[];
345
393
  group: string;
394
+ id: number;
346
395
  image: string;
347
396
  ipAddress: string;
348
397
  ipv4s: string[];
@@ -458,7 +507,14 @@ export interface GetInstancesInstanceSpec {
458
507
  transfer: number;
459
508
  vcpus: number;
460
509
  }
510
+ export interface GetLkeClusterControlPlane {
511
+ highAvailability: boolean;
512
+ }
461
513
  export interface GetLkeClusterPool {
514
+ /**
515
+ * The configuration options for the autoscaler. This field only contains an autoscaler configuration if autoscaling is enabled on this cluster.
516
+ */
517
+ autoscalers: outputs.GetLkeClusterPoolAutoscaler[];
462
518
  /**
463
519
  * The number of nodes in the Node Pool.
464
520
  */
@@ -476,6 +532,16 @@ export interface GetLkeClusterPool {
476
532
  */
477
533
  type: string;
478
534
  }
535
+ export interface GetLkeClusterPoolAutoscaler {
536
+ /**
537
+ * The maximum number of nodes to autoscale to.
538
+ */
539
+ max: number;
540
+ /**
541
+ * The minimum number of nodes to autoscale to.
542
+ */
543
+ min: number;
544
+ }
479
545
  export interface GetLkeClusterPoolNode {
480
546
  /**
481
547
  * The LKE Cluster's ID.
@@ -530,7 +596,52 @@ export interface GetStackScriptUserDefinedField {
530
596
  name: string;
531
597
  oneOf: string;
532
598
  }
599
+ export interface GetStackScriptsFilter {
600
+ /**
601
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
602
+ */
603
+ matchBy?: string;
604
+ /**
605
+ * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
606
+ */
607
+ name: string;
608
+ /**
609
+ * A list of values for the filter to allow. These values should all be in string form.
610
+ */
611
+ values: string[];
612
+ }
613
+ export interface GetStackScriptsStackscript {
614
+ created: string;
615
+ deploymentsActive: number;
616
+ deploymentsTotal: number;
617
+ description: string;
618
+ id: number;
619
+ images: string[];
620
+ isPublic: boolean;
621
+ label: string;
622
+ revNote: string;
623
+ script: string;
624
+ updated: string;
625
+ userDefinedFields: outputs.GetStackScriptsStackscriptUserDefinedField[];
626
+ userGravatarId: string;
627
+ username: string;
628
+ }
629
+ export interface GetStackScriptsStackscriptUserDefinedField {
630
+ default: string;
631
+ example: string;
632
+ label: string;
633
+ manyOf: string;
634
+ /**
635
+ * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
636
+ */
637
+ name: string;
638
+ oneOf: string;
639
+ }
533
640
  export interface GetVlansFilter {
641
+ /**
642
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
643
+ */
644
+ matchBy?: string;
534
645
  /**
535
646
  * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
536
647
  */
@@ -783,6 +894,9 @@ export interface InstanceDisk {
783
894
  * The name of this interface. If the interface is a VLAN, a label is required.
784
895
  */
785
896
  label: string;
897
+ /**
898
+ * If true, this Disk is read-only.
899
+ */
786
900
  readOnly: boolean;
787
901
  /**
788
902
  * The initial password for the `root` user account. *This value can not be imported.* *Changing `rootPass` forces the creation of a new Linode Instance.* *If omitted, a random password will be generated but will not be stored in state.*
@@ -823,7 +937,11 @@ export interface InstanceSpecs {
823
937
  transfer: number;
824
938
  vcpus: number;
825
939
  }
940
+ export interface LkeClusterControlPlane {
941
+ highAvailability: boolean;
942
+ }
826
943
  export interface LkeClusterPool {
944
+ autoscaler?: outputs.LkeClusterPoolAutoscaler;
827
945
  /**
828
946
  * The number of nodes in the Node Pool.
829
947
  */
@@ -838,6 +956,16 @@ export interface LkeClusterPool {
838
956
  */
839
957
  type: string;
840
958
  }
959
+ export interface LkeClusterPoolAutoscaler {
960
+ /**
961
+ * The maximum number of nodes to autoscale to.
962
+ */
963
+ max: number;
964
+ /**
965
+ * The minimum number of nodes to autoscale to.
966
+ */
967
+ min: number;
968
+ }
841
969
  export interface LkeClusterPoolNode {
842
970
  /**
843
971
  * The ID of the node.