MlApplication

class oci.data_science.models.MlApplication(**kwargs)

Bases: object

Resource representing a definition of an AI/ML use-case

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a MlApplication.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a MlApplication.

compartment_id

[Required] Gets the compartment_id of this MlApplication.

defined_tags

[Required] Gets the defined_tags of this MlApplication.

description

Gets the description of this MlApplication.

freeform_tags

[Required] Gets the freeform_tags of this MlApplication.

id

[Required] Gets the id of this MlApplication.

lifecycle_details

[Required] Gets the lifecycle_details of this MlApplication.

lifecycle_state

[Required] Gets the lifecycle_state of this MlApplication.

name

[Required] Gets the name of this MlApplication.

system_tags

Gets the system_tags of this MlApplication.

time_created

[Required] Gets the time_created of this MlApplication.

time_updated

[Required] Gets the time_updated of this MlApplication.

Methods:

__init__(**kwargs)

Initializes a new MlApplication object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a MlApplication. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a MlApplication. This constant has a value of “FAILED”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this MlApplication.

  • name (str) – The value to assign to the name property of this MlApplication.

  • description (str) – The value to assign to the description property of this MlApplication.

  • compartment_id (str) – The value to assign to the compartment_id property of this MlApplication.

  • time_created (datetime) – The value to assign to the time_created property of this MlApplication.

  • time_updated (datetime) – The value to assign to the time_updated property of this MlApplication.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this MlApplication. Allowed values for this property are: “ACTIVE”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this MlApplication.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MlApplication.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MlApplication.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MlApplication.

property compartment_id

[Required] Gets the compartment_id of this MlApplication. The OCID of the compartment where the MlApplication is created.

Returns

The compartment_id of this MlApplication.

Return type

str

property defined_tags

[Required] Gets the defined_tags of this MlApplication. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this MlApplication.

Return type

dict(str, dict(str, object))

property description

Gets the description of this MlApplication. Optional description of the ML Application

Returns

The description of this MlApplication.

Return type

str

property freeform_tags

[Required] Gets the freeform_tags of this MlApplication. 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”}

Returns

The freeform_tags of this MlApplication.

Return type

dict(str, str)

property id

[Required] Gets the id of this MlApplication. The OCID of the MlApplication. Unique identifier that is immutable after creation.

Returns

The id of this MlApplication.

Return type

str

property lifecycle_details

[Required] Gets the lifecycle_details of this MlApplication. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Returns

The lifecycle_details of this MlApplication.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this MlApplication. The current state of the MlApplication.

Allowed values for this property are: “ACTIVE”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this MlApplication.

Return type

str

property name

[Required] Gets the name of this MlApplication. The name of MlApplication. It is unique in a given tenancy.

Returns

The name of this MlApplication.

Return type

str

property system_tags

Gets the system_tags of this MlApplication. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this MlApplication.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this MlApplication. Creation time of MlApplication in the format defined by RFC 3339.

Returns

The time_created of this MlApplication.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this MlApplication. Time of last MlApplication update in the format defined by RFC 3339.

Returns

The time_updated of this MlApplication.

Return type

datetime