@pulumi/linode 3.11.0 → 3.12.0-alpha.1676395094

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
@@ -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 a Linode NodeBalancer.
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_nodebalancer = pulumi.output(linode.getNodeBalancer({
12
+ * const my-nodebalancer = linode.getNodeBalancer({
13
13
  * id: 123,
14
- * }));
14
+ * });
15
15
  * ```
16
16
  */
17
17
  export declare function getNodeBalancer(args: GetNodeBalancerArgs, opts?: pulumi.InvokeOptions): Promise<GetNodeBalancerResult>;
@@ -58,6 +58,20 @@ export interface GetNodeBalancerResult {
58
58
  readonly transfers: outputs.GetNodeBalancerTransfer[];
59
59
  readonly updated: string;
60
60
  }
61
+ /**
62
+ * Provides details about a Linode NodeBalancer.
63
+ *
64
+ * ## Example Usage
65
+ *
66
+ * ```typescript
67
+ * import * as pulumi from "@pulumi/pulumi";
68
+ * import * as linode from "@pulumi/linode";
69
+ *
70
+ * const my-nodebalancer = linode.getNodeBalancer({
71
+ * id: 123,
72
+ * });
73
+ * ```
74
+ */
61
75
  export declare function getNodeBalancerOutput(args: GetNodeBalancerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNodeBalancerResult>;
62
76
  /**
63
77
  * A collection of arguments for invoking getNodeBalancer.
@@ -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_nodebalancer = pulumi.output(linode.getNodeBalancer({
17
+ * const my-nodebalancer = linode.getNodeBalancer({
18
18
  * id: 123,
19
- * }));
19
+ * });
20
20
  * ```
21
21
  */
22
22
  function getNodeBalancer(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/getNodeBalancer:getNodeBalancer", {
28
25
  "id": args.id,
29
26
  }, opts);
30
27
  }
31
28
  exports.getNodeBalancer = getNodeBalancer;
29
+ /**
30
+ * Provides details about a Linode NodeBalancer.
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-nodebalancer = linode.getNodeBalancer({
39
+ * id: 123,
40
+ * });
41
+ * ```
42
+ */
32
43
  function getNodeBalancerOutput(args, opts) {
33
- return pulumi.output(args).apply(a => getNodeBalancer(a, opts));
44
+ return pulumi.output(args).apply((a) => getNodeBalancer(a, opts));
34
45
  }
35
46
  exports.getNodeBalancerOutput = getNodeBalancerOutput;
36
47
  //# sourceMappingURL=getNodeBalancer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getNodeBalancer.js","sourceRoot":"","sources":["../getNodeBalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;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,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC;AA+CD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
