MlApplicationInstance

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

Bases: object

Resource representing instance of ML Application.

Attributes:

LIFECYCLE_STATE_ACTIVE

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

LIFECYCLE_STATE_CREATING

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

LIFECYCLE_STATE_DELETED

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

LIFECYCLE_STATE_DELETING

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

LIFECYCLE_STATE_FAILED

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

LIFECYCLE_STATE_INACTIVE

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

LIFECYCLE_STATE_NEEDS_ATTENTION

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

LIFECYCLE_STATE_UPDATING

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

LIFECYCLE_SUBSTATE_ACTIVE

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_CREATING

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_DELETED

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_DELETING

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_FAILED

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_INACTIVE

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_NEEDS_ATTENTION

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_NON_RECOVERABLE_PROVIDER_ISSUE

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_NON_RECOVERABLE_SERVICE_ISSUE

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_RECOVERABLE_PROVIDER_ISSUE

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_RECOVERABLE_SERVICE_ISSUE

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_UPDATING

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

LIFECYCLE_SUBSTATE_UPGRADING

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance.

auth_configuration

Gets the auth_configuration of this MlApplicationInstance.

compartment_id

[Required] Gets the compartment_id of this MlApplicationInstance.

configuration

Gets the configuration of this MlApplicationInstance.

defined_tags

[Required] Gets the defined_tags of this MlApplicationInstance.

display_name

[Required] Gets the display_name of this MlApplicationInstance.

freeform_tags

[Required] Gets the freeform_tags of this MlApplicationInstance.

id

[Required] Gets the id of this MlApplicationInstance.

is_enabled

[Required] Gets the is_enabled of this MlApplicationInstance.

lifecycle_details

[Required] Gets the lifecycle_details of this MlApplicationInstance.

lifecycle_state

[Required] Gets the lifecycle_state of this MlApplicationInstance.

lifecycle_substate

[Required] Gets the lifecycle_substate of this MlApplicationInstance.

ml_application_id

[Required] Gets the ml_application_id of this MlApplicationInstance.

ml_application_implementation_id

[Required] Gets the ml_application_implementation_id of this MlApplicationInstance.

ml_application_implementation_name

[Required] Gets the ml_application_implementation_name of this MlApplicationInstance.

ml_application_name

[Required] Gets the ml_application_name of this MlApplicationInstance.

prediction_endpoint_details

Gets the prediction_endpoint_details of this MlApplicationInstance.

system_tags

Gets the system_tags of this MlApplicationInstance.

time_created

[Required] Gets the time_created of this MlApplicationInstance.

time_updated

[Required] Gets the time_updated of this MlApplicationInstance.

Methods:

__init__(**kwargs)

Initializes a new MlApplicationInstance object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

LIFECYCLE_SUBSTATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_SUBSTATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance. This constant has a value of “CREATING”

LIFECYCLE_SUBSTATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance. This constant has a value of “DELETED”

LIFECYCLE_SUBSTATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance. This constant has a value of “DELETING”

LIFECYCLE_SUBSTATE_FAILED = 'FAILED'

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

LIFECYCLE_SUBSTATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance. This constant has a value of “INACTIVE”

LIFECYCLE_SUBSTATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_SUBSTATE_NON_RECOVERABLE_PROVIDER_ISSUE = 'NON_RECOVERABLE_PROVIDER_ISSUE'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance. This constant has a value of “NON_RECOVERABLE_PROVIDER_ISSUE”

LIFECYCLE_SUBSTATE_NON_RECOVERABLE_SERVICE_ISSUE = 'NON_RECOVERABLE_SERVICE_ISSUE'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance. This constant has a value of “NON_RECOVERABLE_SERVICE_ISSUE”

LIFECYCLE_SUBSTATE_RECOVERABLE_PROVIDER_ISSUE = 'RECOVERABLE_PROVIDER_ISSUE'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance. This constant has a value of “RECOVERABLE_PROVIDER_ISSUE”

LIFECYCLE_SUBSTATE_RECOVERABLE_SERVICE_ISSUE = 'RECOVERABLE_SERVICE_ISSUE'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance. This constant has a value of “RECOVERABLE_SERVICE_ISSUE”

LIFECYCLE_SUBSTATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance. This constant has a value of “UPDATING”

LIFECYCLE_SUBSTATE_UPGRADING = 'UPGRADING'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstance. This constant has a value of “UPGRADING”

__init__(**kwargs)

Initializes a new MlApplicationInstance 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 MlApplicationInstance.

  • display_name (str) – The value to assign to the display_name property of this MlApplicationInstance.

  • ml_application_id (str) – The value to assign to the ml_application_id property of this MlApplicationInstance.

  • ml_application_name (str) – The value to assign to the ml_application_name property of this MlApplicationInstance.

  • ml_application_implementation_id (str) – The value to assign to the ml_application_implementation_id property of this MlApplicationInstance.

  • ml_application_implementation_name (str) – The value to assign to the ml_application_implementation_name property of this MlApplicationInstance.

  • auth_configuration (oci.data_science.models.AuthConfiguration) – The value to assign to the auth_configuration property of this MlApplicationInstance.

  • configuration (list[oci.data_science.models.ConfigurationProperty]) – The value to assign to the configuration property of this MlApplicationInstance.

  • is_enabled (bool) – The value to assign to the is_enabled property of this MlApplicationInstance.

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

  • prediction_endpoint_details (oci.data_science.models.PredictionEndpointDetails) – The value to assign to the prediction_endpoint_details property of this MlApplicationInstance.

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

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

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

  • lifecycle_substate (str) – The value to assign to the lifecycle_substate property of this MlApplicationInstance. Allowed values for this property are: “CREATING”, “UPDATING”, “UPGRADING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, “FAILED”, “NON_RECOVERABLE_PROVIDER_ISSUE”, “RECOVERABLE_PROVIDER_ISSUE”, “NON_RECOVERABLE_SERVICE_ISSUE”, “RECOVERABLE_SERVICE_ISSUE”, ‘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 MlApplicationInstance.

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

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

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

property auth_configuration

Gets the auth_configuration of this MlApplicationInstance.

Returns

The auth_configuration of this MlApplicationInstance.

Return type

oci.data_science.models.AuthConfiguration

property compartment_id

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

Returns

The compartment_id of this MlApplicationInstance.

Return type

str

property configuration

Gets the configuration of this MlApplicationInstance. Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.

Returns

The configuration of this MlApplicationInstance.

Return type

list[oci.data_science.models.ConfigurationProperty]

property defined_tags

[Required] Gets the defined_tags of this MlApplicationInstance. 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 MlApplicationInstance.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this MlApplicationInstance. The name of MlApplicationInstance. System will generate displayName when not provided during creation.

Returns

The display_name of this MlApplicationInstance.

Return type

str

property freeform_tags

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

Return type

dict(str, str)

property id

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

Returns

The id of this MlApplicationInstance.

Return type

str

property is_enabled

[Required] Gets the is_enabled of this MlApplicationInstance. States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.

Returns

The is_enabled of this MlApplicationInstance.

Return type

bool

property lifecycle_details

[Required] Gets the lifecycle_details of this MlApplicationInstance. 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 MlApplicationInstance.

Return type

str

property lifecycle_state

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

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

Returns

The lifecycle_state of this MlApplicationInstance.

Return type

str

property lifecycle_substate

[Required] Gets the lifecycle_substate of this MlApplicationInstance. The current substate of the MlApplicationInstance. The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all OCI resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.

Allowed values for this property are: “CREATING”, “UPDATING”, “UPGRADING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, “FAILED”, “NON_RECOVERABLE_PROVIDER_ISSUE”, “RECOVERABLE_PROVIDER_ISSUE”, “NON_RECOVERABLE_SERVICE_ISSUE”, “RECOVERABLE_SERVICE_ISSUE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_substate of this MlApplicationInstance.

Return type

str

property ml_application_id

[Required] Gets the ml_application_id of this MlApplicationInstance. The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.

Returns

The ml_application_id of this MlApplicationInstance.

Return type

str

property ml_application_implementation_id

[Required] Gets the ml_application_implementation_id of this MlApplicationInstance. The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

Returns

The ml_application_implementation_id of this MlApplicationInstance.

Return type

str

property ml_application_implementation_name

[Required] Gets the ml_application_implementation_name of this MlApplicationInstance. The name of Ml Application Implementation (based on mlApplicationImplementationId)

Returns

The ml_application_implementation_name of this MlApplicationInstance.

Return type

str

property ml_application_name

[Required] Gets the ml_application_name of this MlApplicationInstance. The name of ML Application (based on mlApplicationId).

Returns

The ml_application_name of this MlApplicationInstance.

Return type

str

property prediction_endpoint_details

Gets the prediction_endpoint_details of this MlApplicationInstance.

Returns

The prediction_endpoint_details of this MlApplicationInstance.

Return type

oci.data_science.models.PredictionEndpointDetails

property system_tags

Gets the system_tags of this MlApplicationInstance. 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 MlApplicationInstance.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this MlApplicationInstance. The time the the MlApplication was created. An RFC3339 formatted datetime string

Returns

The time_created of this MlApplicationInstance.

Return type

datetime

property time_updated

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

Returns

The time_updated of this MlApplicationInstance.

Return type

datetime