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 Models in Oracle Cloud Infrastructure Generative AI service. * * Lists the models in a specific compartment. Includes pretrained base models and fine-tuned custom models. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModels = oci.generativeai.getModels({ * compartmentId: compartmentId, * capabilities: modelCapability, * displayName: modelDisplayName, * id: modelId, * state: modelState, * vendor: modelVendor, * }); * ``` */ export declare function getModels(args: GetModelsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getModels. */ export interface GetModelsArgs { /** * 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.GetModelsFilter[]; /** * The ID of the model. */ 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 getModels. */ export interface GetModelsResult { readonly capabilities?: string[]; readonly compartmentId: string; readonly displayName?: string; readonly filters?: outputs.GenerativeAi.GetModelsFilter[]; readonly id?: string; /** * The list of model_collection. */ readonly modelCollections: outputs.GenerativeAi.GetModelsModelCollection[]; /** * The lifecycle state of the model. */ readonly state?: string; /** * The provider of the base model. */ readonly vendor?: string; } /** * This data source provides the list of Models in Oracle Cloud Infrastructure Generative AI service. * * Lists the models in a specific compartment. Includes pretrained base models and fine-tuned custom models. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModels = oci.generativeai.getModels({ * compartmentId: compartmentId, * capabilities: modelCapability, * displayName: modelDisplayName, * id: modelId, * state: modelState, * vendor: modelVendor, * }); * ``` */ export declare function getModelsOutput(args: GetModelsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getModels. */ export interface GetModelsOutputArgs { /** * 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 model. */ 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=getModels.d.ts.map