Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DataScience.getModels
Explore with Pulumi AI
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,
});
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)
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
	})
}
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,
    });
});
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());
    }
}
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}
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>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[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[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]func GetModels(ctx *Context, args *GetModelsArgs, opts ...InvokeOption) (*GetModelsResult, error)
func GetModelsOutput(ctx *Context, args *GetModelsOutputArgs, opts ...InvokeOption) GetModelsResultOutput> 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)
}public static CompletableFuture<GetModelsResult> getModels(GetModelsArgs args, InvokeOptions options)
public static Output<GetModelsResult> getModels(GetModelsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataScience/getModels:getModels
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId 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
List<GetModels Filter> 
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- ModelVersion stringSet Id 
- The OCID of the model version set that the model is associated to.
- ModelVersion stringSet Name 
- 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 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
[]GetModels Filter 
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- ModelVersion stringSet Id 
- The OCID of the model version set that the model is associated to.
- ModelVersion stringSet Name 
- 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 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
List<GetModels Filter> 
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- modelVersion StringSet Id 
- The OCID of the model version set that the model is associated to.
- modelVersion StringSet Name 
- 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 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
GetModels Filter[] 
- id string
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- modelVersion stringSet Id 
- The OCID of the model version set that the model is associated to.
- modelVersion stringSet Name 
- 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 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
Sequence[GetModels Filter] 
- id str
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- model_version_ strset_ id 
- The OCID of the model version set that the model is associated to.
- model_version_ strset_ name 
- 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 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 List<Property Map>
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- modelVersion StringSet Id 
- The OCID of the model version set that the model is associated to.
- modelVersion StringSet Name 
- 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<GetModels Model> 
- 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<GetModels Filter> 
- Id string
- The OCID of the model.
- ModelVersion stringSet Id 
- The OCID of the model version set that the model is associated to.
- ModelVersion stringSet Name 
- 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
[]GetModels Model 
- 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
[]GetModels Filter 
- Id string
- The OCID of the model.
- ModelVersion stringSet Id 
- The OCID of the model version set that the model is associated to.
- ModelVersion stringSet Name 
- 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<GetModels Model> 
- 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<GetModels Filter> 
- id String
- The OCID of the model.
- modelVersion StringSet Id 
- The OCID of the model version set that the model is associated to.
- modelVersion StringSet Name 
- 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
GetModels Model[] 
- 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
GetModels Filter[] 
- id string
- The OCID of the model.
- modelVersion stringSet Id 
- The OCID of the model version set that the model is associated to.
- modelVersion stringSet Name 
- 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[GetModels Model] 
- 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[GetModels Filter] 
- id str
- The OCID of the model.
- model_version_ strset_ id 
- The OCID of the model version set that the model is associated to.
- model_version_ strset_ name 
- 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.
- modelVersion StringSet Id 
- The OCID of the model version set that the model is associated to.
- modelVersion StringSet Name 
- 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  
GetModelsModel  
- ArtifactContent stringDisposition 
- ArtifactContent stringLength 
- ArtifactContent stringMd5 
- ArtifactLast stringModified 
- BackupOperation List<GetDetails Models Model Backup Operation Detail> 
- Backup operation details of the model.
- BackupSettings List<GetModels Model Backup Setting> 
- Back up setting details of the model.
- Category string
- Specifies the type of models to list. By default, user models are listed.
- CompartmentId string
- Filter results by the OCID of the compartment.
- CreatedBy string
- Filter results by the OCID of the user who created the resource.
- CustomMetadata List<GetLists Models Model Custom Metadata List> 
- An array of custom metadata details for the model.
- DefinedMetadata List<GetLists Models Model Defined Metadata List> 
- An array of defined metadata details for the model.
- 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 string
- A short description of the model.
- DisplayName string
- Filter results by its user-friendly name.
- EmptyModel bool
- 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 string
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- InputSchema string
- Input schema file content in String format
- IsModel boolBy Reference 
- Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
- LifecycleDetails string
- Details about the lifecycle state of the model.
- ModelArtifact string
- ModelVersion stringSet Id 
- The OCID of the model version set that the model is associated to.
- ModelVersion stringSet Name 
- The name of the model version set that the model is associated to.
- OutputSchema string
- Output schema file content in String format
- ProjectId string
- Filter results by the OCID of the project.
- RetentionOperation List<GetDetails Models Model Retention Operation Detail> 
- Retention operation details for the model.
- RetentionSettings List<GetModels Model Retention Setting> 
- Retention setting details of the model.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- TimeCreated string
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- VersionLabel string
- ArtifactContent stringDisposition 
- ArtifactContent stringLength 
- ArtifactContent stringMd5 
- ArtifactLast stringModified 
- BackupOperation []GetDetails Models Model Backup Operation Detail 
- Backup operation details of the model.
- BackupSettings []GetModels Model Backup Setting 
- Back up setting details of the model.
- Category string
- Specifies the type of models to list. By default, user models are listed.
- CompartmentId string
- Filter results by the OCID of the compartment.
- CreatedBy string
- Filter results by the OCID of the user who created the resource.
- CustomMetadata []GetLists Models Model Custom Metadata List 
- An array of custom metadata details for the model.
- DefinedMetadata []GetLists Models Model Defined Metadata List 
- An array of defined metadata details for the model.
- 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 string
- A short description of the model.
- DisplayName string
- Filter results by its user-friendly name.
- EmptyModel bool
- 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 string
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- InputSchema string
- Input schema file content in String format
- IsModel boolBy Reference 
- Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
- LifecycleDetails string
- Details about the lifecycle state of the model.
- ModelArtifact string
- ModelVersion stringSet Id 
- The OCID of the model version set that the model is associated to.
- ModelVersion stringSet Name 
- The name of the model version set that the model is associated to.
- OutputSchema string
- Output schema file content in String format
- ProjectId string
- Filter results by the OCID of the project.
- RetentionOperation []GetDetails Models Model Retention Operation Detail 
- Retention operation details for the model.
- RetentionSettings []GetModels Model Retention Setting 
- Retention setting details of the model.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- TimeCreated string
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- VersionLabel string
- artifactContent StringDisposition 
- artifactContent StringLength 
- artifactContent StringMd5 
- artifactLast StringModified 
- backupOperation List<GetDetails Models Model Backup Operation Detail> 
- Backup operation details of the model.
- backupSettings List<GetModels Model Backup Setting> 
- Back up setting details of the model.
- category String
- Specifies the type of models to list. By default, user models are listed.
- compartmentId String
- Filter results by the OCID of the compartment.
- createdBy String
- Filter results by the OCID of the user who created the resource.
- customMetadata List<GetLists Models Model Custom Metadata List> 
- An array of custom metadata details for the model.
- definedMetadata List<GetLists Models Model Defined Metadata List> 
- An array of defined metadata details for the model.
- 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 String
- A short description of the model.
- displayName String
- Filter results by its user-friendly name.
- emptyModel Boolean
- 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 String
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- inputSchema String
- Input schema file content in String format
- isModel BooleanBy Reference 
- Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
- lifecycleDetails String
- Details about the lifecycle state of the model.
- modelArtifact String
- modelVersion StringSet Id 
- The OCID of the model version set that the model is associated to.
- modelVersion StringSet Name 
- The name of the model version set that the model is associated to.
- outputSchema String
- Output schema file content in String format
- projectId String
- Filter results by the OCID of the project.
- retentionOperation List<GetDetails Models Model Retention Operation Detail> 
- Retention operation details for the model.
- retentionSettings List<GetModels Model Retention Setting> 
- Retention setting details of the model.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- timeCreated String
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- versionLabel String
- artifactContent stringDisposition 
- artifactContent stringLength 
- artifactContent stringMd5 
- artifactLast stringModified 
- backupOperation GetDetails Models Model Backup Operation Detail[] 
- Backup operation details of the model.
- backupSettings GetModels Model Backup Setting[] 
- Back up setting details of the model.
- category string
- Specifies the type of models to list. By default, user models are listed.
- compartmentId string
- Filter results by the OCID of the compartment.
- createdBy string
- Filter results by the OCID of the user who created the resource.
- customMetadata GetLists Models Model Custom Metadata List[] 
- An array of custom metadata details for the model.
- definedMetadata GetLists Models Model Defined Metadata List[] 
- An array of defined metadata details for the model.
- {[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 string
- A short description of the model.
- displayName string
- Filter results by its user-friendly name.
- emptyModel boolean
- {[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 string
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- inputSchema string
- Input schema file content in String format
- isModel booleanBy Reference 
- Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
- lifecycleDetails string
- Details about the lifecycle state of the model.
- modelArtifact string
- modelVersion stringSet Id 
- The OCID of the model version set that the model is associated to.
- modelVersion stringSet Name 
- The name of the model version set that the model is associated to.
- outputSchema string
- Output schema file content in String format
- projectId string
- Filter results by the OCID of the project.
- retentionOperation GetDetails Models Model Retention Operation Detail[] 
- Retention operation details for the model.
- retentionSettings GetModels Model Retention Setting[] 
- Retention setting details of the model.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- timeCreated string
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- versionLabel string
- artifact_content_ strdisposition 
- artifact_content_ strlength 
- artifact_content_ strmd5 
- artifact_last_ strmodified 
- backup_operation_ Sequence[Getdetails Models Model Backup Operation Detail] 
- Backup operation details of the model.
- backup_settings Sequence[GetModels Model Backup Setting] 
- Back up setting details of the model.
- category str
- Specifies the type of models to list. By default, user models are listed.
- compartment_id str
- Filter results by the OCID of the compartment.
- created_by str
- Filter results by the OCID of the user who created the resource.
- custom_metadata_ Sequence[Getlists Models Model Custom Metadata List] 
- An array of custom metadata details for the model.
- defined_metadata_ Sequence[Getlists Models Model Defined Metadata List] 
- An array of defined metadata details for the model.
- 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 str
- A short description of the model.
- display_name str
- Filter results by its user-friendly name.
- empty_model bool
- 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 str
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- input_schema str
- Input schema file content in String format
- is_model_ boolby_ reference 
- Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
- lifecycle_details str
- Details about the lifecycle state of the model.
- model_artifact str
- model_version_ strset_ id 
- The OCID of the model version set that the model is associated to.
- model_version_ strset_ name 
- The name of the model version set that the model is associated to.
- output_schema str
- Output schema file content in String format
- project_id str
- Filter results by the OCID of the project.
- retention_operation_ Sequence[Getdetails Models Model Retention Operation Detail] 
- Retention operation details for the model.
- retention_settings Sequence[GetModels Model Retention Setting] 
- Retention setting details of the model.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time_created 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 str
- artifactContent StringDisposition 
- artifactContent StringLength 
- artifactContent StringMd5 
- artifactLast StringModified 
- backupOperation List<Property Map>Details 
- Backup operation details of the model.
- backupSettings List<Property Map>
- Back up setting details of the model.
- category String
- Specifies the type of models to list. By default, user models are listed.
- compartmentId String
- Filter results by the OCID of the compartment.
- createdBy String
- Filter results by the OCID of the user who created the resource.
- customMetadata List<Property Map>Lists 
- An array of custom metadata details for the model.
- definedMetadata List<Property Map>Lists 
- An array of defined metadata details for the model.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- description String
- A short description of the model.
- displayName String
- Filter results by its user-friendly name.
- emptyModel Boolean
- 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 String
- Filter results by OCID. Must be an OCID of the correct type for the resource type.
- inputSchema String
- Input schema file content in String format
- isModel BooleanBy Reference 
- Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
- lifecycleDetails String
- Details about the lifecycle state of the model.
- modelArtifact String
- modelVersion StringSet Id 
- The OCID of the model version set that the model is associated to.
- modelVersion StringSet Name 
- The name of the model version set that the model is associated to.
- outputSchema String
- Output schema file content in String format
- projectId String
- Filter results by the OCID of the project.
- retentionOperation List<Property Map>Details 
- Retention operation details for the model.
- retentionSettings List<Property Map>
- Retention setting details of the model.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- timeCreated String
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- versionLabel String
GetModelsModelBackupOperationDetail     
- BackupState string
- The backup status of the model.
- BackupState stringDetails 
- The backup execution status details of the model.
- TimeLast stringBackup 
- The last backup execution time of the model.
- BackupState string
- The backup status of the model.
- BackupState stringDetails 
- The backup execution status details of the model.
- TimeLast stringBackup 
- The last backup execution time of the model.
- backupState String
- The backup status of the model.
- backupState StringDetails 
- The backup execution status details of the model.
- timeLast StringBackup 
- The last backup execution time of the model.
- backupState string
- The backup status of the model.
- backupState stringDetails 
- The backup execution status details of the model.
- timeLast stringBackup 
- The last backup execution time of the model.
- backup_state str
- The backup status of the model.
- backup_state_ strdetails 
- The backup execution status details of the model.
- time_last_ strbackup 
- The last backup execution time of the model.
- backupState String
- The backup status of the model.
- backupState StringDetails 
- The backup execution status details of the model.
- timeLast StringBackup 
- The last backup execution time of the model.
GetModelsModelBackupSetting    
- BackupRegion string
- Oracle Cloud Infrastructure backup region for the model.
- CustomerNotification stringType 
- Customer notification options on success/failure of archival, deletion events.
- IsBackup boolEnabled 
- Boolean flag representing whether backup needs to be enabled/disabled for the model.
- BackupRegion string
- Oracle Cloud Infrastructure backup region for the model.
- CustomerNotification stringType 
- Customer notification options on success/failure of archival, deletion events.
- IsBackup boolEnabled 
- Boolean flag representing whether backup needs to be enabled/disabled for the model.
- backupRegion String
- Oracle Cloud Infrastructure backup region for the model.
- customerNotification StringType 
- Customer notification options on success/failure of archival, deletion events.
- isBackup BooleanEnabled 
- Boolean flag representing whether backup needs to be enabled/disabled for the model.
- backupRegion string
- Oracle Cloud Infrastructure backup region for the model.
- customerNotification stringType 
- Customer notification options on success/failure of archival, deletion events.
- isBackup booleanEnabled 
- Boolean flag representing whether backup needs to be enabled/disabled for the model.
- backup_region str
- Oracle Cloud Infrastructure backup region for the model.
- customer_notification_ strtype 
- Customer notification options on success/failure of archival, deletion events.
- is_backup_ boolenabled 
- Boolean flag representing whether backup needs to be enabled/disabled for the model.
- backupRegion String
- Oracle Cloud Infrastructure backup region for the model.
- customerNotification StringType 
- Customer notification options on success/failure of archival, deletion events.
- isBackup BooleanEnabled 
- Boolean flag representing whether backup needs to be enabled/disabled for the model.
GetModelsModelCustomMetadataList     
- Category string
- Specifies the type of models to list. By default, user models are listed.
- Description string
- A short description of the model.
- HasArtifact bool
- Is there any artifact present for the metadata.
- Key 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 List<string>
- list of keywords for searching
- Value 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 string
- Specifies the type of models to list. By default, user models are listed.
- Description string
- A short description of the model.
- HasArtifact bool
- Is there any artifact present for the metadata.
- Key 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 []string
- list of keywords for searching
- Value 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 String
- Specifies the type of models to list. By default, user models are listed.
- description String
- A short description of the model.
- hasArtifact Boolean
- Is there any artifact present for the metadata.
- key 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 List<String>
- list of keywords for searching
- value 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 string
- Specifies the type of models to list. By default, user models are listed.
- description string
- A short description of the model.
- hasArtifact boolean
- Is there any artifact present for the metadata.
- key 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 string[]
- list of keywords for searching
- value 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 str
- Specifies the type of models to list. By default, user models are listed.
- description str
- A short description of the model.
- has_artifact bool
- Is there any artifact present for the metadata.
- key 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 Sequence[str]
- list of keywords for searching
- value 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 String
- Specifies the type of models to list. By default, user models are listed.
- description String
- A short description of the model.
- hasArtifact Boolean
- Is there any artifact present for the metadata.
- key 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 List<String>
- list of keywords for searching
- value 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 string
- Specifies the type of models to list. By default, user models are listed.
- Description string
- A short description of the model.
- HasArtifact bool
- Is there any artifact present for the metadata.
- Key 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 List<string>
- list of keywords for searching
- Value 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 string
- Specifies the type of models to list. By default, user models are listed.
- Description string
- A short description of the model.
- HasArtifact bool
- Is there any artifact present for the metadata.
- Key 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 []string
- list of keywords for searching
- Value 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 String
- Specifies the type of models to list. By default, user models are listed.
- description String
- A short description of the model.
- hasArtifact Boolean
- Is there any artifact present for the metadata.
- key 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 List<String>
- list of keywords for searching
- value 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 string
- Specifies the type of models to list. By default, user models are listed.
- description string
- A short description of the model.
- hasArtifact boolean
- Is there any artifact present for the metadata.
- key 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 string[]
- list of keywords for searching
- value 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 str
- Specifies the type of models to list. By default, user models are listed.
- description str
- A short description of the model.
- has_artifact bool
- Is there any artifact present for the metadata.
- key 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 Sequence[str]
- list of keywords for searching
- value 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 String
- Specifies the type of models to list. By default, user models are listed.
- description String
- A short description of the model.
- hasArtifact Boolean
- Is there any artifact present for the metadata.
- key 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 List<String>
- list of keywords for searching
- value 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 string
- The archival status of model.
- ArchiveState stringDetails 
- The archival state details of the model.
- DeleteState string
- The deletion status of the archived model.
- DeleteState stringDetails 
- The deletion status details of the archived model.
- TimeArchival stringScheduled 
- The estimated archival time of the model based on the provided retention setting.
- TimeDeletion stringScheduled 
- The estimated deletion time of the model based on the provided retention setting.
- ArchiveState string
- The archival status of model.
- ArchiveState stringDetails 
- The archival state details of the model.
- DeleteState string
- The deletion status of the archived model.
- DeleteState stringDetails 
- The deletion status details of the archived model.
- TimeArchival stringScheduled 
- The estimated archival time of the model based on the provided retention setting.
- TimeDeletion stringScheduled 
- The estimated deletion time of the model based on the provided retention setting.
- archiveState String
- The archival status of model.
- archiveState StringDetails 
- The archival state details of the model.
- deleteState String
- The deletion status of the archived model.
- deleteState StringDetails 
- The deletion status details of the archived model.
- timeArchival StringScheduled 
- The estimated archival time of the model based on the provided retention setting.
- timeDeletion StringScheduled 
- The estimated deletion time of the model based on the provided retention setting.
- archiveState string
- The archival status of model.
- archiveState stringDetails 
- The archival state details of the model.
- deleteState string
- The deletion status of the archived model.
- deleteState stringDetails 
- The deletion status details of the archived model.
- timeArchival stringScheduled 
- The estimated archival time of the model based on the provided retention setting.
- timeDeletion stringScheduled 
- The estimated deletion time of the model based on the provided retention setting.
- archive_state str
- The archival status of model.
- archive_state_ strdetails 
- The archival state details of the model.
- delete_state str
- The deletion status of the archived model.
- delete_state_ strdetails 
- The deletion status details of the archived model.
- time_archival_ strscheduled 
- The estimated archival time of the model based on the provided retention setting.
- time_deletion_ strscheduled 
- The estimated deletion time of the model based on the provided retention setting.
- archiveState String
- The archival status of model.
- archiveState StringDetails 
- The archival state details of the model.
- deleteState String
- The deletion status of the archived model.
- deleteState StringDetails 
- The deletion status details of the archived model.
- timeArchival StringScheduled 
- The estimated archival time of the model based on the provided retention setting.
- timeDeletion StringScheduled 
- The estimated deletion time of the model based on the provided retention setting.
GetModelsModelRetentionSetting    
- ArchiveAfter intDays 
- Number of days after which the model will be archived.
- CustomerNotification stringType 
- Customer notification options on success/failure of archival, deletion events.
- DeleteAfter intDays 
- Number of days after which the archived model will be deleted.
- ArchiveAfter intDays 
- Number of days after which the model will be archived.
- CustomerNotification stringType 
- Customer notification options on success/failure of archival, deletion events.
- DeleteAfter intDays 
- Number of days after which the archived model will be deleted.
- archiveAfter IntegerDays 
- Number of days after which the model will be archived.
- customerNotification StringType 
- Customer notification options on success/failure of archival, deletion events.
- deleteAfter IntegerDays 
- Number of days after which the archived model will be deleted.
- archiveAfter numberDays 
- Number of days after which the model will be archived.
- customerNotification stringType 
- Customer notification options on success/failure of archival, deletion events.
- deleteAfter numberDays 
- Number of days after which the archived model will be deleted.
- archive_after_ intdays 
- Number of days after which the model will be archived.
- customer_notification_ strtype 
- Customer notification options on success/failure of archival, deletion events.
- delete_after_ intdays 
- Number of days after which the archived model will be deleted.
- archiveAfter NumberDays 
- Number of days after which the model will be archived.
- customerNotification StringType 
- Customer notification options on success/failure of archival, deletion events.
- deleteAfter NumberDays 
- 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 ociTerraform Provider.