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 Instance Pools in Oracle Cloud Infrastructure Core service. * * Lists the instance pools in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInstancePools = oci.core.getInstancePools({ * compartmentId: compartmentId, * displayName: instancePoolDisplayName, * state: instancePoolState, * }); * ``` */ export declare function getInstancePools(args: GetInstancePoolsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInstancePools. */ export interface GetInstancePoolsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.Core.GetInstancePoolsFilter[]; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getInstancePools. */ export interface GetInstancePoolsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the instance pool. */ readonly compartmentId: string; /** * The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC. */ readonly displayName?: string; readonly filters?: outputs.Core.GetInstancePoolsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of instance_pools. */ readonly instancePools: outputs.Core.GetInstancePoolsInstancePool[]; /** * The current state of the instance pool. */ readonly state?: string; } /** * This data source provides the list of Instance Pools in Oracle Cloud Infrastructure Core service. * * Lists the instance pools in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInstancePools = oci.core.getInstancePools({ * compartmentId: compartmentId, * displayName: instancePoolDisplayName, * state: instancePoolState, * }); * ``` */ export declare function getInstancePoolsOutput(args: GetInstancePoolsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInstancePools. */ export interface GetInstancePoolsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getInstancePools.d.ts.map