import * as pulumi from "@pulumi/pulumi"; /** * Gets information about a Kubernetes version. * For more information, see [the documentation](https://developers.scaleway.com/en/products/k8s/api). * * You can also use the [scaleway-cli](https://github.com/scaleway/scaleway-cli) with `scw k8s version list` to list all available versions. * * ## Example Usage * * ### Use the latest version * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const latest = scaleway.getK8sVersion({ * name: "latest", * }); * ``` * * ### Use a specific version * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getK8sVersion({ * name: "1.26.0", * }); * ``` */ export declare function getK8sVersion(args: GetK8sVersionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getK8sVersion. */ export interface GetK8sVersionArgs { /** * The name of the Kubernetes version. */ name: string; /** * `region`) The region in which the version exists. */ region?: string; } /** * A collection of values returned by getK8sVersion. */ export interface GetK8sVersionResult { /** * The list of supported Container Network Interface (CNI) plugins for this version. */ readonly availableCnis: string[]; /** * The list of supported container runtimes for this version. */ readonly availableContainerRuntimes: string[]; /** * The list of supported feature gates for this version. */ readonly availableFeatureGates: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly region: string; } /** * Gets information about a Kubernetes version. * For more information, see [the documentation](https://developers.scaleway.com/en/products/k8s/api). * * You can also use the [scaleway-cli](https://github.com/scaleway/scaleway-cli) with `scw k8s version list` to list all available versions. * * ## Example Usage * * ### Use the latest version * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const latest = scaleway.getK8sVersion({ * name: "latest", * }); * ``` * * ### Use a specific version * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getK8sVersion({ * name: "1.26.0", * }); * ``` */ export declare function getK8sVersionOutput(args: GetK8sVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getK8sVersion. */ export interface GetK8sVersionOutputArgs { /** * The name of the Kubernetes version. */ name: pulumi.Input; /** * `region`) The region in which the version exists. */ region?: pulumi.Input; }