@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
@@ -54,10 +54,7 @@ const utilities = require("./utilities");
54
54
  */
55
55
  function getInstanceTypes(args, opts) {
56
56
  args = args || {};
57
- if (!opts) {
58
- opts = {};
59
- }
60
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
61
58
  return pulumi.runtime.invoke("linode:index/getInstanceTypes:getInstanceTypes", {
62
59
  "filters": args.filters,
63
60
  "order": args.order,
@@ -65,8 +62,55 @@ function getInstanceTypes(args, opts) {
65
62
  }, opts);
66
63
  }
67
64
  exports.getInstanceTypes = getInstanceTypes;
65
+ /**
66
+ * Provides information about Linode Instance types that match a set of filters.
67
+ *
68
+ * ## Example Usage
69
+ *
70
+ * Get information about all Linode Instance types with a certain number of VCPUs:
71
+ *
72
+ * ```typescript
73
+ * import * as pulumi from "@pulumi/pulumi";
74
+ * import * as linode from "@pulumi/linode";
75
+ *
76
+ * const specific-types = linode.getInstanceTypes({
77
+ * filters: [{
78
+ * name: "vcpus",
79
+ * values: ["2"],
80
+ * }],
81
+ * });
82
+ * export const typeIds = [specific_types.then(specific_types => specific_types.types)].map(__item => __item?.id);
83
+ * ```
84
+ *
85
+ * Get information about all Linode Instance types:
86
+ *
87
+ * ```typescript
88
+ * import * as pulumi from "@pulumi/pulumi";
89
+ * import * as linode from "@pulumi/linode";
90
+ *
91
+ * const all-types = linode.getInstanceTypes({});
92
+ * export const typeIds = [all_types.then(all_types => all_types.types)].map(__item => __item?.id);
93
+ * ```
94
+ * ## Filterable Fields
95
+ *
96
+ * * `class`
97
+ *
98
+ * * `disk`
99
+ *
100
+ * * `gpus`
101
+ *
102
+ * * `label`
103
+ *
104
+ * * `memory`
105
+ *
106
+ * * `networkOut`
107
+ *
108
+ * * `transfer`
109
+ *
110
+ * * `vcpus`
111
+ */
68
112
  function getInstanceTypesOutput(args, opts) {
69
- return pulumi.output(args).apply(a => getInstanceTypes(a, opts));
113
+ return pulumi.output(args).apply((a) => getInstanceTypes(a, opts));
70
114
  }
71
115
  exports.getInstanceTypesOutput = getInstanceTypesOutput;
72
116
  //# sourceMappingURL=getInstanceTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getInstanceTypes.js","sourceRoot":"","sources":["../getInstanceTypes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAo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AAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
package/getInstances.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "./types";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
3
4
  /**
4
5
  * Provides information about Linode instances that match a set of filters.
5
6
  *
@@ -26,7 +27,7 @@ import { input as inputs, output as outputs } from "./types";
26
27
  * },
27
28
  * ],
28
29
  * });
29
- * export const instanceId = my_instances.then(my_instances => my_instances.instances?[0]?.id);
30
+ * export const instanceId = my_instances.then(my_instances => my_instances.instances?.[0]?.id);
30
31
  * ```
31
32
  *
32
33
  * Get information about all Linode instances associated with the current token:
@@ -86,6 +87,64 @@ export interface GetInstancesResult {
86
87
  readonly order?: string;
87
88
  readonly orderBy?: string;
88
89
  }
90
+ /**
91
+ * Provides information about Linode instances that match a set of filters.
92
+ *
93
+ * ## Example Usage
94
+ *
95
+ * Get information about all Linode instances with a certain label and tag:
96
+ *
97
+ * ```typescript
98
+ * import * as pulumi from "@pulumi/pulumi";
99
+ * import * as linode from "@pulumi/linode";
100
+ *
101
+ * const my-instances = linode.getInstances({
102
+ * filters: [
103
+ * {
104
+ * name: "label",
105
+ * values: [
106
+ * "my-label",
107
+ * "my-other-label",
108
+ * ],
109
+ * },
110
+ * {
111
+ * name: "tags",
112
+ * values: ["my-tag"],
113
+ * },
114
+ * ],
115
+ * });
116
+ * export const instanceId = my_instances.then(my_instances => my_instances.instances?.[0]?.id);
117
+ * ```
118
+ *
119
+ * Get information about all Linode instances associated with the current token:
120
+ *
121
+ * ```typescript
122
+ * import * as pulumi from "@pulumi/pulumi";
123
+ * import * as linode from "@pulumi/linode";
124
+ *
125
+ * const all-instances = linode.getInstances({});
126
+ * export const instanceIds = [all_instances.then(all_instances => all_instances.instances)].map(__item => __item?.id);
127
+ * ```
128
+ * ## Filterable Fields
129
+ *
130
+ * * `group`
131
+ *
132
+ * * `id`
133
+ *
134
+ * * `image`
135
+ *
136
+ * * `label`
137
+ *
138
+ * * `region`
139
+ *
140
+ * * `status`
141
+ *
142
+ * * `tags`
143
+ *
144
+ * * `type`
145
+ *
146
+ * * `watchdogEnabled`
147
+ */
89
148
  export declare function getInstancesOutput(args?: GetInstancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstancesResult>;
90
149
  /**
91
150
  * A collection of arguments for invoking getInstances.
package/getInstances.js CHANGED
@@ -31,7 +31,7 @@ const utilities = require("./utilities");
31
31
  * },
32
32
  * ],
33
33
  * });
34
- * export const instanceId = my_instances.then(my_instances => my_instances.instances?[0]?.id);
34
+ * export const instanceId = my_instances.then(my_instances => my_instances.instances?.[0]?.id);
35
35
  * ```
36
36
  *
37
37
  * Get information about all Linode instances associated with the current token:
@@ -65,10 +65,7 @@ const utilities = require("./utilities");
65
65
  */
66
66
  function getInstances(args, opts) {
67
67
  args = args || {};
68
- if (!opts) {
69
- opts = {};
70
- }
71
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
68
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
72
69
  return pulumi.runtime.invoke("linode:index/getInstances:getInstances", {
73
70
  "filters": args.filters,
74
71
  "order": args.order,
@@ -76,8 +73,66 @@ function getInstances(args, opts) {
76
73
  }, opts);
77
74
  }
78
75
  exports.getInstances = getInstances;
76
+ /**
77
+ * Provides information about Linode instances that match a set of filters.
78
+ *
79
+ * ## Example Usage
80
+ *
81
+ * Get information about all Linode instances with a certain label and tag:
82
+ *
83
+ * ```typescript
84
+ * import * as pulumi from "@pulumi/pulumi";
85
+ * import * as linode from "@pulumi/linode";
86
+ *
87
+ * const my-instances = linode.getInstances({
88
+ * filters: [
89
+ * {
90
+ * name: "label",
91
+ * values: [
92
+ * "my-label",
93
+ * "my-other-label",
94
+ * ],
95
+ * },
96
+ * {
97
+ * name: "tags",
98
+ * values: ["my-tag"],
99
+ * },
100
+ * ],
101
+ * });
102
+ * export const instanceId = my_instances.then(my_instances => my_instances.instances?.[0]?.id);
103
+ * ```
104
+ *
105
+ * Get information about all Linode instances associated with the current token:
106
+ *
107
+ * ```typescript
108
+ * import * as pulumi from "@pulumi/pulumi";
109
+ * import * as linode from "@pulumi/linode";
110
+ *
111
+ * const all-instances = linode.getInstances({});
112
+ * export const instanceIds = [all_instances.then(all_instances => all_instances.instances)].map(__item => __item?.id);
113
+ * ```
114
+ * ## Filterable Fields
115
+ *
116
+ * * `group`
117
+ *
118
+ * * `id`
119
+ *
120
+ * * `image`
121
+ *
122
+ * * `label`
123
+ *
124
+ * * `region`
125
+ *
126
+ * * `status`
127
+ *
128
+ * * `tags`
129
+ *
130
+ * * `type`
131
+ *
132
+ * * `watchdogEnabled`
133
+ */
79
134
  function getInstancesOutput(args, opts) {
80
- return pulumi.output(args).apply(a => getInstances(a, opts));
135
+ return pulumi.output(args).apply((a) => getInstances(a, opts));
81
136
  }
82
137
  exports.getInstancesOutput = getInstancesOutput;
83
138
  //# sourceMappingURL=getInstances.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getInstances.js","sourceRoot":"","sources":["../getInstances.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,O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CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
package/getIpv6Range.d.ts CHANGED
@@ -10,9 +10,9 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as linode from "@pulumi/linode";
12
12
  *
13
- * const range_info = pulumi.output(linode.getIpv6Range({
13
+ * const range-info = linode.getIpv6Range({
14
14
  * range: "2001:0db8::",
15
- * }));
15
+ * });
16
16
  * ```
17
17
  */
18
18
  export declare function getIpv6Range(args: GetIpv6RangeArgs, opts?: pulumi.InvokeOptions): Promise<GetIpv6RangeResult>;
@@ -48,6 +48,22 @@ export interface GetIpv6RangeResult {
48
48
  */
49
49
  readonly region: string;
50
50
  }
51
+ /**
52
+ * Provides information about a Linode IPv6 Range.
53
+ *
54
+ * ## Example Usage
55
+ *
56
+ * Get information about an IPv6 range assigned to a Linode:
57
+ *
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as linode from "@pulumi/linode";
61
+ *
62
+ * const range-info = linode.getIpv6Range({
63
+ * range: "2001:0db8::",
64
+ * });
65
+ * ```
66
+ */
51
67
  export declare function getIpv6RangeOutput(args: GetIpv6RangeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIpv6RangeResult>;
52
68
  /**
53
69
  * A collection of arguments for invoking getIpv6Range.
package/getIpv6Range.js CHANGED
@@ -16,23 +16,36 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as linode from "@pulumi/linode";
18
18
  *
19
- * const range_info = pulumi.output(linode.getIpv6Range({
19
+ * const range-info = linode.getIpv6Range({
20
20
  * range: "2001:0db8::",
21
- * }));
21
+ * });
22
22
  * ```
23
23
  */
24
24
  function getIpv6Range(args, opts) {
25
- if (!opts) {
26
- opts = {};
27
- }
28
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
29
26
  return pulumi.runtime.invoke("linode:index/getIpv6Range:getIpv6Range", {
30
27
  "range": args.range,
31
28
  }, opts);
32
29
  }
33
30
  exports.getIpv6Range = getIpv6Range;
31
+ /**
32
+ * Provides information about a Linode IPv6 Range.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * Get information about an IPv6 range assigned to a Linode:
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as linode from "@pulumi/linode";
41
+ *
42
+ * const range-info = linode.getIpv6Range({
43
+ * range: "2001:0db8::",
44
+ * });
45
+ * ```
46
+ */
34
47
  function getIpv6RangeOutput(args, opts) {
35
- return pulumi.output(args).apply(a => getIpv6Range(a, opts));
48
+ return pulumi.output(args).apply((a) => getIpv6Range(a, opts));
36
49
  }
37
50
  exports.getIpv6RangeOutput = getIpv6RangeOutput;
38
51
  //# sourceMappingURL=getIpv6Range.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getIpv6Range.js","sourceRoot":"","sources":["../getIpv6Range.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oCASC;AAoCD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
1
+ {"version":3,"file":"getIpv6Range.js","sourceRoot":"","sources":["../getIpv6Range.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AAmCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
package/getKernel.d.ts CHANGED
@@ -10,9 +10,9 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as linode from "@pulumi/linode";
12
12
  *
13
- * const latest = pulumi.output(linode.getKernel({
13
+ * const latest = linode.getKernel({
14
14
  * id: "linode/latest-64bit",
15
- * }));
15
+ * });
16
16
  * ```
17
17
  */
18
18
  export declare function getKernel(args: GetKernelArgs, opts?: pulumi.InvokeOptions): Promise<GetKernelResult>;
@@ -59,6 +59,22 @@ export interface GetKernelResult {
59
59
  */
60
60
  readonly xen: boolean;
61
61
  }
62
+ /**
63
+ * Provides information about a Linode kernel
64
+ *
65
+ * ## Example Usage
66
+ *
67
+ * The following example shows how one might use this data source to access information about a Linode kernel.
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as linode from "@pulumi/linode";
72
+ *
73
+ * const latest = linode.getKernel({
74
+ * id: "linode/latest-64bit",
75
+ * });
76
+ * ```
77
+ */
62
78
  export declare function getKernelOutput(args: GetKernelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKernelResult>;
63
79
  /**
64
80
  * A collection of arguments for invoking getKernel.
package/getKernel.js CHANGED
@@ -16,23 +16,36 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as linode from "@pulumi/linode";
18
18
  *
19
- * const latest = pulumi.output(linode.getKernel({
19
+ * const latest = linode.getKernel({
20
20
  * id: "linode/latest-64bit",
21
- * }));
21
+ * });
22
22
  * ```
23
23
  */
24
24
  function getKernel(args, opts) {
25
- if (!opts) {
26
- opts = {};
27
- }
28
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
29
26
  return pulumi.runtime.invoke("linode:index/getKernel:getKernel", {
30
27
  "id": args.id,
31
28
  }, opts);
32
29
  }
33
30
  exports.getKernel = getKernel;
31
+ /**
32
+ * Provides information about a Linode kernel
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * The following example shows how one might use this data source to access information about a Linode kernel.
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as linode from "@pulumi/linode";
41
+ *
42
+ * const latest = linode.getKernel({
43
+ * id: "linode/latest-64bit",
44
+ * });
45
+ * ```
46
+ */
34
47
  function getKernelOutput(args, opts) {
35
- return pulumi.output(args).apply(a => getKernel(a, opts));
48
+ return pulumi.output(args).apply((a) => getKernel(a, opts));
36
49
  }
37
50
  exports.getKernelOutput = getKernelOutput;
38
51
  //# sourceMappingURL=getKernel.js.map
package/getKernel.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getKernel.js","sourceRoot":"","sources":["../getKernel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;AA+CD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"getKernel.js","sourceRoot":"","sources":["../getKernel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AA8CD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,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,5 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { output as outputs } from "./types";
2
+ import * as outputs from "./types/output";
3
3
  /**
4
4
  * Provides details about an LKE Cluster.
5
5
  *
@@ -9,9 +9,9 @@ import { output as outputs } from "./types";
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as linode from "@pulumi/linode";
11
11
  *
12
- * const my_cluster = pulumi.output(linode.getLkeCluster({
12
+ * const my-cluster = linode.getLkeCluster({
13
13
  * id: 123,
14
- * }));
14
+ * });
15
15
  * ```
16
16
  */
17
17
  export declare function getLkeCluster(args: GetLkeClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetLkeClusterResult>;
@@ -67,6 +67,20 @@ export interface GetLkeClusterResult {
67
67
  */
68
68
  readonly tags: string[];
69
69
  }
70
+ /**
71
+ * Provides details about an LKE Cluster.
72
+ *
73
+ * ## Example Usage
74
+ *
75
+ * ```typescript
76
+ * import * as pulumi from "@pulumi/pulumi";
77
+ * import * as linode from "@pulumi/linode";
78
+ *
79
+ * const my-cluster = linode.getLkeCluster({
80
+ * id: 123,
81
+ * });
82
+ * ```
83
+ */
70
84
  export declare function getLkeClusterOutput(args: GetLkeClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLkeClusterResult>;
71
85
  /**
72
86
  * A collection of arguments for invoking getLkeCluster.
package/getLkeCluster.js CHANGED
@@ -14,23 +14,34 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as linode from "@pulumi/linode";
16
16
  *
17
- * const my_cluster = pulumi.output(linode.getLkeCluster({
17
+ * const my-cluster = linode.getLkeCluster({
18
18
  * id: 123,
19
- * }));
19
+ * });
20
20
  * ```
21
21
  */
22
22
  function getLkeCluster(args, opts) {
23
- if (!opts) {
24
- opts = {};
25
- }
26
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
24
  return pulumi.runtime.invoke("linode:index/getLkeCluster:getLkeCluster", {
28
25
  "id": args.id,
29
26
  }, opts);
30
27
  }
31
28
  exports.getLkeCluster = getLkeCluster;
29
+ /**
30
+ * Provides details about an LKE Cluster.
31
+ *
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as linode from "@pulumi/linode";
37
+ *
38
+ * const my-cluster = linode.getLkeCluster({
39
+ * id: 123,
40
+ * });
41
+ * ```
42
+ */
32
43
  function getLkeClusterOutput(args, opts) {
33
- return pulumi.output(args).apply(a => getLkeCluster(a, opts));
44
+ return pulumi.output(args).apply((a) => getLkeCluster(a, opts));
34
45
  }
35
46
  exports.getLkeClusterOutput = getLkeClusterOutput;
36
47
  //# sourceMappingURL=getLkeCluster.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLkeCluster.js","sourceRoot":"","sources":["../getLkeCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC;AAwDD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"getLkeCluster.js","sourceRoot":"","sources":["../getLkeCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAuDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -0,0 +1,27 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Provides details about the Kubernetes versions available for deployment to a Kubernetes cluster.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * The following example shows how one might use this data source to access information about a Linode LKE Version.
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as linode from "@pulumi/linode";
13
+ *
14
+ * const example = linode.getLkeVersions({});
15
+ * ```
16
+ */
17
+ export declare function getLkeVersions(opts?: pulumi.InvokeOptions): Promise<GetLkeVersionsResult>;
18
+ /**
19
+ * A collection of values returned by getLkeVersions.
20
+ */
21
+ export interface GetLkeVersionsResult {
22
+ /**
23
+ * The provider-assigned unique ID for this managed resource.
24
+ */
25
+ readonly id: string;
26
+ readonly versions: outputs.GetLkeVersionsVersion[];
27
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getLkeVersions = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides details about the Kubernetes versions available for deployment to a Kubernetes cluster.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * The following example shows how one might use this data source to access information about a Linode LKE Version.
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as linode from "@pulumi/linode";
18
+ *
19
+ * const example = linode.getLkeVersions({});
20
+ * ```
21
+ */
22
+ function getLkeVersions(opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("linode:index/getLkeVersions:getLkeVersions", {}, opts);
25
+ }
26
+ exports.getLkeVersions = getLkeVersions;
27
+ //# sourceMappingURL=getLkeVersions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLkeVersions.js","sourceRoot":"","sources":["../getLkeVersions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAA2B;IAEtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
@@ -10,9 +10,9 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as linode from "@pulumi/linode";
12
12
  *
13
- * const ns1LinodeCom = pulumi.output(linode.getNetworkingIp({
13
+ * const ns1LinodeCom = linode.getNetworkingIp({
14
14
  * address: "162.159.27.72",
15
- * }));
15
+ * });
16
16
  * ```
17
17
  */
18
18
  export declare function getNetworkingIp(args: GetNetworkingIpArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkingIpResult>;
@@ -70,6 +70,22 @@ export interface GetNetworkingIpResult {
70
70
  */
71
71
  readonly type: string;
72
72
  }
73
+ /**
74
+ * Provides information about a Linode Networking IP Address
75
+ *
76
+ * ## Example Usage
77
+ *
78
+ * The following example shows how one might use this data source to access information about a Linode Networking IP Address.
79
+ *
80
+ * ```typescript
81
+ * import * as pulumi from "@pulumi/pulumi";
82
+ * import * as linode from "@pulumi/linode";
83
+ *
84
+ * const ns1LinodeCom = linode.getNetworkingIp({
85
+ * address: "162.159.27.72",
86
+ * });
87
+ * ```
88
+ */
73
89
  export declare function getNetworkingIpOutput(args: GetNetworkingIpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNetworkingIpResult>;
74
90
  /**
75
91
  * A collection of arguments for invoking getNetworkingIp.
@@ -16,23 +16,36 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as linode from "@pulumi/linode";
18
18
  *
19
- * const ns1LinodeCom = pulumi.output(linode.getNetworkingIp({
19
+ * const ns1LinodeCom = linode.getNetworkingIp({
20
20
  * address: "162.159.27.72",
21
- * }));
21
+ * });
22
22
  * ```
23
23
  */
24
24
  function getNetworkingIp(args, opts) {
25
- if (!opts) {
26
- opts = {};
27
- }
28
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
29
26
  return pulumi.runtime.invoke("linode:index/getNetworkingIp:getNetworkingIp", {
30
27
  "address": args.address,
31
28
  }, opts);
32
29
  }
33
30
  exports.getNetworkingIp = getNetworkingIp;
31
+ /**
32
+ * Provides information about a Linode Networking IP Address
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * The following example shows how one might use this data source to access information about a Linode Networking IP Address.
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as linode from "@pulumi/linode";
41
+ *
42
+ * const ns1LinodeCom = linode.getNetworkingIp({
43
+ * address: "162.159.27.72",
44
+ * });
45
+ * ```
46
+ */
34
47
  function getNetworkingIpOutput(args, opts) {
35
- return pulumi.output(args).apply(a => getNetworkingIp(a, opts));
48
+ return pulumi.output(args).apply((a) => getNetworkingIp(a, opts));
36
49
  }
37
50
  exports.getNetworkingIpOutput = getNetworkingIpOutput;
38
51
  //# sourceMappingURL=getNetworkingIp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getNetworkingIp.js","sourceRoot":"","sources":["../getNetworkingIp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,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