import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to add/remove worker nodepool in an existing Nutanix Kubernetes Engine (NKE). * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const kworkerNp = new nutanix.KarbonWorkerNodepool("kworkerNp", { * clusterName: "karbon", * name: "workerpool1", * numInstances: 1, * ahvConfig: { * cpu: 4, * diskMib: 122880, * memoryMib: 8192, * networkUuid: "61213511-6383-4a38-9ac8-4a552c0e5865", * }, * }); * ``` * * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const kworkerNp = new nutanix.KarbonWorkerNodepool("kworkerNp", { * clusterName: "karbon", * name: "workerpool1", * numInstances: 1, * ahvConfig: { * cpu: 4, * diskMib: 122880, * memoryMib: 8192, * networkUuid: "61213511-6383-4a38-9ac8-4a552c0e5865", * }, * labels: { * k1: "v1", * k2: "v2", * }, * }); * ``` * */ export declare class KarbonWorkerNodepool extends pulumi.CustomResource { /** * Get an existing KarbonWorkerNodepool 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?: KarbonWorkerNodepoolState, opts?: pulumi.CustomResourceOptions): KarbonWorkerNodepool; /** * Returns true if the given object is an instance of KarbonWorkerNodepool. 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 KarbonWorkerNodepool; /** * VM configuration in AHV. */ readonly ahvConfig: pulumi.Output; /** * Kubernetes cluster name */ readonly clusterName: pulumi.Output; /** * labels of node */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * unique worker nodepool name */ readonly name: pulumi.Output; /** * The version of the node OS image */ readonly nodeOsVersion: pulumi.Output; /** * List of node details of pool. */ readonly nodes: pulumi.Output; /** * number of node instances */ readonly numInstances: pulumi.Output; /** * Create a KarbonWorkerNodepool 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: KarbonWorkerNodepoolArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering KarbonWorkerNodepool resources. */ export interface KarbonWorkerNodepoolState { /** * VM configuration in AHV. */ ahvConfig?: pulumi.Input; /** * Kubernetes cluster name */ clusterName?: pulumi.Input; /** * labels of node */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * unique worker nodepool name */ name?: pulumi.Input; /** * The version of the node OS image */ nodeOsVersion?: pulumi.Input; /** * List of node details of pool. */ nodes?: pulumi.Input[] | undefined>; /** * number of node instances */ numInstances?: pulumi.Input; } /** * The set of arguments for constructing a KarbonWorkerNodepool resource. */ export interface KarbonWorkerNodepoolArgs { /** * VM configuration in AHV. */ ahvConfig?: pulumi.Input; /** * Kubernetes cluster name */ clusterName: pulumi.Input; /** * labels of node */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * unique worker nodepool name */ name?: pulumi.Input; /** * The version of the node OS image */ nodeOsVersion?: pulumi.Input; /** * number of node instances */ numInstances: pulumi.Input; } //# sourceMappingURL=karbonWorkerNodepool.d.ts.map