@pulumi/linode 4.5.0 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/firewall.d.ts CHANGED
@@ -88,6 +88,10 @@ export declare class Firewall extends pulumi.CustomResource {
88
88
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
89
89
  */
90
90
  static isInstance(obj: any): obj is Firewall;
91
+ /**
92
+ * When this firewall was created
93
+ */
94
+ readonly created: pulumi.Output<string>;
91
95
  /**
92
96
  * The devices associated with this firewall.
93
97
  */
@@ -132,6 +136,10 @@ export declare class Firewall extends pulumi.CustomResource {
132
136
  * A list of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
133
137
  */
134
138
  readonly tags: pulumi.Output<string[] | undefined>;
139
+ /**
140
+ * When this firewall was last updated
141
+ */
142
+ readonly updated: pulumi.Output<string>;
135
143
  /**
136
144
  * Create a Firewall resource with the given unique name, arguments, and options.
137
145
  *
@@ -145,6 +153,10 @@ export declare class Firewall extends pulumi.CustomResource {
145
153
  * Input properties used for looking up and filtering Firewall resources.
146
154
  */
147
155
  export interface FirewallState {
156
+ /**
157
+ * When this firewall was created
158
+ */
159
+ created?: pulumi.Input<string>;
148
160
  /**
149
161
  * The devices associated with this firewall.
150
162
  */
@@ -189,6 +201,10 @@ export interface FirewallState {
189
201
  * A list of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
190
202
  */
191
203
  tags?: pulumi.Input<pulumi.Input<string>[]>;
204
+ /**
205
+ * When this firewall was last updated
206
+ */
207
+ updated?: pulumi.Input<string>;
192
208
  }
193
209
  /**
194
210
  * The set of arguments for constructing a Firewall resource.
package/firewall.js CHANGED
@@ -104,6 +104,7 @@ class Firewall extends pulumi.CustomResource {
104
104
  opts = opts || {};
105
105
  if (opts.id) {
106
106
  const state = argsOrState;
107
+ resourceInputs["created"] = state ? state.created : undefined;
107
108
  resourceInputs["devices"] = state ? state.devices : undefined;
108
109
  resourceInputs["disabled"] = state ? state.disabled : undefined;
109
110
  resourceInputs["inboundPolicy"] = state ? state.inboundPolicy : undefined;
@@ -114,6 +115,7 @@ class Firewall extends pulumi.CustomResource {
114
115
  resourceInputs["outbounds"] = state ? state.outbounds : undefined;
115
116
  resourceInputs["status"] = state ? state.status : undefined;
116
117
  resourceInputs["tags"] = state ? state.tags : undefined;
118
+ resourceInputs["updated"] = state ? state.updated : undefined;
117
119
  }
118
120
  else {
119
121
  const args = argsOrState;
@@ -134,8 +136,10 @@ class Firewall extends pulumi.CustomResource {
134
136
  resourceInputs["outboundPolicy"] = args ? args.outboundPolicy : undefined;
135
137
  resourceInputs["outbounds"] = args ? args.outbounds : undefined;
136
138
  resourceInputs["tags"] = args ? args.tags : undefined;
139
+ resourceInputs["created"] = undefined /*out*/;
137
140
  resourceInputs["devices"] = undefined /*out*/;
138
141
  resourceInputs["status"] = undefined /*out*/;
142
+ resourceInputs["updated"] = undefined /*out*/;
139
143
  }
140
144
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
141
145
  super(Firewall.__pulumiType, name, resourceInputs, opts);
package/firewall.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"firewall.js","sourceRoot":"","sources":["../firewall.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QA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C,CAAC"}
package/getFirewall.d.ts CHANGED
@@ -28,6 +28,10 @@ export interface GetFirewallArgs {
28
28
  * A collection of values returned by getFirewall.
29
29
  */
30
30
  export interface GetFirewallResult {
31
+ /**
32
+ * When this firewall was created.
33
+ */
34
+ readonly created: string;
31
35
  readonly devices: outputs.GetFirewallDevice[];
32
36
  /**
33
37
  * If true, the firewall is inactive.
@@ -63,6 +67,10 @@ export interface GetFirewallResult {
63
67
  * The tags applied to the firewall.
64
68
  */
65
69
  readonly tags: string[];
70
+ /**
71
+ * When this firewall was last updated.
72
+ */
73
+ readonly updated: string;
66
74
  }
67
75
  /**
68
76
  * Provides details about a Linode Firewall.
@@ -1 +1 @@
1
- {"version":3,"file":"getFirewall.js","sourceRoot":"","sources":["../getFirewall.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAoDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getFirewall.js","sourceRoot":"","sources":["../getFirewall.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA4DD;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -0,0 +1,190 @@
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 Cloud Firewalls that match a set of filters.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * Get information about all Linode Cloud Firewalls with a certain label and visibility:
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as linode from "@pulumi/linode";
14
+ *
15
+ * const specific = linode.getFirewalls({
16
+ * filters: [
17
+ * {
18
+ * name: "label",
19
+ * values: ["my-firewalls"],
20
+ * },
21
+ * {
22
+ * name: "tags",
23
+ * values: ["my-tag"],
24
+ * },
25
+ * ],
26
+ * });
27
+ * export const firewallId = specific.then(specific => specific.firewalls?.[0]?.id);
28
+ * ```
29
+ *
30
+ * Get information about all Linode images associated with the current token:
31
+ *
32
+ * ```typescript
33
+ * import * as pulumi from "@pulumi/pulumi";
34
+ * import * as linode from "@pulumi/linode";
35
+ *
36
+ * const all = linode.getFirewalls({});
37
+ * export const firewallIds = all.then(all => all.firewalls.map(__item => __item.id));
38
+ * ```
39
+ * ## Firewall Rule
40
+ *
41
+ * * `label` - The label of this rule for display purposes only.
42
+ *
43
+ * * `action` - Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
44
+ *
45
+ * * `protocol` - The network protocol this rule controls. (TCP, UDP, ICMP)
46
+ *
47
+ * * `ports` - A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
48
+ *
49
+ * * `ipv4` - A list of IPv4 addresses or networks in IP/mask format.
50
+ *
51
+ * * `ipv6` - A list of IPv6 addresses or networks in IP/mask format.
52
+ *
53
+ * ## Firewall Device
54
+ *
55
+ * * `id` - The unique ID of this Firewall Device assignment.
56
+ *
57
+ * * `entityId` - The ID of the underlying entity this device references.
58
+ *
59
+ * * `type` - The type of the assigned entity.
60
+ *
61
+ * * `label` - The label of the assigned entity.
62
+ *
63
+ * * `url` - The URL of the assigned entity.
64
+ *
65
+ * ## Filterable Fields
66
+ *
67
+ * * `id`
68
+ *
69
+ * * `label`
70
+ *
71
+ * * `status`
72
+ *
73
+ * * `tags`
74
+ */
75
+ export declare function getFirewalls(args?: GetFirewallsArgs, opts?: pulumi.InvokeOptions): Promise<GetFirewallsResult>;
76
+ /**
77
+ * A collection of arguments for invoking getFirewalls.
78
+ */
79
+ export interface GetFirewallsArgs {
80
+ filters?: inputs.GetFirewallsFilter[];
81
+ firewalls?: inputs.GetFirewallsFirewall[];
82
+ /**
83
+ * The order in which results should be returned. (`asc`, `desc`; default `asc`)
84
+ */
85
+ order?: string;
86
+ /**
87
+ * The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
88
+ */
89
+ orderBy?: string;
90
+ }
91
+ /**
92
+ * A collection of values returned by getFirewalls.
93
+ */
94
+ export interface GetFirewallsResult {
95
+ readonly filters?: outputs.GetFirewallsFilter[];
96
+ readonly firewalls?: outputs.GetFirewallsFirewall[];
97
+ /**
98
+ * The unique ID assigned to this Firewall.
99
+ */
100
+ readonly id: string;
101
+ readonly order?: string;
102
+ readonly orderBy?: string;
103
+ }
104
+ /**
105
+ * Provides information about Linode Cloud Firewalls that match a set of filters.
106
+ *
107
+ * ## Example Usage
108
+ *
109
+ * Get information about all Linode Cloud Firewalls with a certain label and visibility:
110
+ *
111
+ * ```typescript
112
+ * import * as pulumi from "@pulumi/pulumi";
113
+ * import * as linode from "@pulumi/linode";
114
+ *
115
+ * const specific = linode.getFirewalls({
116
+ * filters: [
117
+ * {
118
+ * name: "label",
119
+ * values: ["my-firewalls"],
120
+ * },
121
+ * {
122
+ * name: "tags",
123
+ * values: ["my-tag"],
124
+ * },
125
+ * ],
126
+ * });
127
+ * export const firewallId = specific.then(specific => specific.firewalls?.[0]?.id);
128
+ * ```
129
+ *
130
+ * Get information about all Linode images associated with the current token:
131
+ *
132
+ * ```typescript
133
+ * import * as pulumi from "@pulumi/pulumi";
134
+ * import * as linode from "@pulumi/linode";
135
+ *
136
+ * const all = linode.getFirewalls({});
137
+ * export const firewallIds = all.then(all => all.firewalls.map(__item => __item.id));
138
+ * ```
139
+ * ## Firewall Rule
140
+ *
141
+ * * `label` - The label of this rule for display purposes only.
142
+ *
143
+ * * `action` - Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
144
+ *
145
+ * * `protocol` - The network protocol this rule controls. (TCP, UDP, ICMP)
146
+ *
147
+ * * `ports` - A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
148
+ *
149
+ * * `ipv4` - A list of IPv4 addresses or networks in IP/mask format.
150
+ *
151
+ * * `ipv6` - A list of IPv6 addresses or networks in IP/mask format.
152
+ *
153
+ * ## Firewall Device
154
+ *
155
+ * * `id` - The unique ID of this Firewall Device assignment.
156
+ *
157
+ * * `entityId` - The ID of the underlying entity this device references.
158
+ *
159
+ * * `type` - The type of the assigned entity.
160
+ *
161
+ * * `label` - The label of the assigned entity.
162
+ *
163
+ * * `url` - The URL of the assigned entity.
164
+ *
165
+ * ## Filterable Fields
166
+ *
167
+ * * `id`
168
+ *
169
+ * * `label`
170
+ *
171
+ * * `status`
172
+ *
173
+ * * `tags`
174
+ */
175
+ export declare function getFirewallsOutput(args?: GetFirewallsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFirewallsResult>;
176
+ /**
177
+ * A collection of arguments for invoking getFirewalls.
178
+ */
179
+ export interface GetFirewallsOutputArgs {
180
+ filters?: pulumi.Input<pulumi.Input<inputs.GetFirewallsFilterArgs>[]>;
181
+ firewalls?: pulumi.Input<pulumi.Input<inputs.GetFirewallsFirewallArgs>[]>;
182
+ /**
183
+ * The order in which results should be returned. (`asc`, `desc`; default `asc`)
184
+ */
185
+ order?: pulumi.Input<string>;
186
+ /**
187
+ * The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
188
+ */
189
+ orderBy?: pulumi.Input<string>;
190
+ }
@@ -0,0 +1,165 @@
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.getFirewallsOutput = exports.getFirewalls = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides information about Linode Cloud Firewalls that match a set of filters.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Get information about all Linode Cloud Firewalls with a certain label and visibility:
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as linode from "@pulumi/linode";
18
+ *
19
+ * const specific = linode.getFirewalls({
20
+ * filters: [
21
+ * {
22
+ * name: "label",
23
+ * values: ["my-firewalls"],
24
+ * },
25
+ * {
26
+ * name: "tags",
27
+ * values: ["my-tag"],
28
+ * },
29
+ * ],
30
+ * });
31
+ * export const firewallId = specific.then(specific => specific.firewalls?.[0]?.id);
32
+ * ```
33
+ *
34
+ * Get information about all Linode images associated with the current token:
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as linode from "@pulumi/linode";
39
+ *
40
+ * const all = linode.getFirewalls({});
41
+ * export const firewallIds = all.then(all => all.firewalls.map(__item => __item.id));
42
+ * ```
43
+ * ## Firewall Rule
44
+ *
45
+ * * `label` - The label of this rule for display purposes only.
46
+ *
47
+ * * `action` - Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
48
+ *
49
+ * * `protocol` - The network protocol this rule controls. (TCP, UDP, ICMP)
50
+ *
51
+ * * `ports` - A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
52
+ *
53
+ * * `ipv4` - A list of IPv4 addresses or networks in IP/mask format.
54
+ *
55
+ * * `ipv6` - A list of IPv6 addresses or networks in IP/mask format.
56
+ *
57
+ * ## Firewall Device
58
+ *
59
+ * * `id` - The unique ID of this Firewall Device assignment.
60
+ *
61
+ * * `entityId` - The ID of the underlying entity this device references.
62
+ *
63
+ * * `type` - The type of the assigned entity.
64
+ *
65
+ * * `label` - The label of the assigned entity.
66
+ *
67
+ * * `url` - The URL of the assigned entity.
68
+ *
69
+ * ## Filterable Fields
70
+ *
71
+ * * `id`
72
+ *
73
+ * * `label`
74
+ *
75
+ * * `status`
76
+ *
77
+ * * `tags`
78
+ */
79
+ function getFirewalls(args, opts) {
80
+ args = args || {};
81
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
82
+ return pulumi.runtime.invoke("linode:index/getFirewalls:getFirewalls", {
83
+ "filters": args.filters,
84
+ "firewalls": args.firewalls,
85
+ "order": args.order,
86
+ "orderBy": args.orderBy,
87
+ }, opts);
88
+ }
89
+ exports.getFirewalls = getFirewalls;
90
+ /**
91
+ * Provides information about Linode Cloud Firewalls that match a set of filters.
92
+ *
93
+ * ## Example Usage
94
+ *
95
+ * Get information about all Linode Cloud Firewalls with a certain label and visibility:
96
+ *
97
+ * ```typescript
98
+ * import * as pulumi from "@pulumi/pulumi";
99
+ * import * as linode from "@pulumi/linode";
100
+ *
101
+ * const specific = linode.getFirewalls({
102
+ * filters: [
103
+ * {
104
+ * name: "label",
105
+ * values: ["my-firewalls"],
106
+ * },
107
+ * {
108
+ * name: "tags",
109
+ * values: ["my-tag"],
110
+ * },
111
+ * ],
112
+ * });
113
+ * export const firewallId = specific.then(specific => specific.firewalls?.[0]?.id);
114
+ * ```
115
+ *
116
+ * Get information about all Linode images associated with the current token:
117
+ *
118
+ * ```typescript
119
+ * import * as pulumi from "@pulumi/pulumi";
120
+ * import * as linode from "@pulumi/linode";
121
+ *
122
+ * const all = linode.getFirewalls({});
123
+ * export const firewallIds = all.then(all => all.firewalls.map(__item => __item.id));
124
+ * ```
125
+ * ## Firewall Rule
126
+ *
127
+ * * `label` - The label of this rule for display purposes only.
128
+ *
129
+ * * `action` - Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
130
+ *
131
+ * * `protocol` - The network protocol this rule controls. (TCP, UDP, ICMP)
132
+ *
133
+ * * `ports` - A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
134
+ *
135
+ * * `ipv4` - A list of IPv4 addresses or networks in IP/mask format.
136
+ *
137
+ * * `ipv6` - A list of IPv6 addresses or networks in IP/mask format.
138
+ *
139
+ * ## Firewall Device
140
+ *
141
+ * * `id` - The unique ID of this Firewall Device assignment.
142
+ *
143
+ * * `entityId` - The ID of the underlying entity this device references.
144
+ *
145
+ * * `type` - The type of the assigned entity.
146
+ *
147
+ * * `label` - The label of the assigned entity.
148
+ *
149
+ * * `url` - The URL of the assigned entity.
150
+ *
151
+ * ## Filterable Fields
152
+ *
153
+ * * `id`
154
+ *
155
+ * * `label`
156
+ *
157
+ * * `status`
158
+ *
159
+ * * `tags`
160
+ */
161
+ function getFirewallsOutput(args, opts) {
162
+ return pulumi.output(args).apply((a) => getFirewalls(a, opts));
163
+ }
164
+ exports.getFirewallsOutput = getFirewallsOutput;
165
+ //# sourceMappingURL=getFirewalls.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFirewalls.js","sourceRoot":"","sources":["../getFirewalls.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,wCAAwC,EAAE;QACnE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oCAUC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,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
@@ -33,6 +33,7 @@ export interface GetKernelResult {
33
33
  * The architecture of this Kernel.
34
34
  */
35
35
  readonly architecture: string;
36
+ readonly built: string;
36
37
  /**
37
38
  * Whether or not this Kernel is deprecated.
38
39
  */
package/getKernel.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getKernel.js","sourceRoot":"","sources":["../getKernel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IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
@@ -0,0 +1,132 @@
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 Kernels that match a set of filters.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * The following example shows how one might use this data source to access information about a Linode Kernel.
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as linode from "@pulumi/linode";
14
+ *
15
+ * const filteredKernels = linode.getKernels({
16
+ * filters: [
17
+ * {
18
+ * name: "label",
19
+ * values: ["my-kernel"],
20
+ * },
21
+ * {
22
+ * name: "architecture",
23
+ * values: ["x86_64"],
24
+ * },
25
+ * ],
26
+ * });
27
+ * ```
28
+ * ## Filterable Fields
29
+ *
30
+ * * `id`
31
+ *
32
+ * * `architecture`
33
+ *
34
+ * * `deprecated`
35
+ *
36
+ * * `kvm`
37
+ *
38
+ * * `label`
39
+ *
40
+ * * `pvops`
41
+ *
42
+ * * `version`
43
+ *
44
+ * * `xen`
45
+ */
46
+ export declare function getKernels(args?: GetKernelsArgs, opts?: pulumi.InvokeOptions): Promise<GetKernelsResult>;
47
+ /**
48
+ * A collection of arguments for invoking getKernels.
49
+ */
50
+ export interface GetKernelsArgs {
51
+ filters?: inputs.GetKernelsFilter[];
52
+ kernels?: inputs.GetKernelsKernel[];
53
+ /**
54
+ * The order in which results should be returned. (`asc`, `desc`; default `asc`)
55
+ */
56
+ order?: string;
57
+ /**
58
+ * The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
59
+ */
60
+ orderBy?: string;
61
+ }
62
+ /**
63
+ * A collection of values returned by getKernels.
64
+ */
65
+ export interface GetKernelsResult {
66
+ readonly filters?: outputs.GetKernelsFilter[];
67
+ /**
68
+ * The unique ID of this Kernel.
69
+ */
70
+ readonly id: string;
71
+ readonly kernels?: outputs.GetKernelsKernel[];
72
+ readonly order?: string;
73
+ readonly orderBy?: string;
74
+ }
75
+ /**
76
+ * Provides information about Linode Kernels that match a set of filters.
77
+ *
78
+ * ## Example Usage
79
+ *
80
+ * The following example shows how one might use this data source to access information about a Linode Kernel.
81
+ *
82
+ * ```typescript
83
+ * import * as pulumi from "@pulumi/pulumi";
84
+ * import * as linode from "@pulumi/linode";
85
+ *
86
+ * const filteredKernels = linode.getKernels({
87
+ * filters: [
88
+ * {
89
+ * name: "label",
90
+ * values: ["my-kernel"],
91
+ * },
92
+ * {
93
+ * name: "architecture",
94
+ * values: ["x86_64"],
95
+ * },
96
+ * ],
97
+ * });
98
+ * ```
99
+ * ## Filterable Fields
100
+ *
101
+ * * `id`
102
+ *
103
+ * * `architecture`
104
+ *
105
+ * * `deprecated`
106
+ *
107
+ * * `kvm`
108
+ *
109
+ * * `label`
110
+ *
111
+ * * `pvops`
112
+ *
113
+ * * `version`
114
+ *
115
+ * * `xen`
116
+ */
117
+ export declare function getKernelsOutput(args?: GetKernelsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKernelsResult>;
118
+ /**
119
+ * A collection of arguments for invoking getKernels.
120
+ */
121
+ export interface GetKernelsOutputArgs {
122
+ filters?: pulumi.Input<pulumi.Input<inputs.GetKernelsFilterArgs>[]>;
123
+ kernels?: pulumi.Input<pulumi.Input<inputs.GetKernelsKernelArgs>[]>;
124
+ /**
125
+ * The order in which results should be returned. (`asc`, `desc`; default `asc`)
126
+ */
127
+ order?: pulumi.Input<string>;
128
+ /**
129
+ * The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
130
+ */
131
+ orderBy?: pulumi.Input<string>;
132
+ }