@pulumi/linode 4.13.0-alpha.1707545625 → 4.13.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 (56) hide show
  1. package/databaseAccessControls.d.ts +1 -1
  2. package/databaseAccessControls.js +1 -1
  3. package/firewall.d.ts +1 -1
  4. package/firewall.js +1 -1
  5. package/getDomains.d.ts +142 -0
  6. package/getDomains.js +117 -0
  7. package/getDomains.js.map +1 -0
  8. package/getImage.d.ts +2 -2
  9. package/getImage.js +2 -2
  10. package/getImages.d.ts +2 -2
  11. package/getImages.js +2 -2
  12. package/getIpv6Ranges.d.ts +87 -0
  13. package/getIpv6Ranges.js +81 -0
  14. package/getIpv6Ranges.js.map +1 -0
  15. package/getLkeCluster.d.ts +25 -3
  16. package/getLkeCluster.js +2 -0
  17. package/getLkeCluster.js.map +1 -1
  18. package/getLkeClusters.d.ts +118 -0
  19. package/getLkeClusters.js +93 -0
  20. package/getLkeClusters.js.map +1 -0
  21. package/getNodeBalancer.d.ts +13 -6
  22. package/getNodeBalancer.js +1 -0
  23. package/getNodeBalancer.js.map +1 -1
  24. package/getVlans.d.ts +2 -2
  25. package/getVlans.js +2 -2
  26. package/index.d.ts +9 -0
  27. package/index.js +12 -3
  28. package/index.js.map +1 -1
  29. package/instance.d.ts +67 -12
  30. package/instance.js +36 -3
  31. package/instance.js.map +1 -1
  32. package/instanceDisk.d.ts +16 -16
  33. package/instanceDisk.js +1 -1
  34. package/instanceIp.d.ts +1 -1
  35. package/instanceIp.js +1 -1
  36. package/ipv6Range.d.ts +1 -1
  37. package/ipv6Range.js +1 -1
  38. package/lkeCluster.d.ts +0 -44
  39. package/lkeCluster.js +0 -44
  40. package/lkeCluster.js.map +1 -1
  41. package/nodeBalancer.d.ts +16 -8
  42. package/nodeBalancer.js +2 -0
  43. package/nodeBalancer.js.map +1 -1
  44. package/package.json +1 -1
  45. package/rdns.d.ts +5 -0
  46. package/rdns.js +2 -0
  47. package/rdns.js.map +1 -1
  48. package/stackScript.d.ts +3 -3
  49. package/stackScript.js +3 -3
  50. package/types/input.d.ts +902 -130
  51. package/types/output.d.ts +396 -6
  52. package/volume.d.ts +6 -1
  53. package/volume.js +2 -0
  54. package/volume.js.map +1 -1
  55. package/vpc.d.ts +1 -1
  56. package/vpc.js +1 -1
@@ -14,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
14
14
  * label: "myinstance",
15
15
  * region: "us-southeast",
16
16
  * type: "g6-nanode-1",
17
- * image: "linode/alpine3.14",
17
+ * image: "linode/alpine3.19",
18
18
  * });
19
19
  * const my_db = new linode.DatabaseMysql("my-db", {
20
20
  * label: "mydatabase",
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
20
20
  * label: "myinstance",
21
21
  * region: "us-southeast",
22
22
  * type: "g6-nanode-1",
23
- * image: "linode/alpine3.14",
23
+ * image: "linode/alpine3.19",
24
24
  * });
