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 Data Science service. * * Gets the specified model's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModel = oci.datascience.getModel({ * modelId: testModelOciDatascienceModel.id, * }); * ``` */ export declare function getModel(args: GetModelArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getModel. */ export interface GetModelArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. */ modelId: string; } /** * A collection of values returned by getModel. */ export interface GetModelResult { readonly artifactContentDisposition: string; readonly artifactContentLength: string; readonly artifactContentMd5: string; readonly artifactLastModified: string; /** * Backup operation details of the model. */ readonly backupOperationDetails: outputs.DataScience.GetModelBackupOperationDetail[]; /** * Back up setting details of the model. */ readonly backupSettings: outputs.DataScience.GetModelBackupSetting[]; /** * Category of model metadata which should be null for defined metadata.For custom metadata is should be one of the following values "Performance,Training Profile,Training and Validation Datasets,Training Environment,Reports,Readme,other". */ readonly category: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model's compartment. */ readonly compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model. */ readonly createdBy: string; /** * An array of custom metadata details for the model. */ readonly customMetadataLists: outputs.DataScience.GetModelCustomMetadataList[]; /** * An array of defined metadata details for the model. */ readonly definedMetadataLists: outputs.DataScience.GetModelDefinedMetadataList[]; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * A short description of the model. */ readonly description: string; /** * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. */ readonly displayName: string; readonly emptyModel: boolean; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. */ readonly id: string; /** * Input schema file content in String format */ readonly inputSchema: string; /** * Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy. */ readonly isModelByReference: boolean; /** * Details about the lifecycle state of the model. */ readonly lifecycleDetails: string; readonly modelArtifact: string; readonly modelId: string; /** * The OCID of the model version set that the model is associated to. */ readonly modelVersionSetId: string; /** * The name of the model version set that the model is associated to. */ readonly modelVersionSetName: string; /** * Output schema file content in String format */ readonly outputSchema: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the model. */ readonly projectId: string; /** * Retention operation details for the model. */ readonly retentionOperationDetails: outputs.DataScience.GetModelRetentionOperationDetail[]; /** * Retention setting details of the model. */ readonly retentionSettings: outputs.DataScience.GetModelRetentionSetting[]; /** * The state of the model. */ readonly state: string; /** * The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z */ readonly timeCreated: string; readonly versionLabel: string; } /** * This data source provides details about a specific Model resource in Oracle Cloud Infrastructure Data Science service. * * Gets the specified model's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModel = oci.datascience.getModel({ * modelId: testModelOciDatascienceModel.id, * }); * ``` */ export declare function getModelOutput(args: GetModelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getModel. */ export interface GetModelOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. */ modelId: pulumi.Input; } //# sourceMappingURL=getModel.d.ts.map