@pulumi/linode 3.10.0 → 3.10.1
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/databaseMongodb.d.ts +8 -42
- package/databaseMongodb.js +0 -32
- package/databaseMongodb.js.map +1 -1
- package/databaseMysql.d.ts +6 -32
- package/databaseMysql.js +0 -26
- package/databaseMysql.js.map +1 -1
- package/databasePostgresql.d.ts +6 -32
- package/databasePostgresql.js +0 -26
- package/databasePostgresql.js.map +1 -1
- package/domain.d.ts +0 -3
- package/domain.js +0 -3
- package/domain.js.map +1 -1
- package/domainRecord.d.ts +0 -3
- package/domainRecord.js +0 -3
- package/domainRecord.js.map +1 -1
- package/getAccount.d.ts +36 -27
- package/getAccount.js +0 -27
- package/getAccount.js.map +1 -1
- package/getDatabaseBackups.d.ts +0 -11
- package/getDatabaseBackups.js +0 -11
- package/getDatabaseBackups.js.map +1 -1
- package/getDatabaseEngines.d.ts +0 -9
- package/getDatabaseEngines.js +0 -9
- package/getDatabaseEngines.js.map +1 -1
- package/getDatabaseMongodb.d.ts +69 -52
- package/getDatabaseMongodb.js +0 -52
- package/getDatabaseMongodb.js.map +1 -1
- package/getDatabaseMysql.d.ts +57 -44
- package/getDatabaseMysql.js +0 -44
- package/getDatabaseMysql.js.map +1 -1
- package/getDatabaseMysqlBackups.d.ts +0 -11
- package/getDatabaseMysqlBackups.js +0 -11
- package/getDatabaseMysqlBackups.js.map +1 -1
- package/getDatabasePostgresql.d.ts +60 -46
- package/getDatabasePostgresql.js +0 -46
- package/getDatabasePostgresql.js.map +1 -1
- package/getDatabases.d.ts +0 -35
- package/getDatabases.js +0 -35
- package/getDatabases.js.map +1 -1
- package/getDomain.d.ts +42 -31
- package/getDomain.js +0 -31
- package/getDomain.js.map +1 -1
- package/getDomainRecord.d.ts +36 -27
- package/getDomainRecord.js +0 -27
- package/getDomainRecord.js.map +1 -1
- package/getDomainZonefile.d.ts +12 -7
- package/getDomainZonefile.js +0 -7
- package/getDomainZonefile.js.map +1 -1
- package/getImage.d.ts +30 -23
- package/getImage.js +0 -23
- package/getImage.js.map +1 -1
- package/getImages.d.ts +0 -26
- package/getImages.js +0 -26
- package/getImages.js.map +1 -1
- package/getInstanceType.d.ts +30 -27
- package/getInstanceType.js +0 -27
- package/getInstanceType.js.map +1 -1
- package/getInstanceTypes.d.ts +0 -28
- package/getInstanceTypes.js +0 -28
- package/getInstanceTypes.js.map +1 -1
- package/getInstances.d.ts +56 -0
- package/getInstances.js +56 -0
- package/getInstances.js.map +1 -1
- package/getIpv6Range.d.ts +9 -11
- package/getIpv6Range.js +0 -11
- package/getIpv6Range.js.map +1 -1
- package/getKernel.d.ts +21 -17
- package/getKernel.js +0 -17
- package/getKernel.js.map +1 -1
- package/getNetworkingIp.d.ts +27 -21
- package/getNetworkingIp.js +0 -21
- package/getNetworkingIp.js.map +1 -1
- package/getObjectStorageCluster.d.ts +36 -11
- package/getObjectStorageCluster.js +0 -11
- package/getObjectStorageCluster.js.map +1 -1
- package/getProfile.d.ts +30 -35
- package/getProfile.js +0 -35
- package/getProfile.js.map +1 -1
- package/getStackScript.d.ts +45 -41
- package/getStackScript.js +0 -41
- package/getStackScript.js.map +1 -1
- package/getStackScripts.d.ts +0 -44
- package/getStackScripts.js +0 -44
- package/getStackScripts.js.map +1 -1
- package/getUser.d.ts +9 -9
- package/getUser.js +0 -9
- package/getUser.js.map +1 -1
- package/getVlans.d.ts +0 -12
- package/getVlans.js +0 -12
- package/getVlans.js.map +1 -1
- package/getVolume.d.ts +30 -23
- package/getVolume.js +0 -23
- package/getVolume.js.map +1 -1
- package/image.d.ts +2 -26
- package/image.js +0 -22
- package/image.js.map +1 -1
- package/instance.d.ts +10 -47
- package/instance.js +0 -31
- package/instance.js.map +1 -1
- package/instanceDisk.d.ts +0 -9
- package/instanceDisk.js +0 -9
- package/instanceDisk.js.map +1 -1
- package/nodeBalancer.d.ts +2 -27
- package/nodeBalancer.js +0 -25
- package/nodeBalancer.js.map +1 -1
- package/nodeBalancerConfig.d.ts +4 -25
- package/nodeBalancerConfig.js +0 -17
- package/nodeBalancerConfig.js.map +1 -1
- package/nodeBalancerNode.d.ts +2 -11
- package/nodeBalancerNode.js +0 -9
- package/nodeBalancerNode.js.map +1 -1
- package/objectStorageKey.d.ts +0 -9
- package/objectStorageKey.js +0 -9
- package/objectStorageKey.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/sshKey.d.ts +2 -8
- package/sshKey.js +0 -6
- package/sshKey.js.map +1 -1
- package/stackScript.d.ts +3 -35
- package/stackScript.js +0 -29
- package/stackScript.js.map +1 -1
- package/token.d.ts +2 -9
- package/token.js +0 -7
- package/token.js.map +1 -1
- package/types/input.d.ts +75 -0
- package/types/output.d.ts +444 -0
- package/volume.d.ts +4 -13
- package/volume.js +0 -7
- package/volume.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -92,9 +92,21 @@ export interface FirewallOutbound {
|
|
|
92
92
|
protocol: string;
|
|
93
93
|
}
|
|
94
94
|
export interface GetDatabaseBackupsBackup {
|
|
95
|
+
/**
|
|
96
|
+
* A time value given in a combined date and time format that represents when the database backup was created.
|
|
97
|
+
*/
|
|
95
98
|
created: string;
|
|
99
|
+
/**
|
|
100
|
+
* The ID of the database backup object.
|
|
101
|
+
*/
|
|
96
102
|
id: number;
|
|
103
|
+
/**
|
|
104
|
+
* The database backup’s label, for display purposes only.
|
|
105
|
+
*/
|
|
97
106
|
label: string;
|
|
107
|
+
/**
|
|
108
|
+
* The type of database backup, determined by how the backup was created.
|
|
109
|
+
*/
|
|
98
110
|
type: string;
|
|
99
111
|
}
|
|
100
112
|
export interface GetDatabaseBackupsFilter {
|
|
@@ -112,8 +124,17 @@ export interface GetDatabaseBackupsFilter {
|
|
|
112
124
|
values: string[];
|
|
113
125
|
}
|
|
114
126
|
export interface GetDatabaseEnginesEngine {
|
|
127
|
+
/**
|
|
128
|
+
* The Managed Database engine type.
|
|
129
|
+
*/
|
|
115
130
|
engine: string;
|
|
131
|
+
/**
|
|
132
|
+
* The Managed Database engine ID in engine/version format.
|
|
133
|
+
*/
|
|
116
134
|
id: string;
|
|
135
|
+
/**
|
|
136
|
+
* The Managed Database engine version.
|
|
137
|
+
*/
|
|
117
138
|
version: string;
|
|
118
139
|
}
|
|
119
140
|
export interface GetDatabaseEnginesFilter {
|
|
@@ -138,9 +159,21 @@ export interface GetDatabaseMongodbUpdate {
|
|
|
138
159
|
weekOfMonth: number;
|
|
139
160
|
}
|
|
140
161
|
export interface GetDatabaseMysqlBackupsBackup {
|
|
162
|
+
/**
|
|
163
|
+
* A time value given in a combined date and time format that represents when the database backup was created.
|
|
164
|
+
*/
|
|
141
165
|
created: string;
|
|
166
|
+
/**
|
|
167
|
+
* The ID of the database backup object.
|
|
168
|
+
*/
|
|
142
169
|
id: number;
|
|
170
|
+
/**
|
|
171
|
+
* The database backup’s label, for display purposes only.
|
|
172
|
+
*/
|
|
143
173
|
label: string;
|
|
174
|
+
/**
|
|
175
|
+
* The type of database backup, determined by how the backup was created.
|
|
176
|
+
*/
|
|
144
177
|
type: string;
|
|
145
178
|
}
|
|
146
179
|
export interface GetDatabaseMysqlBackupsFilter {
|
|
@@ -172,22 +205,70 @@ export interface GetDatabasePostgresqlUpdate {
|
|
|
172
205
|
weekOfMonth: number;
|
|
173
206
|
}
|
|
174
207
|
export interface GetDatabasesDatabase {
|
|
208
|
+
/**
|
|
209
|
+
* A list of IP addresses that can access the Managed Database.
|
|
210
|
+
*/
|
|
175
211
|
allowLists: string[];
|
|
212
|
+
/**
|
|
213
|
+
* The number of Linode Instance nodes deployed to the Managed Database.
|
|
214
|
+
*/
|
|
176
215
|
clusterSize: number;
|
|
216
|
+
/**
|
|
217
|
+
* When this Managed Database was created.
|
|
218
|
+
*/
|
|
177
219
|
created: string;
|
|
220
|
+
/**
|
|
221
|
+
* Whether the Managed Databases is encrypted.
|
|
222
|
+
*/
|
|
178
223
|
encrypted: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* The Managed Database engine.
|
|
226
|
+
*/
|
|
179
227
|
engine: string;
|
|
228
|
+
/**
|
|
229
|
+
* The primary host for the Managed Database.
|
|
230
|
+
*/
|
|
180
231
|
hostPrimary: string;
|
|
232
|
+
/**
|
|
233
|
+
* The secondary/private network host for the Managed Database.
|
|
234
|
+
*/
|
|
181
235
|
hostSecondary: string;
|
|
236
|
+
/**
|
|
237
|
+
* The ID of the Managed Database.
|
|
238
|
+
*/
|
|
182
239
|
id: number;
|
|
183
240
|
instanceUri: string;
|
|
241
|
+
/**
|
|
242
|
+
* A unique, user-defined string referring to the Managed Database.
|
|
243
|
+
*/
|
|
184
244
|
label: string;
|
|
245
|
+
/**
|
|
246
|
+
* The region to use for the Managed Database.
|
|
247
|
+
*/
|
|
185
248
|
region: string;
|
|
249
|
+
/**
|
|
250
|
+
* The replication method used for the Managed Database.
|
|
251
|
+
*/
|
|
186
252
|
replicationType: string;
|
|
253
|
+
/**
|
|
254
|
+
* Whether to require SSL credentials to establish a connection to the Managed Database.
|
|
255
|
+
*/
|
|
187
256
|
sslConnection: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* The operating status of the Managed Database.
|
|
259
|
+
*/
|
|
188
260
|
status: string;
|
|
261
|
+
/**
|
|
262
|
+
* The Linode Instance type used for the nodes of the Managed Database instance.
|
|
263
|
+
*/
|
|
189
264
|
type: string;
|
|
265
|
+
/**
|
|
266
|
+
* When this Managed Database was last updated.
|
|
267
|
+
*/
|
|
190
268
|
updated: string;
|
|
269
|
+
/**
|
|
270
|
+
* The Managed Database engine version.
|
|
271
|
+
*/
|
|
191
272
|
version: string;
|
|
192
273
|
}
|
|
193
274
|
export interface GetDatabasesFilter {
|
|
@@ -290,17 +371,50 @@ export interface GetImagesFilter {
|
|
|
290
371
|
values: string[];
|
|
291
372
|
}
|
|
292
373
|
export interface GetImagesImage {
|
|
374
|
+
/**
|
|
375
|
+
* When this Image was created.
|
|
376
|
+
*/
|
|
293
377
|
created: string;
|
|
378
|
+
/**
|
|
379
|
+
* The name of the User who created this Image, or "linode" for official Images.
|
|
380
|
+
*/
|
|
294
381
|
createdBy: string;
|
|
382
|
+
/**
|
|
383
|
+
* Whether or not this Image is deprecated. Will only be true for deprecated public Images.
|
|
384
|
+
*/
|
|
295
385
|
deprecated: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* A detailed description of this Image.
|
|
388
|
+
*/
|
|
296
389
|
description: string;
|
|
297
390
|
expiry: string;
|
|
391
|
+
/**
|
|
392
|
+
* 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`.
|
|
393
|
+
*/
|
|
298
394
|
id: string;
|
|
395
|
+
/**
|
|
396
|
+
* True if the Image is public.
|
|
397
|
+
*/
|
|
299
398
|
isPublic: boolean;
|
|
399
|
+
/**
|
|
400
|
+
* A short description of the Image.
|
|
401
|
+
*/
|
|
300
402
|
label: string;
|
|
403
|
+
/**
|
|
404
|
+
* The minimum size this Image needs to deploy. Size is in MB. example: 2500
|
|
405
|
+
*/
|
|
301
406
|
size: number;
|
|
407
|
+
/**
|
|
408
|
+
* The current status of this image. (`creating`, `pendingUpload`, `available`)
|
|
409
|
+
*/
|
|
302
410
|
status: string;
|
|
411
|
+
/**
|
|
412
|
+
* How the Image was created. Manual Images can be created at any time. "Automatic" Images are created automatically from a deleted Linode. (`manual`, `automatic`)
|
|
413
|
+
*/
|
|
303
414
|
type: string;
|
|
415
|
+
/**
|
|
416
|
+
* The upstream distribution vendor. `None` for private Images.
|
|
417
|
+
*/
|
|
304
418
|
vendor: string;
|
|
305
419
|
}
|
|
306
420
|
export interface GetInstanceBackupsAutomatic {
|
|
@@ -480,14 +594,38 @@ export interface GetInstanceTypesFilter {
|
|
|
480
594
|
}
|
|
481
595
|
export interface GetInstanceTypesType {
|
|
482
596
|
addons: outputs.GetInstanceTypesTypeAddon[];
|
|
597
|
+
/**
|
|
598
|
+
* The class of the Linode Type. See all classes [here](https://www.linode.com/docs/api/linode-types/#type-view__responses).
|
|
599
|
+
*/
|
|
483
600
|
class: string;
|
|
601
|
+
/**
|
|
602
|
+
* The Disk size, in MB, of the Linode Type.
|
|
603
|
+
*/
|
|
484
604
|
disk: number;
|
|
605
|
+
/**
|
|
606
|
+
* The ID representing the Linode Type.
|
|
607
|
+
*/
|
|
485
608
|
id: string;
|
|
609
|
+
/**
|
|
610
|
+
* The Linode Type's label is for display purposes only.
|
|
611
|
+
*/
|
|
486
612
|
label: string;
|
|
613
|
+
/**
|
|
614
|
+
* The amount of RAM included in this Linode Type.
|
|
615
|
+
*/
|
|
487
616
|
memory: number;
|
|
617
|
+
/**
|
|
618
|
+
* The Mbits outbound bandwidth allocation.
|
|
619
|
+
*/
|
|
488
620
|
networkOut: number;
|
|
489
621
|
prices: outputs.GetInstanceTypesTypePrice[];
|
|
622
|
+
/**
|
|
623
|
+
* The monthly outbound transfer amount, in MB.
|
|
624
|
+
*/
|
|
490
625
|
transfer: number;
|
|
626
|
+
/**
|
|
627
|
+
* The number of VCPU cores this Linode Type offers.
|
|
628
|
+
*/
|
|
491
629
|
vcpus: number;
|
|
492
630
|
}
|
|
493
631
|
export interface GetInstanceTypesTypeAddon {
|
|
@@ -524,20 +662,62 @@ export interface GetInstancesInstance {
|
|
|
524
662
|
bootConfigLabel: string;
|
|
525
663
|
configs: outputs.GetInstancesInstanceConfig[];
|
|
526
664
|
disks: outputs.GetInstancesInstanceDisk[];
|
|
665
|
+
/**
|
|
666
|
+
* The display group of the Linode instance.
|
|
667
|
+
*/
|
|
527
668
|
group: string;
|
|
669
|
+
/**
|
|
670
|
+
* The ID of the disk in the Linode API.
|
|
671
|
+
*/
|
|
528
672
|
id: number;
|
|
673
|
+
/**
|
|
674
|
+
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with `private/`. See [images](https://api.linode.com/v4/images) for more information on the Images available for you to use. Examples are `linode/debian9`, `linode/fedora28`, `linode/ubuntu16.04lts`, `linode/arch`, and `private/12345`. See all images [here](https://api.linode.com/v4/linode/images) (Requires a personal access token; docs [here](https://developers.linode.com/api/v4/images)). *This value can not be imported.* *Changing `image` forces the creation of a new Linode Instance.*
|
|
675
|
+
*/
|
|
529
676
|
image: string;
|
|
677
|
+
/**
|
|
678
|
+
* A string containing the Linode's public IP address.
|
|
679
|
+
*/
|
|
530
680
|
ipAddress: string;
|
|
681
|
+
/**
|
|
682
|
+
* This Linode's IPv4 Addresses. Each Linode is assigned a single public IPv4 address upon creation, and may get a single private IPv4 address if needed. You may need to open a support ticket to get additional IPv4 addresses.
|
|
683
|
+
*/
|
|
531
684
|
ipv4s: string[];
|
|
685
|
+
/**
|
|
686
|
+
* This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared. The prefix (`/64`) is included in this attribute.
|
|
687
|
+
*/
|
|
532
688
|
ipv6: string;
|
|
689
|
+
/**
|
|
690
|
+
* (Optional) The name of this interface. If the interface is a `vlan`, a label is required. Must be undefined for `public` purpose interfaces.
|
|
691
|
+
*/
|
|
533
692
|
label: string;
|
|
693
|
+
/**
|
|
694
|
+
* 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.
|
|
695
|
+
*/
|
|
534
696
|
privateIpAddress: string;
|
|
697
|
+
/**
|
|
698
|
+
* This is the location where the Linode is deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions).
|
|
699
|
+
*/
|
|
535
700
|
region: string;
|
|
536
701
|
specs: outputs.GetInstancesInstanceSpec[];
|
|
702
|
+
/**
|
|
703
|
+
* The status of the instance, indicating the current readiness state. (`running`, `offline`, ...)
|
|
704
|
+
*/
|
|
537
705
|
status: string;
|
|
706
|
+
/**
|
|
707
|
+
* When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This is used to set the swap disk size for the newly-created Linode.
|
|
708
|
+
*/
|
|
538
709
|
swapSize: number;
|
|
710
|
+
/**
|
|
711
|
+
* A list of tags applied to this object. Tags are for organizational purposes only.
|
|
712
|
+
*/
|
|
539
713
|
tags: string[];
|
|
714
|
+
/**
|
|
715
|
+
* The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are `"g6-nanode-1"`, `"g6-standard-2"`, `"g6-highmem-16"`, `"g6-dedicated-16"`, etc. See all types [here](https://api.linode.com/v4/linode/types).
|
|
716
|
+
*/
|
|
540
717
|
type: string;
|
|
718
|
+
/**
|
|
719
|
+
* The watchdog, named Lassie, is a Shutdown Watchdog that monitors your Linode and will reboot it if it powers off unexpectedly. It works by issuing a boot job when your Linode powers off without a shutdown job being responsible. To prevent a loop, Lassie will give up if there have been more than 5 boot jobs issued within 15 minutes.
|
|
720
|
+
*/
|
|
541
721
|
watchdogEnabled: boolean;
|
|
542
722
|
}
|
|
543
723
|
export interface GetInstancesInstanceAlerts {
|
|
@@ -548,23 +728,59 @@ export interface GetInstancesInstanceAlerts {
|
|
|
548
728
|
transferQuota: number;
|
|
549
729
|
}
|
|
550
730
|
export interface GetInstancesInstanceBackup {
|
|
731
|
+
/**
|
|
732
|
+
* If this Linode has the Backup service enabled.
|
|
733
|
+
*/
|
|
551
734
|
enabled: boolean;
|
|
552
735
|
schedules: outputs.GetInstancesInstanceBackupSchedule[];
|
|
553
736
|
}
|
|
554
737
|
export interface GetInstancesInstanceBackupSchedule {
|
|
738
|
+
/**
|
|
739
|
+
* The day of the week that your Linode's weekly Backup is taken. If not set manually, a day will be chosen for you. Backups are taken every day, but backups taken on this day are preferred when selecting backups to retain for a longer period. If not set manually, then when backups are initially enabled, this may come back as "Scheduling" until the day is automatically selected.
|
|
740
|
+
*/
|
|
555
741
|
day: string;
|
|
742
|
+
/**
|
|
743
|
+
* The window ('W0'-'W22') in which your backups will be taken, in UTC. A backups window is a two-hour span of time in which the backup may occur. For example, 'W10' indicates that your backups should be taken between 10:00 and 12:00. If you do not choose a backup window, one will be selected for you automatically. If not set manually, when backups are initially enabled this may come back as Scheduling until the window is automatically selected.
|
|
744
|
+
*/
|
|
556
745
|
window: string;
|
|
557
746
|
}
|
|
558
747
|
export interface GetInstancesInstanceConfig {
|
|
748
|
+
/**
|
|
749
|
+
* Arbitrary user comments about this `config`.
|
|
750
|
+
*/
|
|
559
751
|
comments: string;
|
|
752
|
+
/**
|
|
753
|
+
* A list of `disk` or `volume` attachments for this `config`. If the `bootConfigLabel` omits a `devices` block, the Linode will not be booted.
|
|
754
|
+
*/
|
|
560
755
|
devices: outputs.GetInstancesInstanceConfigDevice[];
|
|
756
|
+
/**
|
|
757
|
+
* Helpers enabled when booting to this Linode Config.
|
|
758
|
+
*/
|
|
561
759
|
helpers: outputs.GetInstancesInstanceConfigHelper[];
|
|
562
760
|
interfaces: outputs.GetInstancesInstanceConfigInterface[];
|
|
761
|
+
/**
|
|
762
|
+
* A Kernel ID to boot a Linode with. Default is based on image choice. Examples are `linode/latest-64bit`, `linode/grub2`, `linode/direct-disk`, etc. See all kernels [here](https://api.linode.com/v4/linode/kernels). Note that this is a paginated API endpoint ([docs](https://developers.linode.com/api/v4/linode-kernels)).
|
|
763
|
+
*/
|
|
563
764
|
kernel: string;
|
|
765
|
+
/**
|
|
766
|
+
* (Optional) The name of this interface. If the interface is a `vlan`, a label is required. Must be undefined for `public` purpose interfaces.
|
|
767
|
+
*/
|
|
564
768
|
label: string;
|
|
769
|
+
/**
|
|
770
|
+
* Defaults to the total RAM of the Linode
|
|
771
|
+
*/
|
|
565
772
|
memoryLimit: number;
|
|
773
|
+
/**
|
|
774
|
+
* The root device to boot.
|
|
775
|
+
*/
|
|
566
776
|
rootDevice: string;
|
|
777
|
+
/**
|
|
778
|
+
* Defines the state of your Linode after booting.
|
|
779
|
+
*/
|
|
567
780
|
runLevel: string;
|
|
781
|
+
/**
|
|
782
|
+
* Controls the virtualization mode.
|
|
783
|
+
*/
|
|
568
784
|
virtMode: string;
|
|
569
785
|
}
|
|
570
786
|
export interface GetInstancesInstanceConfigDevice {
|
|
@@ -578,61 +794,163 @@ export interface GetInstancesInstanceConfigDevice {
|
|
|
578
794
|
sdhs: outputs.GetInstancesInstanceConfigDeviceSdh[];
|
|
579
795
|
}
|
|
580
796
|
export interface GetInstancesInstanceConfigDeviceSda {
|
|
797
|
+
/**
|
|
798
|
+
* The Disk ID of the associated `diskLabel`, if used
|
|
799
|
+
*/
|
|
581
800
|
diskId: number;
|
|
801
|
+
/**
|
|
802
|
+
* The `label` of the `disk` to map to this `device` slot.
|
|
803
|
+
*/
|
|
582
804
|
diskLabel?: string;
|
|
805
|
+
/**
|
|
806
|
+
* The Volume ID to map to this `device` slot.
|
|
807
|
+
*/
|
|
583
808
|
volumeId?: number;
|
|
584
809
|
}
|
|
585
810
|
export interface GetInstancesInstanceConfigDeviceSdb {
|
|
811
|
+
/**
|
|
812
|
+
* The Disk ID of the associated `diskLabel`, if used
|
|
813
|
+
*/
|
|
586
814
|
diskId: number;
|
|
815
|
+
/**
|
|
816
|
+
* The `label` of the `disk` to map to this `device` slot.
|
|
817
|
+
*/
|
|
587
818
|
diskLabel?: string;
|
|
819
|
+
/**
|
|
820
|
+
* The Volume ID to map to this `device` slot.
|
|
821
|
+
*/
|
|
588
822
|
volumeId?: number;
|
|
589
823
|
}
|
|
590
824
|
export interface GetInstancesInstanceConfigDeviceSdc {
|
|
825
|
+
/**
|
|
826
|
+
* The Disk ID of the associated `diskLabel`, if used
|
|
827
|
+
*/
|
|
591
828
|
diskId: number;
|
|
829
|
+
/**
|
|
830
|
+
* The `label` of the `disk` to map to this `device` slot.
|
|
831
|
+
*/
|
|
592
832
|
diskLabel?: string;
|
|
833
|
+
/**
|
|
834
|
+
* The Volume ID to map to this `device` slot.
|
|
835
|
+
*/
|
|
593
836
|
volumeId?: number;
|
|
594
837
|
}
|
|
595
838
|
export interface GetInstancesInstanceConfigDeviceSdd {
|
|
839
|
+
/**
|
|
840
|
+
* The Disk ID of the associated `diskLabel`, if used
|
|
841
|
+
*/
|
|
596
842
|
diskId: number;
|
|
843
|
+
/**
|
|
844
|
+
* The `label` of the `disk` to map to this `device` slot.
|
|
845
|
+
*/
|
|
597
846
|
diskLabel?: string;
|
|
847
|
+
/**
|
|
848
|
+
* The Volume ID to map to this `device` slot.
|
|
849
|
+
*/
|
|
598
850
|
volumeId?: number;
|
|
599
851
|
}
|
|
600
852
|
export interface GetInstancesInstanceConfigDeviceSde {
|
|
853
|
+
/**
|
|
854
|
+
* The Disk ID of the associated `diskLabel`, if used
|
|
855
|
+
*/
|
|
601
856
|
diskId: number;
|
|
857
|
+
/**
|
|
858
|
+
* The `label` of the `disk` to map to this `device` slot.
|
|
859
|
+
*/
|
|
602
860
|
diskLabel?: string;
|
|
861
|
+
/**
|
|
862
|
+
* The Volume ID to map to this `device` slot.
|
|
863
|
+
*/
|
|
603
864
|
volumeId?: number;
|
|
604
865
|
}
|
|
605
866
|
export interface GetInstancesInstanceConfigDeviceSdf {
|
|
867
|
+
/**
|
|
868
|
+
* The Disk ID of the associated `diskLabel`, if used
|
|
869
|
+
*/
|
|
606
870
|
diskId: number;
|
|
871
|
+
/**
|
|
872
|
+
* The `label` of the `disk` to map to this `device` slot.
|
|
873
|
+
*/
|
|
607
874
|
diskLabel?: string;
|
|
875
|
+
/**
|
|
876
|
+
* The Volume ID to map to this `device` slot.
|
|
877
|
+
*/
|
|
608
878
|
volumeId?: number;
|
|
609
879
|
}
|
|
610
880
|
export interface GetInstancesInstanceConfigDeviceSdg {
|
|
881
|
+
/**
|
|
882
|
+
* The Disk ID of the associated `diskLabel`, if used
|
|
883
|
+
*/
|
|
611
884
|
diskId: number;
|
|
885
|
+
/**
|
|
886
|
+
* The `label` of the `disk` to map to this `device` slot.
|
|
887
|
+
*/
|
|
612
888
|
diskLabel?: string;
|
|
889
|
+
/**
|
|
890
|
+
* The Volume ID to map to this `device` slot.
|
|
891
|
+
*/
|
|
613
892
|
volumeId?: number;
|
|
614
893
|
}
|
|
615
894
|
export interface GetInstancesInstanceConfigDeviceSdh {
|
|
895
|
+
/**
|
|
896
|
+
* The Disk ID of the associated `diskLabel`, if used
|
|
897
|
+
*/
|
|
616
898
|
diskId: number;
|
|
899
|
+
/**
|
|
900
|
+
* The `label` of the `disk` to map to this `device` slot.
|
|
901
|
+
*/
|
|
617
902
|
diskLabel?: string;
|
|
903
|
+
/**
|
|
904
|
+
* The Volume ID to map to this `device` slot.
|
|
905
|
+
*/
|
|
618
906
|
volumeId?: number;
|
|
619
907
|
}
|
|
620
908
|
export interface GetInstancesInstanceConfigHelper {
|
|
621
909
|
devtmpfsAutomount: boolean;
|
|
910
|
+
/**
|
|
911
|
+
* Controls the behavior of the Linode Config's Distribution Helper setting.
|
|
912
|
+
*/
|
|
622
913
|
distro: boolean;
|
|
914
|
+
/**
|
|
915
|
+
* Creates a modules dependency file for the Kernel you run.
|
|
916
|
+
*/
|
|
623
917
|
modulesDep: boolean;
|
|
918
|
+
/**
|
|
919
|
+
* Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.
|
|
920
|
+
*/
|
|
624
921
|
network: boolean;
|
|
922
|
+
/**
|
|
923
|
+
* Disables updatedb cron job to avoid disk thrashing.
|
|
924
|
+
*/
|
|
625
925
|
updatedbDisabled: boolean;
|
|
626
926
|
}
|
|
627
927
|
export interface GetInstancesInstanceConfigInterface {
|
|
928
|
+
/**
|
|
929
|
+
* (Optional) This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation.
|
|
930
|
+
*/
|
|
628
931
|
ipamAddress?: string;
|
|
932
|
+
/**
|
|
933
|
+
* (Optional) The name of this interface. If the interface is a `vlan`, a label is required. Must be undefined for `public` purpose interfaces.
|
|
934
|
+
*/
|
|
629
935
|
label?: string;
|
|
936
|
+
/**
|
|
937
|
+
* (Required) The type of interface. (`public`, `vlan`)
|
|
938
|
+
*/
|
|
630
939
|
purpose?: string;
|
|
631
940
|
}
|
|
632
941
|
export interface GetInstancesInstanceDisk {
|
|
633
942
|
filesystem: string;
|
|
943
|
+
/**
|
|
944
|
+
* The ID of the disk in the Linode API.
|
|
945
|
+
*/
|
|
634
946
|
id: number;
|
|
947
|
+
/**
|
|
948
|
+
* (Optional) The name of this interface. If the interface is a `vlan`, a label is required. Must be undefined for `public` purpose interfaces.
|
|
949
|
+
*/
|
|
635
950
|
label: string;
|
|
951
|
+
/**
|
|
952
|
+
* The size of the Disk in MB.
|
|
953
|
+
*/
|
|
636
954
|
size: number;
|
|
637
955
|
}
|
|
638
956
|
export interface GetInstancesInstanceSpec {
|
|
@@ -723,11 +1041,29 @@ export interface GetProfileReferrals {
|
|
|
723
1041
|
url: string;
|
|
724
1042
|
}
|
|
725
1043
|
export interface GetStackScriptUserDefinedField {
|
|
1044
|
+
/**
|
|
1045
|
+
* The default value. If not specified, this value will be used.
|
|
1046
|
+
*/
|
|
726
1047
|
default: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* An example value for the field.
|
|
1050
|
+
*/
|
|
727
1051
|
example: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* A human-readable label for the field that will serve as the input prompt for entering the value during deployment.
|
|
1054
|
+
*/
|
|
728
1055
|
label: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* A list of acceptable values for the field in any quantity, combination or order.
|
|
1058
|
+
*/
|
|
729
1059
|
manyOf: string;
|
|
1060
|
+
/**
|
|
1061
|
+
* The name of the field.
|
|
1062
|
+
*/
|
|
730
1063
|
name: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* A list of acceptable single values for the field.
|
|
1066
|
+
*/
|
|
731
1067
|
oneOf: string;
|
|
732
1068
|
}
|
|
733
1069
|
export interface GetStackScriptsFilter {
|
|
@@ -745,30 +1081,87 @@ export interface GetStackScriptsFilter {
|
|
|
745
1081
|
values: string[];
|
|
746
1082
|
}
|
|
747
1083
|
export interface GetStackScriptsStackscript {
|
|
1084
|
+
/**
|
|
1085
|
+
* The date this StackScript was created.
|
|
1086
|
+
*/
|
|
748
1087
|
created: string;
|
|
1088
|
+
/**
|
|
1089
|
+
* Count of currently active, deployed Linodes created from this StackScript.
|
|
1090
|
+
*/
|
|
749
1091
|
deploymentsActive: number;
|
|
1092
|
+
/**
|
|
1093
|
+
* The total number of times this StackScript has been deployed.
|
|
1094
|
+
*/
|
|
750
1095
|
deploymentsTotal: number;
|
|
1096
|
+
/**
|
|
1097
|
+
* A description for the StackScript.
|
|
1098
|
+
*/
|
|
751
1099
|
description: string;
|
|
1100
|
+
/**
|
|
1101
|
+
* The unique ID of the StackScript.
|
|
1102
|
+
*/
|
|
752
1103
|
id: number;
|
|
1104
|
+
/**
|
|
1105
|
+
* An array of Image IDs representing the Images that this StackScript is compatible for deploying with.
|
|
1106
|
+
*/
|
|
753
1107
|
images: string[];
|
|
1108
|
+
/**
|
|
1109
|
+
* This determines whether other users can use your StackScript. Once a StackScript is made public, it cannot be made private.
|
|
1110
|
+
*/
|
|
754
1111
|
isPublic: boolean;
|
|
1112
|
+
/**
|
|
1113
|
+
* A human-readable label for the field that will serve as the input prompt for entering the value during deployment.
|
|
1114
|
+
*/
|
|
755
1115
|
label: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* This field allows you to add notes for the set of revisions made to this StackScript.
|
|
1118
|
+
*/
|
|
756
1119
|
revNote: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* The script to execute when provisioning a new Linode with this StackScript.
|
|
1122
|
+
*/
|
|
757
1123
|
script: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* The date this StackScript was updated.
|
|
1126
|
+
*/
|
|
758
1127
|
updated: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment.
|
|
1130
|
+
*/
|
|
759
1131
|
userDefinedFields: outputs.GetStackScriptsStackscriptUserDefinedField[];
|
|
1132
|
+
/**
|
|
1133
|
+
* The Gravatar ID for the User who created the StackScript.
|
|
1134
|
+
*/
|
|
760
1135
|
userGravatarId: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* The User who created the StackScript.
|
|
1138
|
+
*/
|
|
761
1139
|
username: string;
|
|
762
1140
|
}
|
|
763
1141
|
export interface GetStackScriptsStackscriptUserDefinedField {
|
|
1142
|
+
/**
|
|
1143
|
+
* The default value. If not specified, this value will be used.
|
|
1144
|
+
*/
|
|
764
1145
|
default: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* An example value for the field.
|
|
1148
|
+
*/
|
|
765
1149
|
example: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* A human-readable label for the field that will serve as the input prompt for entering the value during deployment.
|
|
1152
|
+
*/
|
|
766
1153
|
label: string;
|
|
1154
|
+
/**
|
|
1155
|
+
* A list of acceptable values for the field in any quantity, combination or order.
|
|
1156
|
+
*/
|
|
767
1157
|
manyOf: string;
|
|
768
1158
|
/**
|
|
769
1159
|
* The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
|
|
770
1160
|
*/
|
|
771
1161
|
name: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* A list of acceptable single values for the field.
|
|
1164
|
+
*/
|
|
772
1165
|
oneOf: string;
|
|
773
1166
|
}
|
|
774
1167
|
export interface GetVlansFilter {
|
|
@@ -786,9 +1179,21 @@ export interface GetVlansFilter {
|
|
|
786
1179
|
values: string[];
|
|
787
1180
|
}
|
|
788
1181
|
export interface GetVlansVlan {
|
|
1182
|
+
/**
|
|
1183
|
+
* When the VLAN was created.
|
|
1184
|
+
*/
|
|
789
1185
|
created: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* The unique label of the VLAN.
|
|
1188
|
+
*/
|
|
790
1189
|
label: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* The running Linodes currently attached to the VLAN.
|
|
1192
|
+
*/
|
|
791
1193
|
linodes: number[];
|
|
1194
|
+
/**
|
|
1195
|
+
* The region the VLAN is located in. See all regions [here](https://api.linode.com/v4/regions).
|
|
1196
|
+
*/
|
|
792
1197
|
region: string;
|
|
793
1198
|
}
|
|
794
1199
|
export interface InstanceAlerts {
|
|
@@ -799,11 +1204,20 @@ export interface InstanceAlerts {
|
|
|
799
1204
|
transferQuota: number;
|
|
800
1205
|
}
|
|
801
1206
|
export interface InstanceBackups {
|
|
1207
|
+
/**
|
|
1208
|
+
* If this Linode has the Backup service enabled.
|
|
1209
|
+
*/
|
|
802
1210
|
enabled: boolean;
|
|
803
1211
|
schedule: outputs.InstanceBackupsSchedule;
|
|
804
1212
|
}
|
|
805
1213
|
export interface InstanceBackupsSchedule {
|
|
1214
|
+
/**
|
|
1215
|
+
* The day of the week that your Linode's weekly Backup is taken. If not set manually, a day will be chosen for you. Backups are taken every day, but backups taken on this day are preferred when selecting backups to retain for a longer period. If not set manually, then when backups are initially enabled, this may come back as "Scheduling" until the day is automatically selected.
|
|
1216
|
+
*/
|
|
806
1217
|
day: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* The window ('W0'-'W22') in which your backups will be taken, in UTC. A backups window is a two-hour span of time in which the backup may occur. For example, 'W10' indicates that your backups should be taken between 10:00 and 12:00. If you do not choose a backup window, one will be selected for you automatically. If not set manually, when backups are initially enabled this may come back as Scheduling until the window is automatically selected.
|
|
1220
|
+
*/
|
|
807
1221
|
window: string;
|
|
808
1222
|
}
|
|
809
1223
|
export interface InstanceConfig {
|
|
@@ -1118,12 +1532,27 @@ export interface LkeClusterPoolNode {
|
|
|
1118
1532
|
status: string;
|
|
1119
1533
|
}
|
|
1120
1534
|
export interface NodeBalancerConfigNodeStatus {
|
|
1535
|
+
/**
|
|
1536
|
+
* The number of backends considered to be 'DOWN' and unhealthy. These are not in rotation, and not serving requests.
|
|
1537
|
+
*/
|
|
1121
1538
|
down: number;
|
|
1539
|
+
/**
|
|
1540
|
+
* The number of backends considered to be 'UP' and healthy, and that are serving requests.
|
|
1541
|
+
*/
|
|
1122
1542
|
up: number;
|
|
1123
1543
|
}
|
|
1124
1544
|
export interface NodeBalancerTransfer {
|
|
1545
|
+
/**
|
|
1546
|
+
* The total transfer, in MB, used by this NodeBalancer for the current month
|
|
1547
|
+
*/
|
|
1125
1548
|
in: number;
|
|
1549
|
+
/**
|
|
1550
|
+
* The total inbound transfer, in MB, used for this NodeBalancer for the current month
|
|
1551
|
+
*/
|
|
1126
1552
|
out: number;
|
|
1553
|
+
/**
|
|
1554
|
+
* The total outbound transfer, in MB, used for this NodeBalancer for the current month
|
|
1555
|
+
*/
|
|
1127
1556
|
total: number;
|
|
1128
1557
|
}
|
|
1129
1558
|
export interface ObjectStorageBucketCert {
|
|
@@ -1191,14 +1620,29 @@ export interface ObjectStorageKeyBucketAccess {
|
|
|
1191
1620
|
permissions: string;
|
|
1192
1621
|
}
|
|
1193
1622
|
export interface StackScriptUserDefinedField {
|
|
1623
|
+
/**
|
|
1624
|
+
* The default value. If not specified, this value will be used.
|
|
1625
|
+
*/
|
|
1194
1626
|
default: string;
|
|
1627
|
+
/**
|
|
1628
|
+
* An example value for the field.
|
|
1629
|
+
*/
|
|
1195
1630
|
example: string;
|
|
1196
1631
|
/**
|
|
1197
1632
|
* The StackScript's label is for display purposes only.
|
|
1198
1633
|
*/
|
|
1199
1634
|
label: string;
|
|
1635
|
+
/**
|
|
1636
|
+
* A list of acceptable values for the field in any quantity, combination or order.
|
|
1637
|
+
*/
|
|
1200
1638
|
manyOf: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* The name of the field.
|
|
1641
|
+
*/
|
|
1201
1642
|
name: string;
|
|
1643
|
+
/**
|
|
1644
|
+
* A list of acceptable single values for the field.
|
|
1645
|
+
*/
|
|
1202
1646
|
oneOf: string;
|
|
1203
1647
|
}
|
|
1204
1648
|
export interface UserDomainGrant {
|