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 Oda Instances in Oracle Cloud Infrastructure Digital Assistant service. * * Returns a page of Digital Assistant instances that belong to the specified * compartment. * * If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOdaInstances = oci.oda.getOdaInstances({ * compartmentId: compartmentId, * displayName: odaInstanceDisplayName, * state: odaInstanceState, * }); * ``` */ export declare function getOdaInstances(args: GetOdaInstancesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOdaInstances. */ export interface GetOdaInstancesArgs { /** * List the Digital Assistant instances that belong to this compartment. */ compartmentId: string; /** * List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example: `My new resource` */ displayName?: string; filters?: inputs.Oda.GetOdaInstancesFilter[]; /** * List only the Digital Assistant instances that are in this lifecycle state. */ state?: string; } /** * A collection of values returned by getOdaInstances. */ export interface GetOdaInstancesResult { /** * Identifier of the compartment that the instance belongs to. */ readonly compartmentId: string; /** * User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value. */ readonly displayName?: string; readonly filters?: outputs.Oda.GetOdaInstancesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of oda_instances. */ readonly odaInstances: outputs.Oda.GetOdaInstancesOdaInstance[]; /** * The current state of the Digital Assistant instance. */ readonly state?: string; } /** * This data source provides the list of Oda Instances in Oracle Cloud Infrastructure Digital Assistant service. * * Returns a page of Digital Assistant instances that belong to the specified * compartment. * * If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOdaInstances = oci.oda.getOdaInstances({ * compartmentId: compartmentId, * displayName: odaInstanceDisplayName, * state: odaInstanceState, * }); * ``` */ export declare function getOdaInstancesOutput(args: GetOdaInstancesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOdaInstances. */ export interface GetOdaInstancesOutputArgs { /** * List the Digital Assistant instances that belong to this compartment. */ compartmentId: pulumi.Input; /** * List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change. Example: `My new resource` */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * List only the Digital Assistant instances that are in this lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getOdaInstances.d.ts.map