1
+ {"version":3,"file":"getNodeBalancer.js","sourceRoot":"","sources":["../getNodeBalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AA8CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
@@ -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 a Linode NodeBalancer Config.
5
5
  *
@@ -9,10 +9,10 @@ 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_config = pulumi.output(linode.getNodeBalancerConfig({
12
+ * const my-config = linode.getNodeBalancerConfig({
13
13
  * id: 123,
14
14
  * nodebalancerId: 456,
15
- * }));
15
+ * });
16
16
  * ```
17
17
  */
18
18
  export declare function getNodeBalancerConfig(args: GetNodeBalancerConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetNodeBalancerConfigResult>;
@@ -94,6 +94,21 @@ export interface GetNodeBalancerConfigResult {
94
94
  */
95
95
  readonly stickiness: string;
96
96
  }
97
+ /**
98
+ * Provides details about a Linode NodeBalancer Config.
99
+ *
100
+ * ## Example Usage
101
+ *
102
+ * ```typescript
103
+ * import * as pulumi from "@pulumi/pulumi";
104
+ * import * as linode from "@pulumi/linode";
105
+ *
106
+ * const my-config = linode.getNodeBalancerConfig({
107
+ * id: 123,
108
+ * nodebalancerId: 456,
109
+ * });
110
+ * ```
111
+ */
97
112
  export declare function getNodeBalancerConfigOutput(args: GetNodeBalancerConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNodeBalancerConfigResult>;
98
113
  /**
99
114
  * A collection of arguments for invoking getNodeBalancerConfig.
@@ -14,25 +14,37 @@ 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_config = pulumi.output(linode.getNodeBalancerConfig({
17
+ * const my-config = linode.getNodeBalancerConfig({
18
18
  * id: 123,
19
19
  * nodebalancerId: 456,
20
- * }));
20
+ * });
21
21
  * ```
22
22
  */
23
23
  function getNodeBalancerConfig(args, opts) {
24
- if (!opts) {
25
- opts = {};
26
- }
27
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
28
25
  return pulumi.runtime.invoke("linode:index/getNodeBalancerConfig:getNodeBalancerConfig", {
29
26
  "id": args.id,
30
27
  "nodebalancerId": args.nodebalancerId,
31
28
  }, opts);
32
29
  }
33
30
  exports.getNodeBalancerConfig = getNodeBalancerConfig;
31
+ /**
32
+ * Provides details about a Linode NodeBalancer Config.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as linode from "@pulumi/linode";
39
+ *
40
+ * const my-config = linode.getNodeBalancerConfig({
41
+ * id: 123,
42
+ * nodebalancerId: 456,
43
+ * });
44
+ * ```
45
+ */
34
46
  function getNodeBalancerConfigOutput(args, opts) {
35
- return pulumi.output(args).apply(a => getNodeBalancerConfig(a, opts));
47
+ return pulumi.output(args).apply((a) => getNodeBalancerConfig(a, opts));
36
48
  }
37
49
  exports.getNodeBalancerConfigOutput = getNodeBalancerConfigOutput;
38
50
  //# sourceMappingURL=getNodeBalancerConfig.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getNodeBalancerConfig.js","sourceRoot":"","sources":["../getNodeBalancerConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,qBAAqB,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AC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
@@ -8,11 +8,11 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as linode from "@pulumi/linode";
10
10
  *
11
- * const my_node = pulumi.output(linode.getNodeBalancerNode({
11
+ * const my-node = linode.getNodeBalancerNode({
12
12
  * configId: 789,
13
13
  * id: 123,
14
14
  * nodebalancerId: 456,
15
- * }));
15
+ * });
16
16
  * ```
17
17
  */
18
18
  export declare function getNodeBalancerNode(args: GetNodeBalancerNodeArgs, opts?: pulumi.InvokeOptions): Promise<GetNodeBalancerNodeResult>;
@@ -61,6 +61,22 @@ export interface GetNodeBalancerNodeResult {
61
61
  */
62
62
  readonly weight: number;
63
63
  }
64
+ /**
65
+ * Provides details about a Linode NodeBalancer node.
66
+ *
67
+ * ## Example Usage
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as linode from "@pulumi/linode";
72
+ *
73
+ * const my-node = linode.getNodeBalancerNode({
74
+ * configId: 789,
75
+ * id: 123,
76
+ * nodebalancerId: 456,
77
+ * });
78
+ * ```
79
+ */
64
80
  export declare function getNodeBalancerNodeOutput(args: GetNodeBalancerNodeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNodeBalancerNodeResult>;
65
81
  /**
66
82
  * A collection of arguments for invoking getNodeBalancerNode.
@@ -14,18 +14,15 @@ 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_node = pulumi.output(linode.getNodeBalancerNode({
17
+ * const my-node = linode.getNodeBalancerNode({
18
18
  * configId: 789,
19
19
  * id: 123,
20
20
  * nodebalancerId: 456,
21
- * }));
21
+ * });
22
22
  * ```
23
23
  */
24
24
  function getNodeBalancerNode(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/getNodeBalancerNode:getNodeBalancerNode", {
30
27
  "configId": args.configId,
31
28
  "id": args.id,
@@ -33,8 +30,24 @@ function getNodeBalancerNode(args, opts) {
33
30
  }, opts);
34
31
  }
35
32
  exports.getNodeBalancerNode = getNodeBalancerNode;
33
+ /**
34
+ * Provides details about a Linode NodeBalancer node.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as linode from "@pulumi/linode";
41
+ *
42
+ * const my-node = linode.getNodeBalancerNode({
43
+ * configId: 789,
44
+ * id: 123,
45
+ * nodebalancerId: 456,
46
+ * });
47
+ * ```
48
+ */
36
49
  function getNodeBalancerNodeOutput(args, opts) {
37
- return pulumi.output(args).apply(a => getNodeBalancerNode(a, opts));
50
+ return pulumi.output(args).apply((a) => getNodeBalancerNode(a, opts));
38
51
  }
39
52
  exports.getNodeBalancerNodeOutput = getNodeBalancerNodeOutput;
40
53
  //# sourceMappingURL=getNodeBalancerNode.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getNodeBalancerNode.js","sourceRoot":"","sources":["../getNodeBalancerNode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,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,C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i from "@pulumi/pulumi";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as linode from "@pulumi/linode";
12
12
  *
13
- * const primary = pulumi.output(linode.getObjectStorageCluster({
13
+ * const primary = linode.getObjectStorageCluster({
14
14
  * id: "us-east-1",
15
- * }));
15
+ * });
16
16
  * ```
17
17
  */
18
18
  export declare function getObjectStorageCluster(args: GetObjectStorageClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetObjectStorageClusterResult>;
@@ -63,6 +63,22 @@ export interface GetObjectStorageClusterResult {
63
63
  */
64
64
  readonly status: string;
65
65
  }
66
+ /**
67
+ * Provides information about a Linode Object Storage Cluster
68
+ *
69
+ * ## Example Usage
70
+ *
71
+ * The following example shows how one might use this data source to access information about a Linode Object Storage Cluster.
72
+ *
73
+ * ```typescript
74
+ * import * as pulumi from "@pulumi/pulumi";
75
+ * import * as linode from "@pulumi/linode";
76
+ *
77
+ * const primary = linode.getObjectStorageCluster({
78
+ * id: "us-east-1",
79
+ * });
80
+ * ```
81
+ */
66
82
  export declare function getObjectStorageClusterOutput(args: GetObjectStorageClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetObjectStorageClusterResult>;
67
83
  /**
68
84
  * A collection of arguments for invoking getObjectStorageCluster.
@@ -16,16 +16,13 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as linode from "@pulumi/linode";
18
18
  *
19
- * const primary = pulumi.output(linode.getObjectStorageCluster({
19
+ * const primary = linode.getObjectStorageCluster({
20
20
  * id: "us-east-1",
21
- * }));
21
+ * });
22
22
  * ```
23
23
  */
24
24
  function getObjectStorageCluster(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/getObjectStorageCluster:getObjectStorageCluster", {
30
27
  "domain": args.domain,
31
28
  "id": args.id,
@@ -35,8 +32,24 @@ function getObjectStorageCluster(args, opts) {
35
32
  }, opts);
36
33
  }
37
34
  exports.getObjectStorageCluster = getObjectStorageCluster;
35
+ /**
36
+ * Provides information about a Linode Object Storage Cluster
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * The following example shows how one might use this data source to access information about a Linode Object Storage Cluster.
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as linode from "@pulumi/linode";
45
+ *
46
+ * const primary = linode.getObjectStorageCluster({
47
+ * id: "us-east-1",
48
+ * });
49
+ * ```
50
+ */
38
51
  function getObjectStorageClusterOutput(args, opts) {
39
- return pulumi.output(args).apply(a => getObjectStorageCluster(a, opts));
52
+ return pulumi.output(args).apply((a) => getObjectStorageCluster(a, opts));
40
53
  }
41
54
  exports.getObjectStorageClusterOutput = getObjectStorageClusterOutput;
42
55
  //# sourceMappingURL=getObjectStorageCluster.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getObjectStorageCluster.js","sourceRoot":"","sources":["../getObjectStorageCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,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,8DAA8D,EAAE;QACzF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,0DAaC;AAmDD,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,sEAEC"}
1
+ {"version":3,"file":"getObjectStorageCluster.js","sourceRoot":"","sources":["../getObjectStorageCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAElG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0DAUC;AAkDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
package/getProfile.d.ts CHANGED
@@ -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 information about a Linode profile.
5
5
  *
@@ -11,7 +11,7 @@ import { output as outputs } from "./types";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as linode from "@pulumi/linode";
13
13
  *
14
- * const profile = pulumi.output(linode.getProfile());
14
+ * const profile = linode.getProfile({});
15
15
  * ```
16
16
  */
17
17
  export declare function getProfile(opts?: pulumi.InvokeOptions): Promise<GetProfileResult>;
package/getProfile.js CHANGED
@@ -16,14 +16,11 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as linode from "@pulumi/linode";
18
18
  *
19
- * const profile = pulumi.output(linode.getProfile());
19
+ * const profile = linode.getProfile({});
20
20
  * ```
21
21
  */
22
22
  function getProfile(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/getProfile:getProfile", {}, opts);
28
25
  }
29
26
  exports.getProfile = getProfile;
package/getProfile.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getProfile.js","sourceRoot":"","sources":["../getProfile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAClD,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,oCAAoC,EAAE,EAClE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC"}
1
+ {"version":3,"file":"getProfile.js","sourceRoot":"","sources":["../getProfile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAElD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE,EAClE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC"}
package/getRegion.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 region = pulumi.output(linode.getRegion({
13
+ * const region = linode.getRegion({
14
14
  * id: "us-east",
15
- * }));
15
+ * });
16
16
  * ```
17
17
  */
18
18
  export declare function getRegion(args: GetRegionArgs, opts?: pulumi.InvokeOptions): Promise<GetRegionResult>;
@@ -39,6 +39,22 @@ export interface GetRegionResult {
39
39
  readonly country: string;
40
40
  readonly id: string;
41
41
  }
42
+ /**
43
+ * `linode.getRegion` provides details about a specific Linode region. See all regions [here](https://api.linode.com/v4/regions).
44
+ *
45
+ * ## Example Usage
46
+ *
47
+ * The following example shows how the resource might be used to obtain additional information about a Linode region.
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as linode from "@pulumi/linode";
52
+ *
53
+ * const region = linode.getRegion({
54
+ * id: "us-east",
55
+ * });
56
+ * ```
57
+ */
42
58
  export declare function getRegionOutput(args: GetRegionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRegionResult>;
43
59
  /**
44
60
  * A collection of arguments for invoking getRegion.
package/getRegion.js CHANGED
@@ -16,24 +16,37 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as linode from "@pulumi/linode";
18
18
  *
19
- * const region = pulumi.output(linode.getRegion({
19
+ * const region = linode.getRegion({
20
20
  * id: "us-east",
21
- * }));
21
+ * });
22
22
  * ```
23
23
  */
24
24
  function getRegion(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/getRegion:getRegion", {
30
27
  "country": args.country,
31
28
  "id": args.id,
32
29
  }, opts);
33
30
  }
34
31
  exports.getRegion = getRegion;
32
+ /**
33
+ * `linode.getRegion` provides details about a specific Linode region. See all regions [here](https://api.linode.com/v4/regions).
34
+ *
35
+ * ## Example Usage
36
+ *
37
+ * The following example shows how the resource might be used to obtain additional information about a Linode region.
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as linode from "@pulumi/linode";
42
+ *
43
+ * const region = linode.getRegion({
44
+ * id: "us-east",
45
+ * });
46
+ * ```
47
+ */
35
48
  function getRegionOutput(args, opts) {
36
- return pulumi.output(args).apply(a => getRegion(a, opts));
49
+ return pulumi.output(args).apply((a) => getRegion(a, opts));
37
50
  }
38
51
  exports.getRegionOutput = getRegionOutput;
39
52
  //# sourceMappingURL=getRegion.js.map
package/getRegion.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getRegion.js","sourceRoot":"","sources":["../getRegion.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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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 foo = pulumi.output(linode.getSshKey({
13
+ * const foo = linode.getSshKey({
14
14
  * label: "foo",
15
- * }));
15
+ * });
16
16
  * ```
17
17
  */
18
18
  export declare function getSshKey(args: GetSshKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetSshKeyResult>;
@@ -43,6 +43,22 @@ export interface GetSshKeyResult {
43
43
  */
44
44
  readonly sshKey: string;
45
45
  }
46
+ /**
47
+ * `linode.SshKey` provides access to a specifically labeled SSH Key in the Profile of the User identified by the access token.
48
+ *
49
+ * ## Example Usage
50
+ *
51
+ * The following example shows how the resource might be used to obtain the name of the SSH Key configured on the Linode user profile.
52
+ *
53
+ * ```typescript
54
+ * import * as pulumi from "@pulumi/pulumi";
55
+ * import * as linode from "@pulumi/linode";
56
+ *
57
+ * const foo = linode.getSshKey({
58
+ * label: "foo",
59
+ * });
60
+ * ```
61
+ */
46
62
  export declare function getSshKeyOutput(args: GetSshKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSshKeyResult>;
47
63
  /**
48
64
  * A collection of arguments for invoking getSshKey.
package/getSshKey.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 foo = pulumi.output(linode.getSshKey({
19
+ * const foo = linode.getSshKey({
20
20
  * label: "foo",
21
- * }));
21
+ * });
22
22
  * ```
23
23
  */
24
24
  function getSshKey(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/getSshKey:getSshKey", {
30
27
  "label": args.label,
31
28
  }, opts);
32
29
  }
33
30
  exports.getSshKey = getSshKey;
31
+ /**
32
+ * `linode.SshKey` provides access to a specifically labeled SSH Key in the Profile of the User identified by the access token.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * The following example shows how the resource might be used to obtain the name of the SSH Key configured on the Linode user profile.
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as linode from "@pulumi/linode";
41
+ *
42
+ * const foo = linode.getSshKey({
43
+ * label: "foo",
44
+ * });
45
+ * ```
46
+ */
34
47
  function getSshKeyOutput(args, opts) {
35
- return pulumi.output(args).apply(a => getSshKey(a, opts));
48
+ return pulumi.output(args).apply((a) => getSshKey(a, opts));
36
49
  }
37
50
  exports.getSshKeyOutput = getSshKeyOutput;
38
51
  //# sourceMappingURL=getSshKey.js.map
package/getSshKey.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getSshKey.js","sourceRoot":"","sources":["../getSshKey.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,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;AA+BD,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":"getSshKey.js","sourceRoot":"","sources":["../getSshKey.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,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AA8BD;;;;;;;;;;;;;;;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,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 details about a specific Linode StackScript.
5
6
  *
@@ -11,9 +12,9 @@ import { input as inputs, output as outputs } from "./types";
11
12
  * import * as pulumi from "@pulumi/pulumi";
12
13
  * import * as linode from "@pulumi/linode";
13
14
  *
14
- * const myStackscript = pulumi.output(linode.getStackScript({
15
+ * const myStackscript = linode.getStackScript({
15
16
  * id: 355872,
16
- * }));
17
+ * });
17
18
  * ```
18
19
  */
19
20
  export declare function getStackScript(args: GetStackScriptArgs, opts?: pulumi.InvokeOptions): Promise<GetStackScriptResult>;
@@ -88,6 +89,22 @@ export interface GetStackScriptResult {
88
89
  */
89
90
  readonly username: string;
90
91
  }
92
+ /**
93
+ * Provides details about a specific Linode StackScript.
94
+ *
95
+ * ## Example Usage
96
+ *
97
+ * The following example shows how one might use this data source to access information about a Linode StackScript.
98
+ *
99
+ * ```typescript
100
+ * import * as pulumi from "@pulumi/pulumi";
101
+ * import * as linode from "@pulumi/linode";
102
+ *
103
+ * const myStackscript = linode.getStackScript({
104
+ * id: 355872,
105
+ * });
106
+ * ```
107
+ */
91
108
  export declare function getStackScriptOutput(args: GetStackScriptOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetStackScriptResult>;
92
109
  /**
93
110
  * A collection of arguments for invoking getStackScript.