25
25
  * const my_db = new linode.DatabaseMysql("my-db", {
26
26
  * label: "mydatabase",
package/firewall.d.ts CHANGED
@@ -14,7 +14,7 @@ import * as outputs from "./types/output";
14
14
  *
15
15
  * const myInstance = new linode.Instance("myInstance", {
16
16
  * label: "my_instance",
17
- * image: "linode/ubuntu18.04",
17
+ * image: "linode/ubuntu22.04",
18
18
  * region: "us-southeast",
19
19
  * type: "g6-standard-1",
20
20
  * rootPass: "bogusPassword$",
package/firewall.js CHANGED
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
18
18
  *
19
19
  * const myInstance = new linode.Instance("myInstance", {
20
20
  * label: "my_instance",
21
- * image: "linode/ubuntu18.04",
21
+ * image: "linode/ubuntu22.04",
22
22
  * region: "us-southeast",
23
23
  * type: "g6-standard-1",
24
24
  * rootPass: "bogusPassword$",
@@ -0,0 +1,142 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Provides information about Linode Domains that match a set of filters.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * Get information about all Linode Cloud Domains with a specific tag:
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as linode from "@pulumi/linode";
14
+ *
15
+ * const specific = linode.getDomains({
16
+ * filters: [{
17
+ * name: "tags",
18
+ * values: ["test-tag"],
19
+ * }],
20
+ * });
21
+ * export const domain = specific.then(specific => specific.domains?.[0]?.domain);
22
+ * ```
23
+ * ## Filterable Fields
24
+ *
25
+ * * `group`
26
+ *
27
+ * * `tags`
28
+ *
29
+ * * `domain`
30
+ *
31
+ * * `type`
32
+ *
33
+ * * `status`
34
+ *
35
+ * * `description`
36
+ *
37
+ * * `masterIps`
38
+ *
39
+ * * `axfrIps`
40
+ *
41
+ * * `ttlSec`
42
+ *
43
+ * * `retrySec`
44
+ *
45
+ * * `expireSec`
46
+ *
47
+ * * `refreshSec`
48
+ *
49
+ * * `soaEmail`
50
+ */
51
+ export declare function getDomains(args?: GetDomainsArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainsResult>;
52
+ /**
53
+ * A collection of arguments for invoking getDomains.
54
+ */
55
+ export interface GetDomainsArgs {
56
+ domains?: inputs.GetDomainsDomain[];
57
+ filters?: inputs.GetDomainsFilter[];
58
+ /**
59
+ * The order in which results should be returned. (`asc`, `desc`; default `asc`)
60
+ */
61
+ order?: string;
62
+ /**
63
+ * The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
64
+ */
65
+ orderBy?: string;
66
+ }
67
+ /**
68
+ * A collection of values returned by getDomains.
69
+ */
70
+ export interface GetDomainsResult {
71
+ readonly domains?: outputs.GetDomainsDomain[];
72
+ readonly filters?: outputs.GetDomainsFilter[];
73
+ /**
74
+ * The unique ID of this Domain.
75
+ */
76
+ readonly id: string;
77
+ readonly order?: string;
78
+ readonly orderBy?: string;
79
+ }
80
+ /**
81
+ * Provides information about Linode Domains that match a set of filters.
82
+ *
83
+ * ## Example Usage
84
+ *
85
+ * Get information about all Linode Cloud Domains with a specific tag:
86
+ *
87
+ * ```typescript
88
+ * import * as pulumi from "@pulumi/pulumi";
89
+ * import * as linode from "@pulumi/linode";
90
+ *
91
+ * const specific = linode.getDomains({
92
+ * filters: [{
93
+ * name: "tags",
94
+ * values: ["test-tag"],
95
+ * }],
96
+ * });
97
+ * export const domain = specific.then(specific => specific.domains?.[0]?.domain);
98
+ * ```
99
+ * ## Filterable Fields
100
+ *
101
+ * * `group`
102
+ *
103
+ * * `tags`
104
+ *
105
+ * * `domain`
106
+ *
107
+ * * `type`
108
+ *
109
+ * * `status`
110
+ *
111
+ * * `description`
112
+ *
113
+ * * `masterIps`
114
+ *
115
+ * * `axfrIps`
116
+ *
117
+ * * `ttlSec`
118
+ *
119
+ * * `retrySec`
120
+ *
121
+ * * `expireSec`
122
+ *
123
+ * * `refreshSec`
124
+ *
125
+ * * `soaEmail`
126
+ */
127
+ export declare function getDomainsOutput(args?: GetDomainsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainsResult>;
128
+ /**
129
+ * A collection of arguments for invoking getDomains.
130
+ */
131
+ export interface GetDomainsOutputArgs {
132
+ domains?: pulumi.Input<pulumi.Input<inputs.GetDomainsDomainArgs>[]>;
133
+ filters?: pulumi.Input<pulumi.Input<inputs.GetDomainsFilterArgs>[]>;
134
+ /**
135
+ * The order in which results should be returned. (`asc`, `desc`; default `asc`)
136
+ */
137
+ order?: pulumi.Input<string>;
138
+ /**
139
+ * The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
140
+ */
141
+ orderBy?: pulumi.Input<string>;
142
+ }
package/getDomains.js ADDED
@@ -0,0 +1,117 @@
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.getDomainsOutput = exports.getDomains = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides information about Linode Domains that match a set of filters.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Get information about all Linode Cloud Domains with a specific tag:
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as linode from "@pulumi/linode";
18
+ *
19
+ * const specific = linode.getDomains({
20
+ * filters: [{
21
+ * name: "tags",
22
+ * values: ["test-tag"],
23
+ * }],
24
+ * });
25
+ * export const domain = specific.then(specific => specific.domains?.[0]?.domain);
26
+ * ```
27
+ * ## Filterable Fields
28
+ *
29
+ * * `group`
30
+ *
31
+ * * `tags`
32
+ *
33
+ * * `domain`
34
+ *
35
+ * * `type`
36
+ *
37
+ * * `status`
38
+ *
39
+ * * `description`
40
+ *
41
+ * * `masterIps`
42
+ *
43
+ * * `axfrIps`
44
+ *
45
+ * * `ttlSec`
46
+ *
47
+ * * `retrySec`
48
+ *
49
+ * * `expireSec`
50
+ *
51
+ * * `refreshSec`
52
+ *
53
+ * * `soaEmail`
54
+ */
55
+ function getDomains(args, opts) {
56
+ args = args || {};
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
58
+ return pulumi.runtime.invoke("linode:index/getDomains:getDomains", {
59
+ "domains": args.domains,
60
+ "filters": args.filters,
61
+ "order": args.order,
62
+ "orderBy": args.orderBy,
63
+ }, opts);
64
+ }
65
+ exports.getDomains = getDomains;
66
+ /**
67
+ * Provides information about Linode Domains that match a set of filters.
68
+ *
69
+ * ## Example Usage
70
+ *
71
+ * Get information about all Linode Cloud Domains with a specific tag:
72
+ *
73
+ * ```typescript
74
+ * import * as pulumi from "@pulumi/pulumi";
75
+ * import * as linode from "@pulumi/linode";
76
+ *
77
+ * const specific = linode.getDomains({
78
+ * filters: [{
79
+ * name: "tags",
80
+ * values: ["test-tag"],
81
+ * }],
82
+ * });
83
+ * export const domain = specific.then(specific => specific.domains?.[0]?.domain);
84
+ * ```
85
+ * ## Filterable Fields
86
+ *
87
+ * * `group`
88
+ *
89
+ * * `tags`
90
+ *
91
+ * * `domain`
92
+ *
93
+ * * `type`
94
+ *
95
+ * * `status`
96
+ *
97
+ * * `description`
98
+ *
99
+ * * `masterIps`
100
+ *
101
+ * * `axfrIps`
102
+ *
103
+ * * `ttlSec`
104
+ *
105
+ * * `retrySec`
106
+ *
107
+ * * `expireSec`
108
+ *
109
+ * * `refreshSec`
110
+ *
111
+ * * `soaEmail`
112
+ */
113
+ function getDomainsOutput(args, opts) {
114
+ return pulumi.output(args).apply((a) => getDomains(a, opts));
115
+ }
116
+ exports.getDomainsOutput = getDomainsOutput;
117
+ //# sourceMappingURL=getDomains.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDomains.js","sourceRoot":"","sources":["../getDomains.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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;QAC/D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
package/getImage.d.ts CHANGED
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as linode from "@pulumi/linode";
12
12
  *
13
13
  * const k8Master = linode.getImage({
14
- * id: "linode/debian8",
14
+ * id: "linode/debian12",
15
15
  * });
16
16
  * ```
17
17
  */
@@ -85,7 +85,7 @@ export interface GetImageResult {
85
85
  * import * as linode from "@pulumi/linode";
86
86
  *
87
87
  * const k8Master = linode.getImage({
88
- * id: "linode/debian8",
88
+ * id: "linode/debian12",
89
89
  * });
90
90
  * ```
91
91
  */
package/getImage.js CHANGED
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * import * as linode from "@pulumi/linode";
18
18
  *
19
19
  * const k8Master = linode.getImage({
20
- * id: "linode/debian8",
20
+ * id: "linode/debian12",
21
21
  * });
22
22
  * ```
23
23
  */
@@ -40,7 +40,7 @@ exports.getImage = getImage;
40
40
  * import * as linode from "@pulumi/linode";
41
41
  *
42
42
  * const k8Master = linode.getImage({
43
- * id: "linode/debian8",
43
+ * id: "linode/debian12",
44
44
  * });
45
45
  * ```
46
46
  */
package/getImages.d.ts CHANGED
@@ -16,7 +16,7 @@ import * as outputs from "./types/output";
16
16
  * filters: [
17
17
  * {
18
18
  * name: "label",
19
- * values: ["Debian 11"],
19
+ * values: ["Debian 12"],
20
20
  * },
21
21
  * {
22
22
  * name: "is_public",
@@ -107,7 +107,7 @@ export interface GetImagesResult {
107
107
  * filters: [
108
108
  * {
109
109
  * name: "label",
110
- * values: ["Debian 11"],
110
+ * values: ["Debian 12"],
111
111
  * },
112
112
  * {
113
113
  * name: "is_public",
package/getImages.js CHANGED
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
20
20
  * filters: [
21
21
  * {
22
22
  * name: "label",
23
- * values: ["Debian 11"],
23
+ * values: ["Debian 12"],
24
24
  * },
25
25
  * {
26
26
  * name: "is_public",
@@ -87,7 +87,7 @@ exports.getImages = getImages;
87
87
  * filters: [
88
88
  * {
89
89
  * name: "label",
90
- * values: ["Debian 11"],
90
+ * values: ["Debian 12"],
91
91
  * },
92
92
  * {
93
93
  * name: "is_public",
@@ -0,0 +1,87 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Provides information about Linode IPv6 ranges that match a set of filters.
6
+ *
7
+ * > Some fields may not be accessible directly the results of this data source.
8
+ * For additional information about a specific IPv6 range consider using the linode.Ipv6Range
9
+ * data source.
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as linode from "@pulumi/linode";
14
+ *
15
+ * const filtered-ranges = linode.getIpv6Ranges({
16
+ * filters: [{
17
+ * name: "region",
18
+ * values: ["us-mia"],
19
+ * }],
20
+ * });
21
+ * export const ranges = data.linode_ipv4_ranges["filtered-ranges"].ranges;
22
+ * ```
23
+ *
24
+ * ## Filterable Fields
25
+ *
26
+ * * `range`
27
+ *
28
+ * * `routeTarget`
29
+ *
30
+ * * `prefix`
31
+ *
32
+ * * `region`
33
+ */
34
+ export declare function getIpv6Ranges(args?: GetIpv6RangesArgs, opts?: pulumi.InvokeOptions): Promise<GetIpv6RangesResult>;
35
+ /**
36
+ * A collection of arguments for invoking getIpv6Ranges.
37
+ */
38
+ export interface GetIpv6RangesArgs {
39
+ filters?: inputs.GetIpv6RangesFilter[];
40
+ ranges?: inputs.GetIpv6RangesRange[];
41
+ }
42
+ /**
43
+ * A collection of values returned by getIpv6Ranges.
44
+ */
45
+ export interface GetIpv6RangesResult {
46
+ readonly filters?: outputs.GetIpv6RangesFilter[];
47
+ readonly id: string;
48
+ readonly ranges?: outputs.GetIpv6RangesRange[];
49
+ }
50
+ /**
51
+ * Provides information about Linode IPv6 ranges that match a set of filters.
52
+ *
53
+ * > Some fields may not be accessible directly the results of this data source.
54
+ * For additional information about a specific IPv6 range consider using the linode.Ipv6Range
55
+ * data source.
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as linode from "@pulumi/linode";
60
+ *
61
+ * const filtered-ranges = linode.getIpv6Ranges({
62
+ * filters: [{
63
+ * name: "region",
64
+ * values: ["us-mia"],
65
+ * }],
66
+ * });
67
+ * export const ranges = data.linode_ipv4_ranges["filtered-ranges"].ranges;
68
+ * ```
69
+ *
70
+ * ## Filterable Fields
71
+ *
72
+ * * `range`
73
+ *
74
+ * * `routeTarget`
75
+ *
76
+ * * `prefix`
77
+ *
78
+ * * `region`
79
+ */
80
+ export declare function getIpv6RangesOutput(args?: GetIpv6RangesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIpv6RangesResult>;
81
+ /**
82
+ * A collection of arguments for invoking getIpv6Ranges.
83
+ */
84
+ export interface GetIpv6RangesOutputArgs {
85
+ filters?: pulumi.Input<pulumi.Input<inputs.GetIpv6RangesFilterArgs>[]>;
86
+ ranges?: pulumi.Input<pulumi.Input<inputs.GetIpv6RangesRangeArgs>[]>;
87
+ }
@@ -0,0 +1,81 @@
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.getIpv6RangesOutput = exports.getIpv6Ranges = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides information about Linode IPv6 ranges that match a set of filters.
10
+ *
11
+ * > Some fields may not be accessible directly the results of this data source.
12
+ * For additional information about a specific IPv6 range consider using the linode.Ipv6Range
13
+ * data source.
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as linode from "@pulumi/linode";
18
+ *
19
+ * const filtered-ranges = linode.getIpv6Ranges({
20
+ * filters: [{
21
+ * name: "region",
22
+ * values: ["us-mia"],
23
+ * }],
24
+ * });
25
+ * export const ranges = data.linode_ipv4_ranges["filtered-ranges"].ranges;
26
+ * ```
27
+ *
28
+ * ## Filterable Fields
29
+ *
30
+ * * `range`
31
+ *
32
+ * * `routeTarget`
33
+ *
34
+ * * `prefix`
35
+ *
36
+ * * `region`
37
+ */
38
+ function getIpv6Ranges(args, opts) {
39
+ args = args || {};
40
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
41
+ return pulumi.runtime.invoke("linode:index/getIpv6Ranges:getIpv6Ranges", {
42
+ "filters": args.filters,
43
+ "ranges": args.ranges,
44
+ }, opts);
45
+ }
46
+ exports.getIpv6Ranges = getIpv6Ranges;
47
+ /**
48
+ * Provides information about Linode IPv6 ranges that match a set of filters.
49
+ *
50
+ * > Some fields may not be accessible directly the results of this data source.
51
+ * For additional information about a specific IPv6 range consider using the linode.Ipv6Range
52
+ * data source.
53
+ *
54
+ * ```typescript
55
+ * import * as pulumi from "@pulumi/pulumi";
56
+ * import * as linode from "@pulumi/linode";
57
+ *
58
+ * const filtered-ranges = linode.getIpv6Ranges({
59
+ * filters: [{
60
+ * name: "region",
61
+ * values: ["us-mia"],
62
+ * }],
63
+ * });
64
+ * export const ranges = data.linode_ipv4_ranges["filtered-ranges"].ranges;
65
+ * ```
66
+ *
67
+ * ## Filterable Fields
68
+ *
69
+ * * `range`
70
+ *
71
+ * * `routeTarget`
72
+ *
73
+ * * `prefix`
74
+ *
75
+ * * `region`
76
+ */
77
+ function getIpv6RangesOutput(args, opts) {
78
+ return pulumi.output(args).apply((a) => getIpv6Ranges(a, opts));
79
+ }
80
+ exports.getIpv6RangesOutput = getIpv6RangesOutput;
81
+ //# sourceMappingURL=getIpv6Ranges.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIpv6Ranges.js","sourceRoot":"","sources":["../getIpv6Ranges.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC;AAkBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,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"}
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
2
3
  import * as outputs from "./types/output";
3
4
  /**
4
5
  * Provides details about an LKE Cluster.
@@ -19,10 +20,15 @@ export declare function getLkeCluster(args: GetLkeClusterArgs, opts?: pulumi.Inv
19
20
  * A collection of arguments for invoking getLkeCluster.
20
21
  */
21
22
  export interface GetLkeClusterArgs {
23
+ controlPlanes?: inputs.GetLkeClusterControlPlane[];
22
24
  /**
23
25
  * The LKE Cluster's ID.
24
26
  */
25
27
  id: number;
28
+ /**
29
+ * Node pools associated with this cluster.
30
+ */
31
+ pools?: inputs.GetLkeClusterPool[];
26
32
  }
27
33
  /**
28
34
  * A collection of values returned by getLkeCluster.
@@ -32,7 +38,11 @@ export interface GetLkeClusterResult {
32
38
  * The endpoints for the Kubernetes API server.
33
39
  */
34
40
  readonly apiEndpoints: string[];
35
- readonly controlPlanes: outputs.GetLkeClusterControlPlane[];
41
+ readonly controlPlanes?: outputs.GetLkeClusterControlPlane[];
42
+ /**
43
+ * When this Kubernetes cluster was created.
44
+ */
45
+ readonly created: string;
36
46
  /**
37
47
  * The Kubernetes Dashboard access URL for this cluster.
38
48
  */
@@ -49,11 +59,14 @@ export interface GetLkeClusterResult {
49
59
  * The base64 encoded kubeconfig for the Kubernetes cluster.
50
60
  */
51
61
  readonly kubeconfig: string;
62
+ /**
63
+ * The unique label for the cluster.
64
+ */
52
65
  readonly label: string;
53
66
  /**
54
67
  * Node pools associated with this cluster.
55
68
  */
56
- readonly pools: outputs.GetLkeClusterPool[];
69
+ readonly pools?: outputs.GetLkeClusterPool[];
57
70
  /**
58
71
  * This Kubernetes cluster's location.
59
72
  */
@@ -63,9 +76,13 @@ export interface GetLkeClusterResult {
63
76
  */
64
77
  readonly status: string;
65
78
  /**
66
- * The tags applied to the cluster.
79
+ * An array of tags applied to this object. Tags are for organizational purposes only.
67
80
  */
68
81
  readonly tags: string[];
82
+ /**
83
+ * When this Kubernetes cluster was updated.
84
+ */
85
+ readonly updated: string;
69
86
  }
70
87
  /**
71
88
  * Provides details about an LKE Cluster.
@@ -86,8 +103,13 @@ export declare function getLkeClusterOutput(args: GetLkeClusterOutputArgs, opts?
86
103
  * A collection of arguments for invoking getLkeCluster.
87
104
  */
88
105
  export interface GetLkeClusterOutputArgs {
106
+ controlPlanes?: pulumi.Input<pulumi.Input<inputs.GetLkeClusterControlPlaneArgs>[]>;
89
107
  /**
90
108
  * The LKE Cluster's ID.
91
109
  */
92
110
  id: pulumi.Input<number>;
111
+ /**
112
+ * Node pools associated with this cluster.
113
+ */
114
+ pools?: pulumi.Input<pulumi.Input<inputs.GetLkeClusterPoolArgs>[]>;
93
115
  }
package/getLkeCluster.js CHANGED
@@ -22,7 +22,9 @@ const utilities = require("./utilities");
22
22
  function getLkeCluster(args, opts) {
23
23
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
24
  return pulumi.runtime.invoke("linode:index/getLkeCluster:getLkeCluster", {
25
+ "controlPlanes": args.controlPlanes,
25
26
  "id": args.id,
27
+ "pools": args.pools,
26
28
  }, opts);
27
29
  }
28
30
  exports.getLkeCluster = getLkeCluster;
@@ -1 +1 @@
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"}
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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC;AAuED;;;;;;;;;;;;;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"}