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 Opa Instances in Oracle Cloud Infrastructure Opa service. * * Returns a list of OpaInstances. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOpaInstances = oci.opa.getOpaInstances({ * compartmentId: compartmentId, * displayName: opaInstanceDisplayName, * id: opaInstanceId, * state: opaInstanceState, * }); * ``` */ export declare function getOpaInstances(args?: GetOpaInstancesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOpaInstances. */ export interface GetOpaInstancesArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.Opa.GetOpaInstancesFilter[]; /** * unique OpaInstance identifier */ id?: string; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getOpaInstances. */ export interface GetOpaInstancesResult { /** * Compartment Identifier */ readonly compartmentId?: string; /** * OpaInstance Identifier, can be renamed */ readonly displayName?: string; readonly filters?: outputs.Opa.GetOpaInstancesFilter[]; /** * Unique identifier that is immutable on creation */ readonly id?: string; /** * The list of opa_instance_collection. */ readonly opaInstanceCollections: outputs.Opa.GetOpaInstancesOpaInstanceCollection[]; /** * The current state of the OpaInstance. */ readonly state?: string; } /** * This data source provides the list of Opa Instances in Oracle Cloud Infrastructure Opa service. * * Returns a list of OpaInstances. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOpaInstances = oci.opa.getOpaInstances({ * compartmentId: compartmentId, * displayName: opaInstanceDisplayName, * id: opaInstanceId, * state: opaInstanceState, * }); * ``` */ export declare function getOpaInstancesOutput(args?: GetOpaInstancesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOpaInstances. */ export interface GetOpaInstancesOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * unique OpaInstance identifier */ id?: pulumi.Input; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getOpaInstances.d.ts.map