1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataScience
  5. getModels
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.DataScience.getModels

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides the list of Models in Oracle Cloud Infrastructure Data Science service.

Lists models in the specified compartment.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testModels = oci.DataScience.getModels({
    compartmentId: compartmentId,
    category: modelCategory,
    createdBy: modelCreatedBy,
    displayName: modelDisplayName,
    id: modelId,
    modelVersionSetName: testModelVersionSet.name,
    projectId: testProject.id,
    state: modelState,
});
Copy
import pulumi
import pulumi_oci as oci

test_models = oci.DataScience.get_models(compartment_id=compartment_id,
    category=model_category,
    created_by=model_created_by,
    display_name=model_display_name,
    id=model_id,
    model_version_set_name=test_model_version_set["name"],
    project_id=test_project["id"],
    state=model_state)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/datascience"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datascience.GetModels(ctx, &datascience.GetModelsArgs{
			CompartmentId:       compartmentId,
			Category:            pulumi.StringRef(modelCategory),
			CreatedBy:           pulumi.StringRef(modelCreatedBy),
			DisplayName:         pulumi.StringRef(modelDisplayName),
			Id:                  pulumi.StringRef(modelId),
			ModelVersionSetName: pulumi.StringRef(testModelVersionSet.Name),
			ProjectId:           pulumi.StringRef(testProject.Id),
			State:               pulumi.StringRef(modelState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testModels = Oci.DataScience.GetModels.Invoke(new()
    {
        CompartmentId = compartmentId,
        Category = modelCategory,
        CreatedBy = modelCreatedBy,
        DisplayName = modelDisplayName,
        Id = modelId,
        ModelVersionSetName = testModelVersionSet.Name,
        ProjectId = testProject.Id,
        State = modelState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataScience.DataScienceFunctions;
import com.pulumi.oci.DataScience.inputs.GetModelsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testModels = DataScienceFunctions.getModels(GetModelsArgs.builder()
            .compartmentId(compartmentId)
            .category(modelCategory)
            .createdBy(modelCreatedBy)
            .displayName(modelDisplayName)
            .id(modelId)
            .modelVersionSetName(testModelVersionSet.name())
            .projectId(testProject.id())
            .state(modelState)
            .build());

    }
}
Copy
variables:
  testModels:
    fn::invoke:
      function: oci:DataScience:getModels
      arguments:
        compartmentId: ${compartmentId}
        category: ${modelCategory}
        createdBy: ${modelCreatedBy}
        displayName: ${modelDisplayName}
        id: ${modelId}
        modelVersionSetName: ${testModelVersionSet.name}
        projectId: ${testProject.id}
        state: ${modelState}
Copy

Using getModels

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getModels(args: GetModelsArgs, opts?: InvokeOptions): Promise<GetModelsResult>
function getModelsOutput(args: GetModelsOutputArgs, opts?: InvokeOptions): Output<GetModelsResult>
Copy
def get_models(category: Optional[str] = None,
               compartment_id: Optional[str] = None,
               created_by: Optional[str] = None,
               display_name: Optional[str] = None,
               filters: Optional[Sequence[_datascience.GetModelsFilter]] = None,
               id: Optional[str] = None,
               model_version_set_id: Optional[str] = None,
               model_version_set_name: Optional[str] = None,
               project_id: Optional[str] = None,
               state: Optional[str] = None,
               version_label: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetModelsResult
def get_models_output(category: Optional[pulumi.Input[str]] = None,
               compartment_id: Optional[pulumi.Input[str]] = None,
               created_by: Optional[pulumi.Input[str]] = None,
               display_name: Optional[pulumi.Input[str]] = None,
               filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datascience.GetModelsFilterArgs]]]] = None,
               id: Optional[pulumi.Input[str]] = None,
               model_version_set_id: Optional[pulumi.Input[str]] = None,
               model_version_set_name: Optional[pulumi.Input[str]] = None,
               project_id: Optional[pulumi.Input[str]] = None,
               state: Optional[pulumi.Input[str]] = None,
               version_label: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetModelsResult]
