CreateModelDetails

class oci.ai_anomaly_detection.models.CreateModelDetails(**kwargs)

Bases: object

The information needed to train a new model

Methods

__init__(**kwargs) Initializes a new CreateModelDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateModelDetails.
defined_tags Gets the defined_tags of this CreateModelDetails.
description Gets the description of this CreateModelDetails.
display_name Gets the display_name of this CreateModelDetails.
freeform_tags Gets the freeform_tags of this CreateModelDetails.
model_training_details [Required] Gets the model_training_details of this CreateModelDetails.
project_id [Required] Gets the project_id of this CreateModelDetails.
__init__(**kwargs)

Initializes a new CreateModelDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateModelDetails.
  • description (str) – The value to assign to the description property of this CreateModelDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateModelDetails.
  • model_training_details (oci.ai_anomaly_detection.models.ModelTrainingDetails) – The value to assign to the model_training_details property of this CreateModelDetails.
  • project_id (str) – The value to assign to the project_id property of this CreateModelDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateModelDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateModelDetails.
compartment_id

[Required] Gets the compartment_id of this CreateModelDetails. The OCID for the ai model’s compartment.

Returns:The compartment_id of this CreateModelDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateModelDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateModelDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateModelDetails. A short description of the ai model.

Returns:The description of this CreateModelDetails.
Return type:str
display_name

Gets the display_name of this CreateModelDetails. A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

Returns:The display_name of this CreateModelDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateModelDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateModelDetails.
Return type:dict(str, str)
model_training_details

[Required] Gets the model_training_details of this CreateModelDetails.

Returns:The model_training_details of this CreateModelDetails.
Return type:oci.ai_anomaly_detection.models.ModelTrainingDetails
project_id

[Required] Gets the project_id of this CreateModelDetails. The OCID of the project to associate with the model.

Returns:The project_id of this CreateModelDetails.
Return type:str