Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi
Provides information about Linode LKE types that match a set of filters. For more information, see the Linode APIv4 docs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const specific_label = linode.getLkeTypes({
filters: [{
name: "label",
values: ["LKE Standard Availability"],
}],
});
export const typeId = specific_label.then(specific_label => specific_label.types.map(__item => __item.id));
import pulumi
import pulumi_linode as linode
specific_label = linode.get_lke_types(filters=[{
"name": "label",
"values": ["LKE Standard Availability"],
}])
pulumi.export("typeId", [__item.id for __item in specific_label.types])
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v6/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
specific_label, err := linode.GetLkeTypes(ctx, &linode.GetLkeTypesArgs{
Filters: []linode.GetLkeTypesFilter{
{
Name: "label",
Values: []string{
"LKE Standard Availability",
},
},
},
}, nil);
if err != nil {
return err
}
ctx.Export("typeId", pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:8,11-37)))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var specific_label = Linode.GetLkeTypes.Invoke(new()
{
Filters = new[]
{
new Linode.Inputs.GetLkeTypesFilterInputArgs
{
Name = "label",
Values = new[]
{
"LKE Standard Availability",
},
},
},
});
return new Dictionary<string, object?>
{
["typeId"] = specific_label.Apply(specific_label => specific_label.Apply(getLkeTypesResult => getLkeTypesResult.Types).Select(__item => __item.Id).ToList()),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import com.pulumi.linode.inputs.GetLkeTypesArgs;
import com.pulumi.linode.inputs.GetLkeTypesFilterArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var specific-label = LinodeFunctions.getLkeTypes(GetLkeTypesArgs.builder()
.filters(GetLkeTypesFilterArgs.builder()
.name("label")
.values("LKE Standard Availability")
.build())
.build());
ctx.export("typeId", specific_label.types().stream().map(element -> element.id()).collect(toList()));
}
}
Example coming soon!
pulumi {
required_providers {
linode = {
source = "pulumi/linode"
}
}
}
data "linode_getlketypes" "specific-label" {
filters {
name = "label"
values = ["LKE Standard Availability"]
}
}
output "typeId" {
value = data.linode_getlketypes.specific-label.types[*].id
}
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const all_types = linode.getLkeTypes({});
export const typeId = all_types.then(all_types => all_types.types.map(__item => __item.id));
import pulumi
import pulumi_linode as linode
all_types = linode.get_lke_types()
pulumi.export("typeId", [__item.id for __item in all_types.types])
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v6/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
all_types, err := linode.GetLkeTypes(ctx, &linode.GetLkeTypesArgs{
}, nil);
if err != nil {
return err
}
ctx.Export("typeId", pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:3,11-32)))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var all_types = Linode.GetLkeTypes.Invoke();
return new Dictionary<string, object?>
{
["typeId"] = all_types.Apply(all_types => all_types.Apply(getLkeTypesResult => getLkeTypesResult.Types).Select(__item => __item.Id).ToList()),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import com.pulumi.linode.inputs.GetLkeTypesArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var all-types = LinodeFunctions.getLkeTypes(GetLkeTypesArgs.builder()
.build());
ctx.export("typeId", all_types.types().stream().map(element -> element.id()).collect(toList()));
}
}
Example coming soon!
pulumi {
required_providers {
linode = {
source = "pulumi/linode"
}
}
}
data "linode_getlketypes" "all-types" {
}
output "typeId" {
value = data.linode_getlketypes.all-types.types[*].id
}
Filterable Fields
labeltransfer
Using getLkeTypes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLkeTypes(args: GetLkeTypesArgs, opts?: InvokeOptions): Promise<GetLkeTypesResult>
function getLkeTypesOutput(args: GetLkeTypesOutputArgs, opts?: InvokeOutputOptions): Output<GetLkeTypesResult>def get_lke_types(filters: Optional[Sequence[GetLkeTypesFilter]] = None,
order: Optional[str] = None,
order_by: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLkeTypesResult
def get_lke_types_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetLkeTypesFilterArgs]]]] = None,
order: pulumi.Input[Optional[str]] = None,
order_by: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetLkeTypesResult]func GetLkeTypes(ctx *Context, args *GetLkeTypesArgs, opts ...InvokeOption) (*GetLkeTypesResult, error)
func GetLkeTypesOutput(ctx *Context, args *GetLkeTypesOutputArgs, opts ...InvokeOption) GetLkeTypesResultOutput> Note: This function is named GetLkeTypes in the Go SDK.
public static class GetLkeTypes
{
public static Task<GetLkeTypesResult> InvokeAsync(GetLkeTypesArgs args, InvokeOptions? opts = null)
public static Output<GetLkeTypesResult> Invoke(GetLkeTypesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetLkeTypesResult> Invoke(GetLkeTypesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetLkeTypesResult> getLkeTypes(GetLkeTypesArgs args, InvokeOptions options)
public static Output<GetLkeTypesResult> getLkeTypes(GetLkeTypesArgs args, InvokeOptions options)
public static Output<GetLkeTypesResult> getLkeTypes(GetLkeTypesArgs args, InvokeOutputOptions options)
fn::invoke:
function: linode:index/getLkeTypes:getLkeTypes
arguments:
# arguments dictionarydata "linode_get_lke_types" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Lke Types Filter> - Order string
- The order in which results should be returned. (
asc,desc; defaultasc) - Order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- Filters
[]Get
Lke Types Filter - Order string
- The order in which results should be returned. (
asc,desc; defaultasc) - Order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters list(object)
- order string
- The order in which results should be returned. (
asc,desc; defaultasc) - order_
by string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
List<Get
Lke Types Filter> - order String
- The order in which results should be returned. (
asc,desc; defaultasc) - order
By String - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
Get
Lke Types Filter[] - order string
- The order in which results should be returned. (
asc,desc; defaultasc) - order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
Sequence[Get
Lke Types Filter] - order str
- The order in which results should be returned. (
asc,desc; defaultasc) - order_
by str - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters List<Property Map>
- order String
- The order in which results should be returned. (
asc,desc; defaultasc) - order
By String - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
getLkeTypes Result
The following output properties are available:
- Id string
- The ID representing the Kubernetes type.
- Types
List<Get
Lke Types Type> - (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g.
types[0].id). - Filters
List<Get
Lke Types Filter> - Order string
- Order
By string
- Id string
- The ID representing the Kubernetes type.
- Types
[]Get
Lke Types Type - (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g.
types[0].id). - Filters
[]Get
Lke Types Filter - Order string
- Order
By string
- id string
- The ID representing the Kubernetes type.
- types list(object)
- (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g.
types[0].id). - filters list(object)
- order string
- order_
by string
- id String
- The ID representing the Kubernetes type.
- types
List<Get
Lke Types Type> - (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g.
types[0].id). - filters
List<Get
Lke Types Filter> - order String
- order
By String
- id string
- The ID representing the Kubernetes type.
- types
Get
Lke Types Type[] - (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g.
types[0].id). - filters
Get
Lke Types Filter[] - order string
- order
By string
- id str
- The ID representing the Kubernetes type.
- types
Sequence[Get
Lke Types Type] - (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g.
types[0].id). - filters
Sequence[Get
Lke Types Filter] - order str
- order_
by str
- id String
- The ID representing the Kubernetes type.
- types List<Property Map>
- (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g.
types[0].id). - filters List<Property Map>
- order String
- order
By String
Supporting Types
GetLkeTypesFilter
- Name string
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- Values List<string>
- A list of values for the filter to allow. These values should all be in string form.
- Match
By string - The method to match the field by. (
exact,regex,substring; defaultexact)
- Name string
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- Values []string
- A list of values for the filter to allow. These values should all be in string form.
- Match
By string - The method to match the field by. (
exact,regex,substring; defaultexact)
- name string
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- values list(string)
- A list of values for the filter to allow. These values should all be in string form.
- match_
by string - The method to match the field by. (
exact,regex,substring; defaultexact)
- name String
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- values List<String>
- A list of values for the filter to allow. These values should all be in string form.
- match
By String - The method to match the field by. (
exact,regex,substring; defaultexact)
- name string
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- values string[]
- A list of values for the filter to allow. These values should all be in string form.
- match
By string - The method to match the field by. (
exact,regex,substring; defaultexact)
- name str
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- values Sequence[str]
- A list of values for the filter to allow. These values should all be in string form.
- match_
by str - The method to match the field by. (
exact,regex,substring; defaultexact)
- name String
- The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
- values List<String>
- A list of values for the filter to allow. These values should all be in string form.
- match
By String - The method to match the field by. (
exact,regex,substring; defaultexact)
GetLkeTypesType
- Id string
- The ID representing the Kubernetes type.
- Label string
- The Kubernetes type label is for display purposes only.
- Prices
List<Get
Lke Types Type Price> - (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g.
price.0.hourly). - Region
Prices List<GetLke Types Type Region Price> - (Read-Only Object List) Region-specific pricing information for this LKE type. Referenced with an index (e.g.
region_prices.0.id). - Transfer int
- The monthly outbound transfer amount, in MB.
- Id string
- The ID representing the Kubernetes type.
- Label string
- The Kubernetes type label is for display purposes only.
- Prices
[]Get
Lke Types Type Price - (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g.
price.0.hourly). - Region
Prices []GetLke Types Type Region Price - (Read-Only Object List) Region-specific pricing information for this LKE type. Referenced with an index (e.g.
region_prices.0.id). - Transfer int
- The monthly outbound transfer amount, in MB.
- id string
- The ID representing the Kubernetes type.
- label string
- The Kubernetes type label is for display purposes only.
- prices list(object)
- (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g.
price.0.hourly). - region_
prices list(object) - (Read-Only Object List) Region-specific pricing information for this LKE type. Referenced with an index (e.g.
region_prices.0.id). - transfer number
- The monthly outbound transfer amount, in MB.
- id String
- The ID representing the Kubernetes type.
- label String
- The Kubernetes type label is for display purposes only.
- prices
List<Get
Lke Types Type Price> - (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g.
price.0.hourly). - region
Prices List<GetLke Types Type Region Price> - (Read-Only Object List) Region-specific pricing information for this LKE type. Referenced with an index (e.g.
region_prices.0.id). - transfer Integer
- The monthly outbound transfer amount, in MB.
- id string
- The ID representing the Kubernetes type.
- label string
- The Kubernetes type label is for display purposes only.
- prices
Get
Lke Types Type Price[] - (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g.
price.0.hourly). - region
Prices GetLke Types Type Region Price[] - (Read-Only Object List) Region-specific pricing information for this LKE type. Referenced with an index (e.g.
region_prices.0.id). - transfer number
- The monthly outbound transfer amount, in MB.
- id str
- The ID representing the Kubernetes type.
- label str
- The Kubernetes type label is for display purposes only.
- prices
Sequence[Get
Lke Types Type Price] - (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g.
price.0.hourly). - region_
prices Sequence[GetLke Types Type Region Price] - (Read-Only Object List) Region-specific pricing information for this LKE type. Referenced with an index (e.g.
region_prices.0.id). - transfer int
- The monthly outbound transfer amount, in MB.
- id String
- The ID representing the Kubernetes type.
- label String
- The Kubernetes type label is for display purposes only.
- prices List<Property Map>
- (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g.
price.0.hourly). - region
Prices List<Property Map> - (Read-Only Object List) Region-specific pricing information for this LKE type. Referenced with an index (e.g.
region_prices.0.id). - transfer Number
- The monthly outbound transfer amount, in MB.
GetLkeTypesTypePrice
GetLkeTypesTypeRegionPrice
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linodeTerraform Provider.
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi