import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Deploy additional node pools to an existing Vultr Kubernetes Engine (VKE) cluster. * * ## Import * * Node pool resources are able to be imported into terraform state like other * * resources, however, since they rely on a kubernetes cluster, the import state * * requires the UUID of the cluster as well. With that in mind, format the second * * argument to the `pulumi import` command as a space delimited string of * * UUIDs, the first is the cluster ID, the second is the node pool ID. It will * * look like this: * * "clusterID nodePoolID" * * ```sh * $ pulumi import vultr:index/kubernetesNodePools:KubernetesNodePools my-k8s-np "7365a98b-5a43-450f-bd27-d768827100e5 ec330340-4f50-4526-858f-a39199f568ac" * ``` */ export declare class KubernetesNodePools extends pulumi.CustomResource { /** * Get an existing KubernetesNodePools resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: KubernetesNodePoolsState, opts?: pulumi.CustomResourceOptions): KubernetesNodePools; /** * Returns true if the given object is an instance of KubernetesNodePools. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is KubernetesNodePools; /** * Enable the auto scaler for the default node pool. */ readonly autoScaler: pulumi.Output; /** * The VKE cluster ID you want to attach this nodepool to. */ readonly clusterId: pulumi.Output; /** * Date node was created. */ readonly dateCreated: pulumi.Output; /** * Date of node pool updates. */ readonly dateUpdated: pulumi.Output; /** * The label to be used as a prefix for nodes in this node pool. */ readonly label: pulumi.Output; /** * A map of key/value pairs for Kubernetes node labels. */ readonly labels: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The maximum number of nodes to use with the auto scaler. */ readonly maxNodes: pulumi.Output; /** * The minimum number of nodes to use with the auto scaler. */ readonly minNodes: pulumi.Output; /** * The number of nodes in this node pool. */ readonly nodeQuantity: pulumi.Output; /** * Array that contains information about nodes within this node pool. */ readonly nodes: pulumi.Output; /** * The plan to be used in this node pool. [See Plans List](https://www.vultr.com/api/#operation/list-plans) Note the minimum plan requirements must have at least 1 core and 2 gbs of memory. */ readonly plan: pulumi.Output; /** * Status of node. */ readonly status: pulumi.Output; /** * A tag that is assigned to this node pool. */ readonly tag: pulumi.Output; /** * Taints to apply to the nodes in the node pool. Should contain `key`, `value` and `effect`. The `effect` should be one of `NoSchedule`, `PreferNoSchedule` or `NoExecute`. */ readonly taints: pulumi.Output; /** * A base64 encoded string containing the user data to apply to nodes in the node pool. */ readonly userData: pulumi.Output; /** * Create a KubernetesNodePools resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: KubernetesNodePoolsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering KubernetesNodePools resources. */ export interface KubernetesNodePoolsState { /** * Enable the auto scaler for the default node pool. */ autoScaler?: pulumi.Input; /** * The VKE cluster ID you want to attach this nodepool to. */ clusterId?: pulumi.Input; /** * Date node was created. */ dateCreated?: pulumi.Input; /** * Date of node pool updates. */ dateUpdated?: pulumi.Input; /** * The label to be used as a prefix for nodes in this node pool. */ label?: pulumi.Input; /** * A map of key/value pairs for Kubernetes node labels. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The maximum number of nodes to use with the auto scaler. */ maxNodes?: pulumi.Input; /** * The minimum number of nodes to use with the auto scaler. */ minNodes?: pulumi.Input; /** * The number of nodes in this node pool. */ nodeQuantity?: pulumi.Input; /** * Array that contains information about nodes within this node pool. */ nodes?: pulumi.Input[]>; /** * The plan to be used in this node pool. [See Plans List](https://www.vultr.com/api/#operation/list-plans) Note the minimum plan requirements must have at least 1 core and 2 gbs of memory. */ plan?: pulumi.Input; /** * Status of node. */ status?: pulumi.Input; /** * A tag that is assigned to this node pool. */ tag?: pulumi.Input; /** * Taints to apply to the nodes in the node pool. Should contain `key`, `value` and `effect`. The `effect` should be one of `NoSchedule`, `PreferNoSchedule` or `NoExecute`. */ taints?: pulumi.Input[]>; /** * A base64 encoded string containing the user data to apply to nodes in the node pool. */ userData?: pulumi.Input; } /** * The set of arguments for constructing a KubernetesNodePools resource. */ export interface KubernetesNodePoolsArgs { /** * Enable the auto scaler for the default node pool. */ autoScaler?: pulumi.Input; /** * The VKE cluster ID you want to attach this nodepool to. */ clusterId: pulumi.Input; /** * The label to be used as a prefix for nodes in this node pool. */ label: pulumi.Input; /** * A map of key/value pairs for Kubernetes node labels. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The maximum number of nodes to use with the auto scaler. */ maxNodes?: pulumi.Input; /** * The minimum number of nodes to use with the auto scaler. */ minNodes?: pulumi.Input; /** * The number of nodes in this node pool. */ nodeQuantity: pulumi.Input; /** * The plan to be used in this node pool. [See Plans List](https://www.vultr.com/api/#operation/list-plans) Note the minimum plan requirements must have at least 1 core and 2 gbs of memory. */ plan: pulumi.Input; /** * A tag that is assigned to this node pool. */ tag?: pulumi.Input; /** * Taints to apply to the nodes in the node pool. Should contain `key`, `value` and `effect`. The `effect` should be one of `NoSchedule`, `PreferNoSchedule` or `NoExecute`. */ taints?: pulumi.Input[]>; /** * A base64 encoded string containing the user data to apply to nodes in the node pool. */ userData?: pulumi.Input; }