@pulumi/linode 3.12.0-alpha.1675870919 → 3.12.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.
Files changed (171) hide show
  1. package/config/vars.d.ts +4 -0
  2. package/config/vars.js +6 -0
  3. package/config/vars.js.map +1 -1
  4. package/databaseMongodb.d.ts +2 -1
  5. package/databaseMongodb.js +2 -0
  6. package/databaseMongodb.js.map +1 -1
  7. package/databaseMysql.d.ts +2 -1
  8. package/databaseMysql.js +2 -0
  9. package/databaseMysql.js.map +1 -1
  10. package/databasePostgresql.d.ts +2 -1
  11. package/databasePostgresql.js +2 -0
  12. package/databasePostgresql.js.map +1 -1
  13. package/firewall.d.ts +5 -4
  14. package/firewall.js.map +1 -1
  15. package/getAccount.d.ts +1 -1
  16. package/getAccount.js +2 -5
  17. package/getAccount.js.map +1 -1
  18. package/getAccountLogin.d.ts +78 -0
  19. package/getAccountLogin.js +51 -0
  20. package/getAccountLogin.js.map +1 -0
  21. package/getAccountLogins.d.ts +94 -0
  22. package/getAccountLogins.js +86 -0
  23. package/getAccountLogins.js.map +1 -0
  24. package/getDatabaseBackups.d.ts +39 -5
  25. package/getDatabaseBackups.js +39 -9
  26. package/getDatabaseBackups.js.map +1 -1
  27. package/getDatabaseEngines.d.ts +54 -2
  28. package/getDatabaseEngines.js +54 -6
  29. package/getDatabaseEngines.js.map +1 -1
  30. package/getDatabaseMongodb.d.ts +32 -3
  31. package/getDatabaseMongodb.js +33 -7
  32. package/getDatabaseMongodb.js.map +1 -1
  33. package/getDatabaseMysql.d.ts +32 -3
  34. package/getDatabaseMysql.js +33 -7
  35. package/getDatabaseMysql.js.map +1 -1
  36. package/getDatabaseMysqlBackups.d.ts +39 -5
  37. package/getDatabaseMysqlBackups.js +39 -9
  38. package/getDatabaseMysqlBackups.js.map +1 -1
  39. package/getDatabasePostgresql.d.ts +32 -3
  40. package/getDatabasePostgresql.js +33 -7
  41. package/getDatabasePostgresql.js.map +1 -1
  42. package/getDatabases.d.ts +32 -1
  43. package/getDatabases.js +32 -5
  44. package/getDatabases.js.map +1 -1
  45. package/getDomain.d.ts +23 -4
  46. package/getDomain.js +25 -9
  47. package/getDomain.js.map +1 -1
  48. package/getDomainRecord.d.ts +25 -4
  49. package/getDomainRecord.js +27 -9
  50. package/getDomainRecord.js.map +1 -1
  51. package/getDomainZonefile.d.ts +18 -2
  52. package/getDomainZonefile.js +20 -7
  53. package/getDomainZonefile.js.map +1 -1
  54. package/getFirewall.d.ts +17 -3
  55. package/getFirewall.js +18 -7
  56. package/getFirewall.js.map +1 -1
  57. package/getImage.d.ts +18 -2
  58. package/getImage.js +20 -7
  59. package/getImage.js.map +1 -1
  60. package/getImages.d.ts +58 -2
  61. package/getImages.js +58 -6
  62. package/getImages.js.map +1 -1
  63. package/getInstanceBackups.d.ts +4 -12
  64. package/getInstanceBackups.js +5 -16
  65. package/getInstanceBackups.js.map +1 -1
  66. package/getInstanceNetworking.d.ts +43 -0
  67. package/getInstanceNetworking.js +25 -0
  68. package/getInstanceNetworking.js.map +1 -0
  69. package/getInstanceType.d.ts +19 -3
  70. package/getInstanceType.js +20 -7
  71. package/getInstanceType.js.map +1 -1
  72. package/getInstanceTypes.d.ts +49 -1
  73. package/getInstanceTypes.js +49 -5
  74. package/getInstanceTypes.js.map +1 -1
  75. package/getInstances.d.ts +61 -2
  76. package/getInstances.js +61 -6
  77. package/getInstances.js.map +1 -1
  78. package/getIpv6Range.d.ts +18 -2
  79. package/getIpv6Range.js +20 -7
  80. package/getIpv6Range.js.map +1 -1
  81. package/getKernel.d.ts +18 -2
  82. package/getKernel.js +20 -7
  83. package/getKernel.js.map +1 -1
  84. package/getLkeCluster.d.ts +17 -3
  85. package/getLkeCluster.js +18 -7
  86. package/getLkeCluster.js.map +1 -1
  87. package/getLkeVersions.d.ts +27 -0
  88. package/getLkeVersions.js +27 -0
  89. package/getLkeVersions.js.map +1 -0
  90. package/getNetworkingIp.d.ts +18 -2
  91. package/getNetworkingIp.js +20 -7
  92. package/getNetworkingIp.js.map +1 -1
  93. package/getNodeBalancer.d.ts +17 -3
  94. package/getNodeBalancer.js +18 -7
  95. package/getNodeBalancer.js.map +1 -1
  96. package/getNodeBalancerConfig.d.ts +18 -3
  97. package/getNodeBalancerConfig.js +19 -7
  98. package/getNodeBalancerConfig.js.map +1 -1
  99. package/getNodeBalancerNode.d.ts +18 -2
  100. package/getNodeBalancerNode.js +20 -7
  101. package/getNodeBalancerNode.js.map +1 -1
  102. package/getObjectStorageCluster.d.ts +18 -2
  103. package/getObjectStorageCluster.js +20 -7
  104. package/getObjectStorageCluster.js.map +1 -1
  105. package/getProfile.d.ts +2 -2
  106. package/getProfile.js +2 -5
  107. package/getProfile.js.map +1 -1
  108. package/getRegion.d.ts +18 -2
  109. package/getRegion.js +20 -7
  110. package/getRegion.js.map +1 -1
  111. package/getSshKey.d.ts +18 -2
  112. package/getSshKey.js +20 -7
  113. package/getSshKey.js.map +1 -1
  114. package/getStackScript.d.ts +20 -3
  115. package/getStackScript.js +20 -7
  116. package/getStackScript.js.map +1 -1
  117. package/getStackScripts.d.ts +50 -2
  118. package/getStackScripts.js +50 -6
  119. package/getStackScripts.js.map +1 -1
  120. package/getUser.d.ts +120 -2
  121. package/getUser.js +28 -7
  122. package/getUser.js.map +1 -1
  123. package/getVlans.d.ts +37 -2
  124. package/getVlans.js +37 -6
  125. package/getVlans.js.map +1 -1
  126. package/getVolume.d.ts +18 -2
  127. package/getVolume.js +20 -7
  128. package/getVolume.js.map +1 -1
  129. package/index.d.ts +195 -62
  130. package/index.js +198 -135
  131. package/index.js.map +1 -1
  132. package/instance.d.ts +22 -13
  133. package/instance.js +6 -2
  134. package/instance.js.map +1 -1
  135. package/instanceDisk.js +4 -2
  136. package/instanceDisk.js.map +1 -1
  137. package/instanceIp.d.ts +1 -1
  138. package/instanceIp.js +1 -1
  139. package/lkeCluster.d.ts +2 -1
  140. package/lkeCluster.js +2 -0
  141. package/lkeCluster.js.map +1 -1
  142. package/nodeBalancer.d.ts +2 -1
  143. package/nodeBalancer.js.map +1 -1
  144. package/nodeBalancerConfig.d.ts +2 -1
  145. package/nodeBalancerConfig.js +4 -2
  146. package/nodeBalancerConfig.js.map +1 -1
  147. package/nodeBalancerNode.d.ts +2 -2
  148. package/nodeBalancerNode.js +2 -2
  149. package/objectStorageBucket.d.ts +5 -4
  150. package/objectStorageBucket.js.map +1 -1
  151. package/objectStorageKey.d.ts +3 -4
  152. package/objectStorageKey.js +3 -3
  153. package/objectStorageKey.js.map +1 -1
  154. package/package.json +2 -2
  155. package/package.json.dev +2 -2
  156. package/provider.d.ts +4 -0
  157. package/provider.js +1 -0
  158. package/provider.js.map +1 -1
  159. package/stackScript.d.ts +2 -1
  160. package/stackScript.js.map +1 -1
  161. package/token.d.ts +2 -2
  162. package/token.js +4 -2
  163. package/token.js.map +1 -1
  164. package/types/index.js.map +1 -1
  165. package/types/input.d.ts +122 -25
  166. package/types/output.d.ts +331 -15
  167. package/user.d.ts +4 -1
  168. package/user.js +2 -0
  169. package/user.js.map +1 -1
  170. package/utilities.js +13 -1
  171. package/utilities.js.map +1 -1
package/types/input.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs } from "../types";
2
+ import * as inputs from "../types/input";
3
3
  export interface DatabaseMongodbUpdates {
4
4
  dayOfWeek: pulumi.Input<string>;
5
5
  duration: pulumi.Input<number>;
@@ -31,13 +31,16 @@ export interface FirewallDevice {
31
31
  */
32
32
  id?: pulumi.Input<number>;
33
33
  /**
34
- * Used to identify this rule. For display purposes only.
34
+ * This Firewall's unique label.
35
35
  */
36
36
  label?: pulumi.Input<string>;
37
37
  /**
38
38
  * The type of Firewall Device.
39
39
  */
40
40
  type?: pulumi.Input<string>;
41
+ /**
42
+ * The URL of the underlying entity this device references.
43
+ */
41
44
  url?: pulumi.Input<string>;
42
45
  }
43
46
  export interface FirewallInbound {
@@ -80,7 +83,7 @@ export interface FirewallOutbound {
80
83
  */
81
84
  ipv6s?: pulumi.Input<pulumi.Input<string>[]>;
82
85
  /**
83
- * Used to identify this rule. For display purposes only.
86
+ * This Firewall's unique label.
84
87
  */
85
88
  label: pulumi.Input<string>;
86
89
  /**
@@ -92,13 +95,27 @@ export interface FirewallOutbound {
92
95
  */
93
96
  protocol: pulumi.Input<string>;
94
97
  }
95
- export interface GetDatabaseBackupsFilterArgs {
98
+ export interface GetAccountLoginsFilter {
99
+ /**
100
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
101
+ */
102
+ matchBy?: string;
103
+ /**
104
+ * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
105
+ */
106
+ name: string;
107
+ /**
108
+ * A list of values for the filter to allow. These values should all be in string form.
109
+ */
110
+ values: string[];
111
+ }
112
+ export interface GetAccountLoginsFilterArgs {
96
113
  /**
97
114
  * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
98
115
  */
99
116
  matchBy?: pulumi.Input<string>;
100
117
  /**
101
- * The name of the field to filter by.
118
+ * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
102
119
  */
103
120
  name: pulumi.Input<string>;
104
121
  /**
@@ -120,6 +137,20 @@ export interface GetDatabaseBackupsFilter {
120
137
  */
121
138
  values: string[];
122
139
  }
140
+ export interface GetDatabaseBackupsFilterArgs {
141
+ /**
142
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
143
+ */
144
+ matchBy?: pulumi.Input<string>;
145
+ /**
146
+ * The name of the field to filter by.
147
+ */
148
+ name: pulumi.Input<string>;
149
+ /**
150
+ * A list of values for the filter to allow. These values should all be in string form.
151
+ */
152
+ values: pulumi.Input<pulumi.Input<string>[]>;
153
+ }
123
154
  export interface GetDatabaseEnginesFilter {
124
155
  /**
125
156
  * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
@@ -368,33 +399,97 @@ export interface GetStackScriptsFilterArgs {
368
399
  */
369
400
  values: pulumi.Input<pulumi.Input<string>[]>;
370
401
  }
371
- export interface GetVlansFilterArgs {
402
+ export interface GetUserDomainGrant {
403
+ id: number;
404
+ permissions: string;
405
+ }
406
+ export interface GetUserDomainGrantArgs {
407
+ id: pulumi.Input<number>;
408
+ permissions: pulumi.Input<string>;
409
+ }
410
+ export interface GetUserFirewallGrant {
411
+ id: number;
412
+ permissions: string;
413
+ }
414
+ export interface GetUserFirewallGrantArgs {
415
+ id: pulumi.Input<number>;
416
+ permissions: pulumi.Input<string>;
417
+ }
418
+ export interface GetUserImageGrant {
419
+ id: number;
420
+ permissions: string;
421
+ }
422
+ export interface GetUserImageGrantArgs {
423
+ id: pulumi.Input<number>;
424
+ permissions: pulumi.Input<string>;
425
+ }
426
+ export interface GetUserLinodeGrant {
427
+ id: number;
428
+ permissions: string;
429
+ }
430
+ export interface GetUserLinodeGrantArgs {
431
+ id: pulumi.Input<number>;
432
+ permissions: pulumi.Input<string>;
433
+ }
434
+ export interface GetUserLongviewGrant {
435
+ id: number;
436
+ permissions: string;
437
+ }
438
+ export interface GetUserLongviewGrantArgs {
439
+ id: pulumi.Input<number>;
440
+ permissions: pulumi.Input<string>;
441
+ }
442
+ export interface GetUserNodebalancerGrant {
443
+ id: number;
444
+ permissions: string;
445
+ }
446
+ export interface GetUserNodebalancerGrantArgs {
447
+ id: pulumi.Input<number>;
448
+ permissions: pulumi.Input<string>;
449
+ }
450
+ export interface GetUserStackscriptGrant {
451
+ id: number;
452
+ permissions: string;
453
+ }
454
+ export interface GetUserStackscriptGrantArgs {
455
+ id: pulumi.Input<number>;
456
+ permissions: pulumi.Input<string>;
457
+ }
458
+ export interface GetUserVolumeGrant {
459
+ id: number;
460
+ permissions: string;
461
+ }
462
+ export interface GetUserVolumeGrantArgs {
463
+ id: pulumi.Input<number>;
464
+ permissions: pulumi.Input<string>;
465
+ }
466
+ export interface GetVlansFilter {
372
467
  /**
373
468
  * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
374
469
  */
375
- matchBy?: pulumi.Input<string>;
470
+ matchBy?: string;
376
471
  /**
377
472
  * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
378
473
  */
379
- name: pulumi.Input<string>;
474
+ name: string;
380
475
  /**
381
476
  * A list of values for the filter to allow. These values should all be in string form.
382
477
  */
383
- values: pulumi.Input<pulumi.Input<string>[]>;
478
+ values: string[];
384
479
  }
385
- export interface GetVlansFilter {
480
+ export interface GetVlansFilterArgs {
386
481
  /**
387
482
  * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
388
483
  */
389
- matchBy?: string;
484
+ matchBy?: pulumi.Input<string>;
390
485
  /**
391
486
  * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
392
487
  */
393
- name: string;
488
+ name: pulumi.Input<string>;
394
489
  /**
395
490
  * A list of values for the filter to allow. These values should all be in string form.
396
491
  */
397
- values: string[];
492
+ values: pulumi.Input<pulumi.Input<string>[]>;
398
493
  }
399
494
  export interface InstanceAlerts {
400
495
  cpu?: pulumi.Input<number>;
@@ -404,6 +499,7 @@ export interface InstanceAlerts {
404
499
  transferQuota?: pulumi.Input<number>;
405
500
  }
406
501
  export interface InstanceBackups {
502
+ available?: pulumi.Input<boolean>;
407
503
  /**
408
504
  * If this Linode has the Backup service enabled.
409
505
  */
@@ -422,7 +518,7 @@ export interface InstanceBackupsSchedule {
422
518
  }
423
519
  export interface InstanceConfig {
424
520
  /**
425
- * - Arbitrary user comments about this `config`.
521
+ * Arbitrary user comments about this `config`.
426
522
  */
427
523
  comments?: pulumi.Input<string>;
428
524
  /**
@@ -435,27 +531,27 @@ export interface InstanceConfig {
435
531
  helpers?: pulumi.Input<inputs.InstanceConfigHelpers>;
436
532
  interfaces?: pulumi.Input<pulumi.Input<inputs.InstanceConfigInterface>[]>;
437
533
  /**
438
- * - 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)).
534
+ * 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)).
439
535
  */
440
536
  kernel?: pulumi.Input<string>;
441
537
  /**
442
- * The name of this interface. If the interface is a VLAN, a label is required.
538
+ * The Linode's label is for display purposes only. If no label is provided for a Linode, a default will be assigned.
443
539
  */
444
540
  label: pulumi.Input<string>;
445
541
  /**
446
- * - Defaults to the total RAM of the Linode
542
+ * Defaults to the total RAM of the Linode
447
543
  */
448
544
  memoryLimit?: pulumi.Input<number>;
449
545
  /**
450
- * - The root device to boot. The corresponding disk must be attached to a `device` slot. Example: `"/dev/sda"`
546
+ * The root device to boot. The corresponding disk must be attached to a `device` slot. Example: `"/dev/sda"`
451
547
  */
452
548
  rootDevice?: pulumi.Input<string>;
453
549
  /**
454
- * - Defines the state of your Linode after booting. Defaults to `"default"`.
550
+ * Defines the state of your Linode after booting. Defaults to `"default"`.
455
551
  */
456
552
  runLevel?: pulumi.Input<string>;
457
553
  /**
458
- * - Controls the virtualization mode. Defaults to `"paravirt"`.
554
+ * Controls the virtualization mode. Defaults to `"paravirt"`.
459
555
  */
460
556
  virtMode?: pulumi.Input<string>;
461
557
  }
@@ -619,7 +715,7 @@ export interface InstanceConfigInterface {
619
715
  }
620
716
  export interface InstanceDisk {
621
717
  /**
622
- * A list of SSH public keys to deploy for the root user on the newly created Linode. Only accepted if `image` is provided. *This value can not be imported.* *Changing `authorizedKeys` forces the creation of a new Linode Instance.*
718
+ * A list of SSH public keys to deploy for the root user on the newly created Linode. *This value can not be imported.* *Changing `authorizedKeys` forces the creation of a new Linode Instance.*
623
719
  */
624
720
  authorizedKeys?: pulumi.Input<pulumi.Input<string>[]>;
625
721
  /**
@@ -635,11 +731,11 @@ export interface InstanceDisk {
635
731
  */
636
732
  id?: pulumi.Input<number>;
637
733
  /**
638
- * An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See /images for more information on the Images available for you to use. Examples are `linode/debian9`, `linode/fedora28`, `linode/ubuntu16.04lts`, `linode/arch`, and `private/12345`. See all images [here](https://api.linode.com/v4/images). *Changing `image` forces the creation of a new Linode Instance.*
734
+ * 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.*
639
735
  */
640
736
  image?: pulumi.Input<string>;
641
737
  /**
642
- * The name of this interface. If the interface is a VLAN, a label is required.
738
+ * The Linode's label is for display purposes only. If no label is provided for a Linode, a default will be assigned.
643
739
  */
644
740
  label: pulumi.Input<string>;
645
741
  /**
@@ -647,7 +743,7 @@ export interface InstanceDisk {
647
743
  */
648
744
  readOnly?: pulumi.Input<boolean>;
649
745
  /**
650
- * 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.*
746
+ * 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 the state.*
651
747
  */
652
748
  rootPass?: pulumi.Input<string>;
653
749
  /**
@@ -791,7 +887,7 @@ export interface ObjectStorageBucketLifecycleRuleExpiration {
791
887
  */
792
888
  date?: pulumi.Input<string>;
793
889
  /**
794
- * Specifies the number of days non-current object versions expire.
890
+ * Specifies the number of days after object creation when the specific rule action takes effect.
795
891
  */
796
892
  days?: pulumi.Input<number>;
797
893
  /**
@@ -855,6 +951,7 @@ export interface UserFirewallGrant {
855
951
  }
856
952
  export interface UserGlobalGrants {
857
953
  accountAccess?: pulumi.Input<string>;
954
+ addDatabases?: pulumi.Input<boolean>;
858
955
  addDomains?: pulumi.Input<boolean>;
859
956
  addFirewalls?: pulumi.Input<boolean>;
860
957
  addImages?: pulumi.Input<boolean>;