Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Provides details about the Kubernetes versions available for deployment to a Kubernetes cluster.
Example Usage
The following example shows how one might use this data source to access information about a Linode LKE Version.
using System.Collections.Generic;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var example = Linode.GetLkeVersions.Invoke();
});
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v3/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.GetLkeVersions(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import java.util.List;
import java.util.ArrayList;
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 example = LinodeFunctions.getLkeVersions();
}
}
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const example = linode.getLkeVersions({});
import pulumi
import pulumi_linode as linode
example = linode.get_lke_versions()
variables:
example:
fn::invoke:
Function: linode:getLkeVersions
Arguments: {}
Using getLkeVersions
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 getLkeVersions(opts?: InvokeOptions): Promise<GetLkeVersionsResult>
function getLkeVersionsOutput(opts?: InvokeOptions): Output<GetLkeVersionsResult>def get_lke_versions(opts: Optional[InvokeOptions] = None) -> GetLkeVersionsResult
def get_lke_versions_output(opts: Optional[InvokeOptions] = None) -> Output[GetLkeVersionsResult]func GetLkeVersions(ctx *Context, opts ...InvokeOption) (*GetLkeVersionsResult, error)
func GetLkeVersionsOutput(ctx *Context, opts ...InvokeOption) GetLkeVersionsResultOutput> Note: This function is named GetLkeVersions in the Go SDK.
public static class GetLkeVersions
{
public static Task<GetLkeVersionsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetLkeVersionsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetLkeVersionsResult> getLkeVersions(InvokeOptions options)
public static Output<GetLkeVersionsResult> getLkeVersions(InvokeOptions options)
fn::invoke:
function: linode:index/getLkeVersions:getLkeVersions
arguments:
# arguments dictionarygetLkeVersions Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Versions
List<Get
Lke Versions Version>
- Id string
- The provider-assigned unique ID for this managed resource.
- Versions
[]Get
Lke Versions Version
- id String
- The provider-assigned unique ID for this managed resource.
- versions
List<Get
Lke Versions Version>
- id string
- The provider-assigned unique ID for this managed resource.
- versions
Get
Lke Versions Version[]
- id str
- The provider-assigned unique ID for this managed resource.
- versions
Sequence[Get
Lke Versions Version]
- id String
- The provider-assigned unique ID for this managed resource.
- versions List<Property Map>
Supporting Types
GetLkeVersionsVersion
- Id string
- The Kubernetes version numbers available for deployment to a Kubernetes cluster in the format of [major].[minor], and the latest supported patch version.
- Id string
- The Kubernetes version numbers available for deployment to a Kubernetes cluster in the format of [major].[minor], and the latest supported patch version.
- id String
- The Kubernetes version numbers available for deployment to a Kubernetes cluster in the format of [major].[minor], and the latest supported patch version.
- id string
- The Kubernetes version numbers available for deployment to a Kubernetes cluster in the format of [major].[minor], and the latest supported patch version.
- id str
- The Kubernetes version numbers available for deployment to a Kubernetes cluster in the format of [major].[minor], and the latest supported patch version.
- id String
- The Kubernetes version numbers available for deployment to a Kubernetes cluster in the format of [major].[minor], and the latest supported patch version.
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 v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