Copy
func GetModels(ctx *Context, args *GetModelsArgs, opts ...InvokeOption) (*GetModelsResult, error)
func GetModelsOutput(ctx *Context, args *GetModelsOutputArgs, opts ...InvokeOption) GetModelsResultOutput
Copy

> Note: This function is named GetModels in the Go SDK.

public static class GetModels 
{
    public static Task<GetModelsResult> InvokeAsync(GetModelsArgs args, InvokeOptions? opts = null)
    public static Output<GetModelsResult> Invoke(GetModelsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetModelsResult> getModels(GetModelsArgs args, InvokeOptions options)
public static Output<GetModelsResult> getModels(GetModelsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DataScience/getModels:getModels
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
Filter results by the OCID of the compartment.
Category string
Specifies the type of models to list. By default, user models are listed.
CreatedBy string
Filter results by the OCID of the user who created the resource.
DisplayName string
Filter results by its user-friendly name.
Filters Changes to this property will trigger replacement. List<GetModelsFilter>
Id string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
ModelVersionSetId string
The OCID of the model version set that the model is associated to.
ModelVersionSetName string
The name of the model version set that the model is associated to.
ProjectId string
Filter results by the OCID of the project.
State string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
VersionLabel string
CompartmentId This property is required. string
Filter results by the OCID of the compartment.
Category string
Specifies the type of models to list. By default, user models are listed.
CreatedBy string
Filter results by the OCID of the user who created the resource.
DisplayName string
Filter results by its user-friendly name.
Filters Changes to this property will trigger replacement. []GetModelsFilter
Id string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
ModelVersionSetId string
The OCID of the model version set that the model is associated to.
ModelVersionSetName string
The name of the model version set that the model is associated to.
ProjectId string
Filter results by the OCID of the project.
State string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
VersionLabel string
compartmentId This property is required. String
Filter results by the OCID of the compartment.
category String
Specifies the type of models to list. By default, user models are listed.
createdBy String
Filter results by the OCID of the user who created the resource.
displayName String
Filter results by its user-friendly name.
filters Changes to this property will trigger replacement. List<GetModelsFilter>
id String
Filter results by OCID. Must be an OCID of the correct type for the resource type.
modelVersionSetId String
The OCID of the model version set that the model is associated to.
modelVersionSetName String
The name of the model version set that the model is associated to.
projectId String
Filter results by the OCID of the project.
state String
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
versionLabel String
compartmentId This property is required. string
Filter results by the OCID of the compartment.
category string
Specifies the type of models to list. By default, user models are listed.
createdBy string
Filter results by the OCID of the user who created the resource.
displayName string
Filter results by its user-friendly name.
filters Changes to this property will trigger replacement. GetModelsFilter[]
id string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
modelVersionSetId string
The OCID of the model version set that the model is associated to.
modelVersionSetName string
The name of the model version set that the model is associated to.
projectId string
Filter results by the OCID of the project.
state string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
versionLabel string
compartment_id This property is required. str
Filter results by the OCID of the compartment.
category str
Specifies the type of models to list. By default, user models are listed.
created_by str
Filter results by the OCID of the user who created the resource.
display_name str
Filter results by its user-friendly name.
filters Changes to this property will trigger replacement. Sequence[datascience.GetModelsFilter]
id str
Filter results by OCID. Must be an OCID of the correct type for the resource type.
model_version_set_id str
The OCID of the model version set that the model is associated to.
model_version_set_name str
The name of the model version set that the model is associated to.
project_id str
Filter results by the OCID of the project.
state str
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
version_label str
compartmentId This property is required. String
Filter results by the OCID of the compartment.
category String
Specifies the type of models to list. By default, user models are listed.
createdBy String
Filter results by the OCID of the user who created the resource.
displayName String
Filter results by its user-friendly name.
filters Changes to this property will trigger replacement. List<Property Map>
id String
Filter results by OCID. Must be an OCID of the correct type for the resource type.
modelVersionSetId String
The OCID of the model version set that the model is associated to.
modelVersionSetName String
The name of the model version set that the model is associated to.
projectId String
Filter results by the OCID of the project.
state String
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
versionLabel String

getModels Result

The following output properties are available:

CompartmentId string
The OCID of the model's compartment.
Models List<GetModelsModel>
The list of models.
Category string
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".
CreatedBy string
The OCID of the user who created the model.
DisplayName string
A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
Filters List<GetModelsFilter>
Id string
The OCID of the model.
ModelVersionSetId string
The OCID of the model version set that the model is associated to.
ModelVersionSetName string
The name of the model version set that the model is associated to.
ProjectId string
The OCID of the project associated with the model.
State string
The state of the model.
VersionLabel string
CompartmentId string
The OCID of the model's compartment.
Models []GetModelsModel
The list of models.
Category string
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".
CreatedBy string
The OCID of the user who created the model.
DisplayName string
A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
Filters []GetModelsFilter
Id string
The OCID of the model.
ModelVersionSetId string
The OCID of the model version set that the model is associated to.
ModelVersionSetName string
The name of the model version set that the model is associated to.
ProjectId string
The OCID of the project associated with the model.
State string
The state of the model.
VersionLabel string
compartmentId String
The OCID of the model's compartment.
models List<GetModelsModel>
The list of models.
category String
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".
createdBy String
The OCID of the user who created the model.
displayName String
A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
filters List<GetModelsFilter>
id String
The OCID of the model.
modelVersionSetId String
The OCID of the model version set that the model is associated to.
modelVersionSetName String
The name of the model version set that the model is associated to.
projectId String
The OCID of the project associated with the model.
state String
The state of the model.
versionLabel String
compartmentId string
The OCID of the model's compartment.
models GetModelsModel[]
The list of models.
category string
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".
createdBy string
The OCID of the user who created the model.
displayName string
A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
filters GetModelsFilter[]
id string
The OCID of the model.
modelVersionSetId string
The OCID of the model version set that the model is associated to.
modelVersionSetName string
The name of the model version set that the model is associated to.
projectId string
The OCID of the project associated with the model.
state string
The state of the model.
versionLabel string
compartment_id str
The OCID of the model's compartment.
models Sequence[datascience.GetModelsModel]
The list of models.
category str
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".
created_by str
The OCID of the user who created the model.
display_name str
A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
filters Sequence[datascience.GetModelsFilter]
id str
The OCID of the model.
model_version_set_id str
The OCID of the model version set that the model is associated to.
model_version_set_name str
The name of the model version set that the model is associated to.
project_id str
The OCID of the project associated with the model.
state str
The state of the model.
version_label str
compartmentId String
The OCID of the model's compartment.
models List<Property Map>
The list of models.
category String
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".
createdBy String
The OCID of the user who created the model.
displayName String
A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
filters List<Property Map>
id String
The OCID of the model.
modelVersionSetId String
The OCID of the model version set that the model is associated to.
modelVersionSetName String
The name of the model version set that the model is associated to.
projectId String
The OCID of the project associated with the model.
state String
The state of the model.
versionLabel String

Supporting Types

GetModelsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetModelsModel

ArtifactContentDisposition This property is required. string
ArtifactContentLength This property is required. string
ArtifactContentMd5 This property is required. string
ArtifactLastModified This property is required. string
BackupOperationDetails This property is required. List<GetModelsModelBackupOperationDetail>
Backup operation details of the model.
BackupSettings This property is required. List<GetModelsModelBackupSetting>
Back up setting details of the model.
Category This property is required. string
Specifies the type of models to list. By default, user models are listed.
CompartmentId This property is required. string
Filter results by the OCID of the compartment.
CreatedBy This property is required. string
Filter results by the OCID of the user who created the resource.
CustomMetadataLists This property is required. List<GetModelsModelCustomMetadataList>
An array of custom metadata details for the model.
DefinedMetadataLists This property is required. List<GetModelsModelDefinedMetadataList>
An array of defined metadata details for the model.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
Description This property is required. string
A short description of the model.
DisplayName This property is required. string
Filter results by its user-friendly name.
EmptyModel This property is required. bool
FreeformTags This property is required. Dictionary<string, string>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
Id This property is required. string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
InputSchema This property is required. string
Input schema file content in String format
IsModelByReference This property is required. bool
Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
LifecycleDetails This property is required. string
Details about the lifecycle state of the model.
ModelArtifact This property is required. string
ModelVersionSetId This property is required. string
The OCID of the model version set that the model is associated to.
ModelVersionSetName This property is required. string
The name of the model version set that the model is associated to.
OutputSchema This property is required. string
Output schema file content in String format
ProjectId This property is required. string
Filter results by the OCID of the project.
RetentionOperationDetails This property is required. List<GetModelsModelRetentionOperationDetail>
Retention operation details for the model.
RetentionSettings This property is required. List<GetModelsModelRetentionSetting>
Retention setting details of the model.
State This property is required. string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
TimeCreated This property is required. string
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
VersionLabel This property is required. string
ArtifactContentDisposition This property is required. string
ArtifactContentLength This property is required. string
ArtifactContentMd5 This property is required. string
ArtifactLastModified This property is required. string
BackupOperationDetails This property is required. []GetModelsModelBackupOperationDetail
Backup operation details of the model.
BackupSettings This property is required. []GetModelsModelBackupSetting
Back up setting details of the model.
Category This property is required. string
Specifies the type of models to list. By default, user models are listed.
CompartmentId This property is required. string
Filter results by the OCID of the compartment.
CreatedBy This property is required. string
Filter results by the OCID of the user who created the resource.
CustomMetadataLists This property is required. []GetModelsModelCustomMetadataList
An array of custom metadata details for the model.
DefinedMetadataLists This property is required. []GetModelsModelDefinedMetadataList
An array of defined metadata details for the model.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
Description This property is required. string
A short description of the model.
DisplayName This property is required. string
Filter results by its user-friendly name.
EmptyModel This property is required. bool
FreeformTags This property is required. map[string]string
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
Id This property is required. string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
InputSchema This property is required. string
Input schema file content in String format
IsModelByReference This property is required. bool
Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
LifecycleDetails This property is required. string
Details about the lifecycle state of the model.
ModelArtifact This property is required. string
ModelVersionSetId This property is required. string
The OCID of the model version set that the model is associated to.
ModelVersionSetName This property is required. string
The name of the model version set that the model is associated to.
OutputSchema This property is required. string
Output schema file content in String format
ProjectId This property is required. string
Filter results by the OCID of the project.
RetentionOperationDetails This property is required. []GetModelsModelRetentionOperationDetail
Retention operation details for the model.
RetentionSettings This property is required. []GetModelsModelRetentionSetting
Retention setting details of the model.
State This property is required. string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
TimeCreated This property is required. string
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
VersionLabel This property is required. string
artifactContentDisposition This property is required. String
artifactContentLength This property is required. String
artifactContentMd5 This property is required. String
artifactLastModified This property is required. String
backupOperationDetails This property is required. List<GetModelsModelBackupOperationDetail>
Backup operation details of the model.
backupSettings This property is required. List<GetModelsModelBackupSetting>
Back up setting details of the model.
category This property is required. String
Specifies the type of models to list. By default, user models are listed.
compartmentId This property is required. String
Filter results by the OCID of the compartment.
createdBy This property is required. String
Filter results by the OCID of the user who created the resource.
customMetadataLists This property is required. List<GetModelsModelCustomMetadataList>
An array of custom metadata details for the model.
definedMetadataLists This property is required. List<GetModelsModelDefinedMetadataList>
An array of defined metadata details for the model.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
description This property is required. String
A short description of the model.
displayName This property is required. String
Filter results by its user-friendly name.
emptyModel This property is required. Boolean
freeformTags This property is required. Map<String,String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
id This property is required. String
Filter results by OCID. Must be an OCID of the correct type for the resource type.
inputSchema This property is required. String
Input schema file content in String format
isModelByReference This property is required. Boolean
Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
lifecycleDetails This property is required. String
Details about the lifecycle state of the model.
modelArtifact This property is required. String
modelVersionSetId This property is required. String
The OCID of the model version set that the model is associated to.
modelVersionSetName This property is required. String
The name of the model version set that the model is associated to.
outputSchema This property is required. String
Output schema file content in String format
projectId This property is required. String
Filter results by the OCID of the project.
retentionOperationDetails This property is required. List<GetModelsModelRetentionOperationDetail>
Retention operation details for the model.
retentionSettings This property is required. List<GetModelsModelRetentionSetting>
Retention setting details of the model.
state This property is required. String
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
timeCreated This property is required. String
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
versionLabel This property is required. String
artifactContentDisposition This property is required. string
artifactContentLength This property is required. string
artifactContentMd5 This property is required. string
artifactLastModified This property is required. string
backupOperationDetails This property is required. GetModelsModelBackupOperationDetail[]
Backup operation details of the model.
backupSettings This property is required. GetModelsModelBackupSetting[]
Back up setting details of the model.
category This property is required. string
Specifies the type of models to list. By default, user models are listed.
compartmentId This property is required. string
Filter results by the OCID of the compartment.
createdBy This property is required. string
Filter results by the OCID of the user who created the resource.
customMetadataLists This property is required. GetModelsModelCustomMetadataList[]
An array of custom metadata details for the model.
definedMetadataLists This property is required. GetModelsModelDefinedMetadataList[]
An array of defined metadata details for the model.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
description This property is required. string
A short description of the model.
displayName This property is required. string
Filter results by its user-friendly name.
emptyModel This property is required. boolean
freeformTags This property is required. {[key: string]: string}
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
id This property is required. string
Filter results by OCID. Must be an OCID of the correct type for the resource type.
inputSchema This property is required. string
Input schema file content in String format
isModelByReference This property is required. boolean
Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
lifecycleDetails This property is required. string
Details about the lifecycle state of the model.
modelArtifact This property is required. string
modelVersionSetId This property is required. string
The OCID of the model version set that the model is associated to.
modelVersionSetName This property is required. string
The name of the model version set that the model is associated to.
outputSchema This property is required. string
Output schema file content in String format
projectId This property is required. string
Filter results by the OCID of the project.
retentionOperationDetails This property is required. GetModelsModelRetentionOperationDetail[]
Retention operation details for the model.
retentionSettings This property is required. GetModelsModelRetentionSetting[]
Retention setting details of the model.
state This property is required. string
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
timeCreated This property is required. string
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
versionLabel This property is required. string
artifact_content_disposition This property is required. str
artifact_content_length This property is required. str
artifact_content_md5 This property is required. str
artifact_last_modified This property is required. str
backup_operation_details This property is required. Sequence[datascience.GetModelsModelBackupOperationDetail]
Backup operation details of the model.
backup_settings This property is required. Sequence[datascience.GetModelsModelBackupSetting]
Back up setting details of the model.
category This property is required. str
Specifies the type of models to list. By default, user models are listed.
compartment_id This property is required. str
Filter results by the OCID of the compartment.
created_by This property is required. str
Filter results by the OCID of the user who created the resource.
custom_metadata_lists This property is required. Sequence[datascience.GetModelsModelCustomMetadataList]
An array of custom metadata details for the model.
defined_metadata_lists This property is required. Sequence[datascience.GetModelsModelDefinedMetadataList]
An array of defined metadata details for the model.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
description This property is required. str
A short description of the model.
display_name This property is required. str
Filter results by its user-friendly name.
empty_model This property is required. bool
freeform_tags This property is required. Mapping[str, str]
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
id This property is required. str
Filter results by OCID. Must be an OCID of the correct type for the resource type.
input_schema This property is required. str
Input schema file content in String format
is_model_by_reference This property is required. bool
Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
lifecycle_details This property is required. str
Details about the lifecycle state of the model.
model_artifact This property is required. str
model_version_set_id This property is required. str
The OCID of the model version set that the model is associated to.
model_version_set_name This property is required. str
The name of the model version set that the model is associated to.
output_schema This property is required. str
Output schema file content in String format
project_id This property is required. str
Filter results by the OCID of the project.
retention_operation_details This property is required. Sequence[datascience.GetModelsModelRetentionOperationDetail]
Retention operation details for the model.
retention_settings This property is required. Sequence[datascience.GetModelsModelRetentionSetting]
Retention setting details of the model.
state This property is required. str
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
time_created This property is required. str
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
version_label This property is required. str
artifactContentDisposition This property is required. String
artifactContentLength This property is required. String
artifactContentMd5 This property is required. String
artifactLastModified This property is required. String
backupOperationDetails This property is required. List<Property Map>
Backup operation details of the model.
backupSettings This property is required. List<Property Map>
Back up setting details of the model.
category This property is required. String
Specifies the type of models to list. By default, user models are listed.
compartmentId This property is required. String
Filter results by the OCID of the compartment.
createdBy This property is required. String
Filter results by the OCID of the user who created the resource.
customMetadataLists This property is required. List<Property Map>
An array of custom metadata details for the model.
definedMetadataLists This property is required. List<Property Map>
An array of defined metadata details for the model.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
description This property is required. String
A short description of the model.
displayName This property is required. String
Filter results by its user-friendly name.
emptyModel This property is required. Boolean
freeformTags This property is required. Map<String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
id This property is required. String
Filter results by OCID. Must be an OCID of the correct type for the resource type.
inputSchema This property is required. String
Input schema file content in String format
isModelByReference This property is required. Boolean
Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
lifecycleDetails This property is required. String
Details about the lifecycle state of the model.
modelArtifact This property is required. String
modelVersionSetId This property is required. String
The OCID of the model version set that the model is associated to.
modelVersionSetName This property is required. String
The name of the model version set that the model is associated to.
outputSchema This property is required. String
Output schema file content in String format
projectId This property is required. String
Filter results by the OCID of the project.
retentionOperationDetails This property is required. List<Property Map>
Retention operation details for the model.
retentionSettings This property is required. List<Property Map>
Retention setting details of the model.
state This property is required. String
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
timeCreated This property is required. String
The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
versionLabel This property is required. String

GetModelsModelBackupOperationDetail

BackupState This property is required. string
The backup status of the model.
BackupStateDetails This property is required. string
The backup execution status details of the model.
TimeLastBackup This property is required. string
The last backup execution time of the model.
BackupState This property is required. string
The backup status of the model.
BackupStateDetails This property is required. string
The backup execution status details of the model.
TimeLastBackup This property is required. string
The last backup execution time of the model.
backupState This property is required. String
The backup status of the model.
backupStateDetails This property is required. String
The backup execution status details of the model.
timeLastBackup This property is required. String
The last backup execution time of the model.
backupState This property is required. string
The backup status of the model.
backupStateDetails This property is required. string
The backup execution status details of the model.
timeLastBackup This property is required. string
The last backup execution time of the model.
backup_state This property is required. str
The backup status of the model.
backup_state_details This property is required. str
The backup execution status details of the model.
time_last_backup This property is required. str
The last backup execution time of the model.
backupState This property is required. String
The backup status of the model.
backupStateDetails This property is required. String
The backup execution status details of the model.
timeLastBackup This property is required. String
The last backup execution time of the model.

GetModelsModelBackupSetting

BackupRegion This property is required. string
Oracle Cloud Infrastructure backup region for the model.
CustomerNotificationType This property is required. string
Customer notification options on success/failure of archival, deletion events.
IsBackupEnabled This property is required. bool
Boolean flag representing whether backup needs to be enabled/disabled for the model.
BackupRegion This property is required. string
Oracle Cloud Infrastructure backup region for the model.
CustomerNotificationType This property is required. string
Customer notification options on success/failure of archival, deletion events.
IsBackupEnabled This property is required. bool
Boolean flag representing whether backup needs to be enabled/disabled for the model.
backupRegion This property is required. String
Oracle Cloud Infrastructure backup region for the model.
customerNotificationType This property is required. String
Customer notification options on success/failure of archival, deletion events.
isBackupEnabled This property is required. Boolean
Boolean flag representing whether backup needs to be enabled/disabled for the model.
backupRegion This property is required. string
Oracle Cloud Infrastructure backup region for the model.
customerNotificationType This property is required. string
Customer notification options on success/failure of archival, deletion events.
isBackupEnabled This property is required. boolean
Boolean flag representing whether backup needs to be enabled/disabled for the model.
backup_region This property is required. str
Oracle Cloud Infrastructure backup region for the model.
customer_notification_type This property is required. str
Customer notification options on success/failure of archival, deletion events.
is_backup_enabled This property is required. bool
Boolean flag representing whether backup needs to be enabled/disabled for the model.
backupRegion This property is required. String
Oracle Cloud Infrastructure backup region for the model.
customerNotificationType This property is required. String
Customer notification options on success/failure of archival, deletion events.
isBackupEnabled This property is required. Boolean
Boolean flag representing whether backup needs to be enabled/disabled for the model.

GetModelsModelCustomMetadataList

Category This property is required. string
Specifies the type of models to list. By default, user models are listed.
Description This property is required. string
A short description of the model.
HasArtifact This property is required. bool
Is there any artifact present for the metadata.
Key This property is required. string
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
Keywords This property is required. List<string>
list of keywords for searching
Value This property is required. string
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other
Category This property is required. string
Specifies the type of models to list. By default, user models are listed.
Description This property is required. string
A short description of the model.
HasArtifact This property is required. bool
Is there any artifact present for the metadata.
Key This property is required. string
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
Keywords This property is required. []string
list of keywords for searching
Value This property is required. string
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other
category This property is required. String
Specifies the type of models to list. By default, user models are listed.
description This property is required. String
A short description of the model.
hasArtifact This property is required. Boolean
Is there any artifact present for the metadata.
key This property is required. String
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
keywords This property is required. List<String>
list of keywords for searching
value This property is required. String
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other
category This property is required. string
Specifies the type of models to list. By default, user models are listed.
description This property is required. string
A short description of the model.
hasArtifact This property is required. boolean
Is there any artifact present for the metadata.
key This property is required. string
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
keywords This property is required. string[]
list of keywords for searching
value This property is required. string
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other
category This property is required. str
Specifies the type of models to list. By default, user models are listed.
description This property is required. str
A short description of the model.
has_artifact This property is required. bool
Is there any artifact present for the metadata.
key This property is required. str
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
keywords This property is required. Sequence[str]
list of keywords for searching
value This property is required. str
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other
category This property is required. String
Specifies the type of models to list. By default, user models are listed.
description This property is required. String
A short description of the model.
hasArtifact This property is required. Boolean
Is there any artifact present for the metadata.
key This property is required. String
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
keywords This property is required. List<String>
list of keywords for searching
value This property is required. String
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other

GetModelsModelDefinedMetadataList

Category This property is required. string
Specifies the type of models to list. By default, user models are listed.
Description This property is required. string
A short description of the model.
HasArtifact This property is required. bool
Is there any artifact present for the metadata.
Key This property is required. string
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
Keywords This property is required. List<string>
list of keywords for searching
Value This property is required. string
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other
Category This property is required. string
Specifies the type of models to list. By default, user models are listed.
Description This property is required. string
A short description of the model.
HasArtifact This property is required. bool
Is there any artifact present for the metadata.
Key This property is required. string
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
Keywords This property is required. []string
list of keywords for searching
Value This property is required. string
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other
category This property is required. String
Specifies the type of models to list. By default, user models are listed.
description This property is required. String
A short description of the model.
hasArtifact This property is required. Boolean
Is there any artifact present for the metadata.
key This property is required. String
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
keywords This property is required. List<String>
list of keywords for searching
value This property is required. String
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other
category This property is required. string
Specifies the type of models to list. By default, user models are listed.
description This property is required. string
A short description of the model.
hasArtifact This property is required. boolean
Is there any artifact present for the metadata.
key This property is required. string
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
keywords This property is required. string[]
list of keywords for searching
value This property is required. string
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other
category This property is required. str
Specifies the type of models to list. By default, user models are listed.
description This property is required. str
A short description of the model.
has_artifact This property is required. bool
Is there any artifact present for the metadata.
key This property is required. str
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
keywords This property is required. Sequence[str]
list of keywords for searching
value This property is required. str
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other
category This property is required. String
Specifies the type of models to list. By default, user models are listed.
description This property is required. String
A short description of the model.
hasArtifact This property is required. Boolean
Is there any artifact present for the metadata.
key This property is required. String
Key of the model Metadata. The key can either be user defined or Oracle Cloud Infrastructure defined. List of Oracle Cloud Infrastructure defined keys:

  • useCaseType
  • libraryName
  • libraryVersion
  • estimatorClass
  • hyperParameters
  • testArtifactresults
  • fineTuningConfiguration
  • deploymentConfiguration
  • readme
  • license
  • evaluationConfiguration
keywords This property is required. List<String>
list of keywords for searching
value This property is required. String
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other

GetModelsModelRetentionOperationDetail

ArchiveState This property is required. string
The archival status of model.
ArchiveStateDetails This property is required. string
The archival state details of the model.
DeleteState This property is required. string
The deletion status of the archived model.
DeleteStateDetails This property is required. string
The deletion status details of the archived model.
TimeArchivalScheduled This property is required. string
The estimated archival time of the model based on the provided retention setting.
TimeDeletionScheduled This property is required. string
The estimated deletion time of the model based on the provided retention setting.
ArchiveState This property is required. string
The archival status of model.
ArchiveStateDetails This property is required. string
The archival state details of the model.
DeleteState This property is required. string
The deletion status of the archived model.
DeleteStateDetails This property is required. string
The deletion status details of the archived model.
TimeArchivalScheduled This property is required. string
The estimated archival time of the model based on the provided retention setting.
TimeDeletionScheduled This property is required. string
The estimated deletion time of the model based on the provided retention setting.
archiveState This property is required. String
The archival status of model.
archiveStateDetails This property is required. String
The archival state details of the model.
deleteState This property is required. String
The deletion status of the archived model.
deleteStateDetails This property is required. String
The deletion status details of the archived model.
timeArchivalScheduled This property is required. String
The estimated archival time of the model based on the provided retention setting.
timeDeletionScheduled This property is required. String
The estimated deletion time of the model based on the provided retention setting.
archiveState This property is required. string
The archival status of model.
archiveStateDetails This property is required. string
The archival state details of the model.
deleteState This property is required. string
The deletion status of the archived model.
deleteStateDetails This property is required. string
The deletion status details of the archived model.
timeArchivalScheduled This property is required. string
The estimated archival time of the model based on the provided retention setting.
timeDeletionScheduled This property is required. string
The estimated deletion time of the model based on the provided retention setting.
archive_state This property is required. str
The archival status of model.
archive_state_details This property is required. str
The archival state details of the model.
delete_state This property is required. str
The deletion status of the archived model.
delete_state_details This property is required. str
The deletion status details of the archived model.
time_archival_scheduled This property is required. str
The estimated archival time of the model based on the provided retention setting.
time_deletion_scheduled This property is required. str
The estimated deletion time of the model based on the provided retention setting.
archiveState This property is required. String
The archival status of model.
archiveStateDetails This property is required. String
The archival state details of the model.
deleteState This property is required. String
The deletion status of the archived model.
deleteStateDetails This property is required. String
The deletion status details of the archived model.
timeArchivalScheduled This property is required. String
The estimated archival time of the model based on the provided retention setting.
timeDeletionScheduled This property is required. String
The estimated deletion time of the model based on the provided retention setting.

GetModelsModelRetentionSetting

ArchiveAfterDays This property is required. int
Number of days after which the model will be archived.
CustomerNotificationType This property is required. string
Customer notification options on success/failure of archival, deletion events.
DeleteAfterDays This property is required. int
Number of days after which the archived model will be deleted.
ArchiveAfterDays This property is required. int
Number of days after which the model will be archived.
CustomerNotificationType This property is required. string
Customer notification options on success/failure of archival, deletion events.
DeleteAfterDays This property is required. int
Number of days after which the archived model will be deleted.
archiveAfterDays This property is required. Integer
Number of days after which the model will be archived.
customerNotificationType This property is required. String
Customer notification options on success/failure of archival, deletion events.
deleteAfterDays This property is required. Integer
Number of days after which the archived model will be deleted.
archiveAfterDays This property is required. number
Number of days after which the model will be archived.
customerNotificationType This property is required. string
Customer notification options on success/failure of archival, deletion events.
deleteAfterDays This property is required. number
Number of days after which the archived model will be deleted.
archive_after_days This property is required. int
Number of days after which the model will be archived.
customer_notification_type This property is required. str
Customer notification options on success/failure of archival, deletion events.
delete_after_days This property is required. int
Number of days after which the archived model will be deleted.
archiveAfterDays This property is required. Number
Number of days after which the model will be archived.
customerNotificationType This property is required. String
Customer notification options on success/failure of archival, deletion events.
deleteAfterDays This property is required. Number
Number of days after which the archived model will be deleted.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi