UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

107 lines (106 loc) 3.61 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides details about a specific Kubernetes versions available for deployment to a Kubernetes cluster. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-lke-version). * * ## Example Usage * * The following example shows how one might use this data source to access information about a Linode LKE Version. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const example = linode.getLkeVersion({ * id: "1.31", * }); * ``` * * The following example shows how one might use this data source to access information about a Linode LKE Version * with additional information about the Linode LKE Version's tier (`enterprise` or `standard`). * * > **_NOTE:_** This functionality may not be currently available to all users and can only be used with v4beta. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const example = linode.getLkeVersion({ * id: "1.31", * tier: "standard", * }); * ``` */ export declare function getLkeVersion(args: GetLkeVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetLkeVersionResult>; /** * A collection of arguments for invoking getLkeVersion. */ export interface GetLkeVersionArgs { /** * The unique ID of this Linode LKE Version. */ id: string; /** * The tier (`standard` or `enterprise`) of Linode LKE Version to fetch. */ tier?: string; } /** * A collection of values returned by getLkeVersion. */ export interface GetLkeVersionResult { /** * The Kubernetes version numbers available for deployment to a Kubernetes cluster in the format of [major].[minor], and the latest supported patch version. */ readonly id: string; /** * The Kubernetes version tier. Only exported if `tier` was provided when using the datasource. */ readonly tier: string; } /** * Provides details about a specific Kubernetes versions available for deployment to a Kubernetes cluster. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-lke-version). * * ## Example Usage * * The following example shows how one might use this data source to access information about a Linode LKE Version. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const example = linode.getLkeVersion({ * id: "1.31", * }); * ``` * * The following example shows how one might use this data source to access information about a Linode LKE Version * with additional information about the Linode LKE Version's tier (`enterprise` or `standard`). * * > **_NOTE:_** This functionality may not be currently available to all users and can only be used with v4beta. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const example = linode.getLkeVersion({ * id: "1.31", * tier: "standard", * }); * ``` */ export declare function getLkeVersionOutput(args: GetLkeVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLkeVersionResult>; /** * A collection of arguments for invoking getLkeVersion. */ export interface GetLkeVersionOutputArgs { /** * The unique ID of this Linode LKE Version. */ id: pulumi.Input<string>; /** * The tier (`standard` or `enterprise`) of Linode LKE Version to fetch. */ tier?: pulumi.Input<string>; }