import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get a list of OVHcloud Managed Kubernetes nodes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * export = async () => { * const nodes = await ovh.CloudProject.getKubeNodes({ * serviceName: "XXXXXX", * kubeId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx", * }); * return { * nodes: nodes, * }; * } * ``` */ export declare function getKubeNodes(args: GetKubeNodesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKubeNodes. */ export interface GetKubeNodesArgs { /** * The ID of the managed kubernetes cluster. */ kubeId: string; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: string; } /** * A collection of values returned by getKubeNodes. */ export interface GetKubeNodesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * See Argument Reference above. */ readonly kubeId: string; /** * List of all nodes composing the kubernetes cluster */ readonly nodes: outputs.CloudProject.GetKubeNodesNode[]; /** * See Argument Reference above. */ readonly serviceName: string; } /** * Use this data source to get a list of OVHcloud Managed Kubernetes nodes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * export = async () => { * const nodes = await ovh.CloudProject.getKubeNodes({ * serviceName: "XXXXXX", * kubeId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx", * }); * return { * nodes: nodes, * }; * } * ``` */ export declare function getKubeNodesOutput(args: GetKubeNodesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKubeNodes. */ export interface GetKubeNodesOutputArgs { /** * The ID of the managed kubernetes cluster. */ kubeId: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }