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 Batch Job Pools in Oracle Cloud Infrastructure Batch service. * * Lists the batch job pools by compartment or job pool [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchJobPool to get the full details on a specific context * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBatchJobPools = oci.oci.getBatchBatchJobPools({ * batchContextId: testBatchContext.id, * compartmentId: compartmentId, * displayName: batchJobPoolDisplayName, * id: batchJobPoolId, * state: batchJobPoolState, * }); * ``` */ export declare function getBatchBatchJobPools(args?: GetBatchBatchJobPoolsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBatchBatchJobPools. */ export interface GetBatchBatchJobPoolsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch context. */ batchContextId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.oci.GetBatchBatchJobPoolsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job pool. */ id?: string; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getBatchBatchJobPools. */ export interface GetBatchBatchJobPoolsResult { /** * The OCID of batch context. */ readonly batchContextId?: string; /** * The list of batch_job_pool_collection. */ readonly batchJobPoolCollections: outputs.oci.GetBatchBatchJobPoolsBatchJobPoolCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId?: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. */ readonly displayName?: string; readonly filters?: outputs.oci.GetBatchBatchJobPoolsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job pool. */ readonly id?: string; /** * The current state of the batch job pool. */ readonly state?: string; } /** * This data source provides the list of Batch Job Pools in Oracle Cloud Infrastructure Batch service. * * Lists the batch job pools by compartment or job pool [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchJobPool to get the full details on a specific context * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBatchJobPools = oci.oci.getBatchBatchJobPools({ * batchContextId: testBatchContext.id, * compartmentId: compartmentId, * displayName: batchJobPoolDisplayName, * id: batchJobPoolId, * state: batchJobPoolState, * }); * ``` */ export declare function getBatchBatchJobPoolsOutput(args?: GetBatchBatchJobPoolsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBatchBatchJobPools. */ export interface GetBatchBatchJobPoolsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch context. */ batchContextId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job pool. */ id?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getBatchBatchJobPools.d.ts.map