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 Imported Models in Oracle Cloud Infrastructure Generative AI service. * * Lists imported models in a specific compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testImportedModels = oci.generativeai.getImportedModels({ * compartmentId: compartmentId, * capabilities: importedModelCapability, * displayName: importedModelDisplayName, * id: importedModelId, * state: importedModelState, * vendor: importedModelVendor, * }); * ``` */ export declare function getImportedModels(args: GetImportedModelsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getImportedModels. */ export interface GetImportedModelsArgs { /** * A filter to return only resources their capability matches the given capability. */ capabilities?: string[]; /** * 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.GenerativeAi.GetImportedModelsFilter[]; /** * The ID of the importedModel. */ id?: string; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: string; /** * A filter to return only resources that match the entire vendor given. */ vendor?: string; } /** * A collection of values returned by getImportedModels. */ export interface GetImportedModelsResult { readonly capabilities?: string[]; readonly compartmentId: string; readonly displayName?: string; readonly filters?: outputs.GenerativeAi.GetImportedModelsFilter[]; readonly id?: string; /** * The list of imported_model_collection. */ readonly importedModelCollections: outputs.GenerativeAi.GetImportedModelsImportedModelCollection[]; readonly state?: string; readonly vendor?: string; } /** * This data source provides the list of Imported Models in Oracle Cloud Infrastructure Generative AI service. * * Lists imported models in a specific compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testImportedModels = oci.generativeai.getImportedModels({ * compartmentId: compartmentId, * capabilities: importedModelCapability, * displayName: importedModelDisplayName, * id: importedModelId, * state: importedModelState, * vendor: importedModelVendor, * }); * ``` */ export declare function getImportedModelsOutput(args: GetImportedModelsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getImportedModels. */ export interface GetImportedModelsOutputArgs { /** * A filter to return only resources their capability matches the given capability. */ capabilities?: pulumi.Input[] | undefined>; /** * 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 ID of the importedModel. */ id?: pulumi.Input; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; /** * A filter to return only resources that match the entire vendor given. */ vendor?: pulumi.Input; } //# sourceMappingURL=getImportedModels.d.ts.map