1. Registry
  2. Packages
  3. Linode Provider
  4. API Docs
  5. getLkeTypes
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
linode logo linode logo
Viewing docs for Linode v6.6.0
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

    • label

    • transfer

    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 dictionary
    data "linode_get_lke_types" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetLkeTypesFilter>
    Order string
    The order in which results should be returned. (asc, desc; default asc)
    OrderBy string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    Filters []GetLkeTypesFilter
    Order string
    The order in which results should be returned. (asc, desc; default asc)
    OrderBy 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; default asc)
    order_by string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters List<GetLkeTypesFilter>
    order String
    The order in which results should be returned. (asc, desc; default asc)
    orderBy String
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters GetLkeTypesFilter[]
    order string
    The order in which results should be returned. (asc, desc; default asc)
    orderBy string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters Sequence[GetLkeTypesFilter]
    order str
    The order in which results should be returned. (asc, desc; default asc)
    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; default asc)
    orderBy 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<GetLkeTypesType>
    (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g. types[0].id).
    Filters List<GetLkeTypesFilter>
    Order string
    OrderBy string
    Id string
    The ID representing the Kubernetes type.
    Types []GetLkeTypesType
    (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g. types[0].id).
    Filters []GetLkeTypesFilter
    Order string
    OrderBy 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<GetLkeTypesType>
    (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g. types[0].id).
    filters List<GetLkeTypesFilter>
    order String
    orderBy String
    id string
    The ID representing the Kubernetes type.
    types GetLkeTypesType[]
    (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g. types[0].id).
    filters GetLkeTypesFilter[]
    order string
    orderBy string
    id str
    The ID representing the Kubernetes type.
    types Sequence[GetLkeTypesType]
    (Nested Attribute List) The returned list of LKE types. Referenced by index (e.g. types[0].id).
    filters Sequence[GetLkeTypesFilter]
    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
    orderBy 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.
    MatchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    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.
    MatchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    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; default exact)
    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.
    matchBy String
    The method to match the field by. (exact, regex, substring; default exact)
    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.
    matchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    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; default exact)
    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.
    matchBy String
    The method to match the field by. (exact, regex, substring; default exact)

    GetLkeTypesType

    Id string
    The ID representing the Kubernetes type.
    Label string
    The Kubernetes type label is for display purposes only.
    Prices List<GetLkeTypesTypePrice>
    (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g. price.0.hourly).
    RegionPrices List<GetLkeTypesTypeRegionPrice>
    (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 []GetLkeTypesTypePrice
    (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g. price.0.hourly).
    RegionPrices []GetLkeTypesTypeRegionPrice
    (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<GetLkeTypesTypePrice>
    (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g. price.0.hourly).
    regionPrices List<GetLkeTypesTypeRegionPrice>
    (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 GetLkeTypesTypePrice[]
    (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g. price.0.hourly).
    regionPrices GetLkeTypesTypeRegionPrice[]
    (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[GetLkeTypesTypePrice]
    (Read-Only Object List) Pricing information for this LKE type. Referenced with an index (e.g. price.0.hourly).
    region_prices Sequence[GetLkeTypesTypeRegionPrice]
    (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).
    regionPrices 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

    Hourly double
    Cost (in US dollars) per hour.
    Monthly double
    Cost (in US dollars) per month.
    Hourly float64
    Cost (in US dollars) per hour.
    Monthly float64
    Cost (in US dollars) per month.
    hourly number
    Cost (in US dollars) per hour.
    monthly number
    Cost (in US dollars) per month.
    hourly Double
    Cost (in US dollars) per hour.
    monthly Double
    Cost (in US dollars) per month.
    hourly number
    Cost (in US dollars) per hour.
    monthly number
    Cost (in US dollars) per month.
    hourly float
    Cost (in US dollars) per hour.
    monthly float
    Cost (in US dollars) per month.
    hourly Number
    Cost (in US dollars) per hour.
    monthly Number
    Cost (in US dollars) per month.

    GetLkeTypesTypeRegionPrice

    Hourly double
    Id string
    The ID representing the Kubernetes type.
    Monthly double
    Hourly float64
    Id string
    The ID representing the Kubernetes type.
    Monthly float64
    hourly number
    id string
    The ID representing the Kubernetes type.
    monthly number
    hourly Double
    id String
    The ID representing the Kubernetes type.
    monthly Double
    hourly number
    id string
    The ID representing the Kubernetes type.
    monthly number
    hourly float
    id str
    The ID representing the Kubernetes type.
    monthly float
    hourly Number
    id String
    The ID representing the Kubernetes type.
    monthly Number

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo linode logo
    Viewing docs for Linode v6.6.0
    published on Tuesday, Sep 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial