import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Node Pools in Oracle Cloud Infrastructure Container Engine service. * * List all the node pools in a compartment, and optionally filter by cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNodePools = oci.containerengine.getNodePools({ * compartmentId: compartmentId, * clusterId: testCluster.id, * name: nodePoolName, * states: nodePoolState, * }); * ``` */ export declare function getNodePools(args: GetNodePoolsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNodePools. */ export interface GetNodePoolsArgs { /** * The OCID of the cluster. */ clusterId?: string; /** * The OCID of the compartment. */ compartmentId: string; filters?: inputs.ContainerEngine.GetNodePoolsFilter[]; /** * The name to filter on. */ name?: string; /** * A list of nodepool lifecycle states on which to filter on, matching any of the list items (OR logic). eg. [ACTIVE, DELETING] */ states?: string[]; } /** * A collection of values returned by getNodePools. */ export interface GetNodePoolsResult { /** * The OCID of the cluster to which this node pool is attached. */ readonly clusterId?: string; /** * The OCID of the compartment in which the node pool exists. */ readonly compartmentId: string; readonly filters?: outputs.ContainerEngine.GetNodePoolsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the node pool. */ readonly name?: string; /** * The list of node_pools. */ readonly nodePools: outputs.ContainerEngine.GetNodePoolsNodePool[]; /** * The state of the nodepool. */ readonly states?: string[]; } /** * This data source provides the list of Node Pools in Oracle Cloud Infrastructure Container Engine service. * * List all the node pools in a compartment, and optionally filter by cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNodePools = oci.containerengine.getNodePools({ * compartmentId: compartmentId, * clusterId: testCluster.id, * name: nodePoolName, * states: nodePoolState, * }); * ``` */ export declare function getNodePoolsOutput(args: GetNodePoolsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNodePools. */ export interface GetNodePoolsOutputArgs { /** * The OCID of the cluster. */ clusterId?: pulumi.Input; /** * The OCID of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The name to filter on. */ name?: pulumi.Input; /** * A list of nodepool lifecycle states on which to filter on, matching any of the list items (OR logic). eg. [ACTIVE, DELETING] */ states?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getNodePools.d.ts.map