import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Model resource in Oracle Cloud Infrastructure Generative AI service. * * Gets information about a custom model. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModel = oci.generativeai.getModel({ * modelId: testModelOciGenerativeAiModel.id, * }); * ``` */ export declare function getModel(args: GetModelArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getModel. */ export interface GetModelArgs { /** * The model OCID */ modelId: string; } /** * A collection of values returned by getModel. */ export interface GetModelResult { readonly baseModelId: string; /** * Describes what this model can be used for. */ readonly capabilities: string[]; readonly compartmentId: string; readonly definedTags: { [key: string]: string; }; /** * An optional description of the model. */ readonly description: string; readonly displayName: string; readonly fineTuneDetails: outputs.GenerativeAi.GetModelFineTuneDetail[]; readonly freeformTags: { [key: string]: string; }; readonly id: string; readonly isLongTermSupported: boolean; readonly lifecycleDetails: string; readonly modelId: string; readonly modelMetrics: outputs.GenerativeAi.GetModelModelMetric[]; /** * The lifecycle state of the model. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; readonly timeCreated: string; readonly timeDeprecated: string; readonly timeUpdated: string; readonly type: string; /** * The provider of the base model. */ readonly vendor: string; /** * The version of the model. */ readonly version: string; } /** * This data source provides details about a specific Model resource in Oracle Cloud Infrastructure Generative AI service. * * Gets information about a custom model. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModel = oci.generativeai.getModel({ * modelId: testModelOciGenerativeAiModel.id, * }); * ``` */ export declare function getModelOutput(args: GetModelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getModel. */ export interface GetModelOutputArgs { /** * The model OCID */ modelId: pulumi.Input; } //# sourceMappingURL=getModel.d.ts.map