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 Contexts in Oracle Cloud Infrastructure Batch service. * * Lists the batch contexts by compartment or context [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchContext 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 testBatchContexts = oci.oci.getBatchBatchContexts({ * compartmentId: compartmentId, * displayName: batchContextDisplayName, * id: batchContextId, * state: batchContextState, * }); * ``` */ export declare function getBatchBatchContexts(args?: GetBatchBatchContextsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBatchBatchContexts. */ export interface GetBatchBatchContextsArgs { /** * 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.GetBatchBatchContextsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch context. */ 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 getBatchBatchContexts. */ export interface GetBatchBatchContextsResult { /** * The list of batch_context_collection. */ readonly batchContextCollections: outputs.oci.GetBatchBatchContextsBatchContextCollection[]; /** * 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.GetBatchBatchContextsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint's VNIC, which resides in the customer's VCN. */ readonly id?: string; /** * The current state of the batch context. */ readonly state?: string; } /** * This data source provides the list of Batch Contexts in Oracle Cloud Infrastructure Batch service. * * Lists the batch contexts by compartment or context [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchContext 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 testBatchContexts = oci.oci.getBatchBatchContexts({ * compartmentId: compartmentId, * displayName: batchContextDisplayName, * id: batchContextId, * state: batchContextState, * }); * ``` */ export declare function getBatchBatchContextsOutput(args?: GetBatchBatchContextsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBatchBatchContexts. */ export interface GetBatchBatchContextsOutputArgs { /** * 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 context. */ 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=getBatchBatchContexts.d.ts.map