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 Task Environments in Oracle Cloud Infrastructure Batch service. * * Lists the task environments by compartment or environment [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 GetBatchTaskEnvironment 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 testBatchTaskEnvironments = oci.oci.getBatchBatchTaskEnvironments({ * compartmentId: compartmentId, * displayName: batchTaskEnvironmentDisplayName, * id: batchTaskEnvironmentId, * state: batchTaskEnvironmentState, * }); * ``` */ export declare function getBatchBatchTaskEnvironments(args?: GetBatchBatchTaskEnvironmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBatchBatchTaskEnvironments. */ export interface GetBatchBatchTaskEnvironmentsArgs { /** * 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.GetBatchBatchTaskEnvironmentsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task environment. */ 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 getBatchBatchTaskEnvironments. */ export interface GetBatchBatchTaskEnvironmentsResult { /** * The list of batch_task_environment_collection. */ readonly batchTaskEnvironmentCollections: outputs.oci.GetBatchBatchTaskEnvironmentsBatchTaskEnvironmentCollection[]; /** * 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. If not specified or provided as null or empty string, it be generated as "", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskenvironment20250914115623. */ readonly displayName?: string; readonly filters?: outputs.oci.GetBatchBatchTaskEnvironmentsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task environment. */ readonly id?: string; /** * The current state of the batch task environment. */ readonly state?: string; } /** * This data source provides the list of Batch Task Environments in Oracle Cloud Infrastructure Batch service. * * Lists the task environments by compartment or environment [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 GetBatchTaskEnvironment 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 testBatchTaskEnvironments = oci.oci.getBatchBatchTaskEnvironments({ * compartmentId: compartmentId, * displayName: batchTaskEnvironmentDisplayName, * id: batchTaskEnvironmentId, * state: batchTaskEnvironmentState, * }); * ``` */ export declare function getBatchBatchTaskEnvironmentsOutput(args?: GetBatchBatchTaskEnvironmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBatchBatchTaskEnvironments. */ export interface GetBatchBatchTaskEnvironmentsOutputArgs { /** * 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 task environment. */ 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=getBatchBatchTaskEnvironments.d.ts.map