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 Ai Vision service. * * Returns a list of models in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModels = oci.aivision.getModels({ * compartmentId: compartmentId, * displayName: modelDisplayName, * id: modelId, * projectId: testProject.id, * state: modelState, * }); * ``` */ export declare function getModels(args?: GetModelsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getModels. */ export interface GetModelsArgs { /** * 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.AiVision.GetModelsFilter[]; /** * The filter to find the model with the given identifier. */ id?: string; /** * The ID of the project for which to list the objects. */ projectId?: string; /** * The filter to match models with the given lifecycleState. */ state?: string; } /** * A collection of values returned by getModels. */ export interface GetModelsResult { /** * The compartment identifier. */ readonly compartmentId?: string; /** * A human-friendly name for the model, which can be changed. */ readonly displayName?: string; readonly filters?: outputs.AiVision.GetModelsFilter[]; /** * A unique identifier that is immutable after creation. */ readonly id?: string; /** * The list of model_collection. */ readonly modelCollections: outputs.AiVision.GetModelsModelCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model. */ readonly projectId?: string; /** * The current state of the model. */ readonly state?: string; } /** * This data source provides the list of Models in Oracle Cloud Infrastructure Ai Vision service. * * Returns a list of models in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModels = oci.aivision.getModels({ * compartmentId: compartmentId, * displayName: modelDisplayName, * id: modelId, * projectId: testProject.id, * state: modelState, * }); * ``` */ export declare function getModelsOutput(args?: GetModelsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getModels. */ export interface GetModelsOutputArgs { /** * 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>; /** * The filter to find the model with the given identifier. */ id?: pulumi.Input; /** * The ID of the project for which to list the objects. */ projectId?: pulumi.Input; /** * The filter to match models with the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getModels.d.ts.map