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 Oce Instances in Oracle Cloud Infrastructure Content and Experience service. * * Returns a list of OceInstances. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOceInstances = oci.oce.getOceInstances({ * compartmentId: compartmentId, * displayName: oceInstanceDisplayName, * state: oceInstanceState, * tenancyId: testTenancy.id, * }); * ``` */ export declare function getOceInstances(args: GetOceInstancesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOceInstances. */ export interface GetOceInstancesArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Example: `My new resource` */ displayName?: string; filters?: inputs.Oce.GetOceInstancesFilter[]; /** * Filter results on lifecycleState. */ state?: string; /** * The ID of the tenancy in which to list resources. */ tenancyId?: string; } /** * A collection of values returned by getOceInstances. */ export interface GetOceInstancesResult { /** * Compartment Identifier */ readonly compartmentId: string; readonly displayName?: string; readonly filters?: outputs.Oce.GetOceInstancesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of oce_instances. */ readonly oceInstances: outputs.Oce.GetOceInstancesOceInstance[]; /** * The current state of the instance lifecycle. */ readonly state?: string; /** * Tenancy Identifier */ readonly tenancyId?: string; } /** * This data source provides the list of Oce Instances in Oracle Cloud Infrastructure Content and Experience service. * * Returns a list of OceInstances. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOceInstances = oci.oce.getOceInstances({ * compartmentId: compartmentId, * displayName: oceInstanceDisplayName, * state: oceInstanceState, * tenancyId: testTenancy.id, * }); * ``` */ export declare function getOceInstancesOutput(args: GetOceInstancesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOceInstances. */ export interface GetOceInstancesOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A user-friendly name. Does not have to be unique, and it's changeable. Example: `My new resource` */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter results on lifecycleState. */ state?: pulumi.Input; /** * The ID of the tenancy in which to list resources. */ tenancyId?: pulumi.Input; } //# sourceMappingURL=getOceInstances.d.ts.map