MlApplicationInstanceView

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

Bases: object

Representation of ML Application Instance which providers use for instance observability.

Attributes:

LIFECYCLE_STATE_ACTIVE

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

LIFECYCLE_STATE_CREATING

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

LIFECYCLE_STATE_DELETED

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

LIFECYCLE_STATE_DELETING

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

LIFECYCLE_STATE_FAILED

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

LIFECYCLE_STATE_INACTIVE

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

LIFECYCLE_STATE_NEEDS_ATTENTION

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

LIFECYCLE_STATE_UPDATING

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

LIFECYCLE_SUBSTATE_ACTIVE

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

LIFECYCLE_SUBSTATE_CREATING

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

LIFECYCLE_SUBSTATE_DELETED

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

LIFECYCLE_SUBSTATE_DELETING

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

LIFECYCLE_SUBSTATE_FAILED

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

LIFECYCLE_SUBSTATE_INACTIVE

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

LIFECYCLE_SUBSTATE_NEEDS_ATTENTION

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

LIFECYCLE_SUBSTATE_NON_RECOVERABLE_PROVIDER_ISSUE

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

LIFECYCLE_SUBSTATE_NON_RECOVERABLE_SERVICE_ISSUE

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

LIFECYCLE_SUBSTATE_RECOVERABLE_PROVIDER_ISSUE

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

LIFECYCLE_SUBSTATE_RECOVERABLE_SERVICE_ISSUE

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

LIFECYCLE_SUBSTATE_UPDATING

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

LIFECYCLE_SUBSTATE_UPGRADING

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

auth_configuration

Gets the auth_configuration of this MlApplicationInstanceView.

compartment_id

[Required] Gets the compartment_id of this MlApplicationInstanceView.

configuration

Gets the configuration of this MlApplicationInstanceView.

defined_tags

[Required] Gets the defined_tags of this MlApplicationInstanceView.

display_name

[Required] Gets the display_name of this MlApplicationInstanceView.

freeform_tags

[Required] Gets the freeform_tags of this MlApplicationInstanceView.

id

[Required] Gets the id of this MlApplicationInstanceView.

instance_components

Gets the instance_components of this MlApplicationInstanceView.

is_enabled

[Required] Gets the is_enabled of this MlApplicationInstanceView.

lifecycle_details

[Required] Gets the lifecycle_details of this MlApplicationInstanceView.

lifecycle_state

[Required] Gets the lifecycle_state of this MlApplicationInstanceView.

lifecycle_substate

[Required] Gets the lifecycle_substate of this MlApplicationInstanceView.

ml_application_id

[Required] Gets the ml_application_id of this MlApplicationInstanceView.

ml_application_implementation_id

[Required] Gets the ml_application_implementation_id of this MlApplicationInstanceView.

ml_application_implementation_name

[Required] Gets the ml_application_implementation_name of this MlApplicationInstanceView.

ml_application_implementation_version_id

[Required] Gets the ml_application_implementation_version_id of this MlApplicationInstanceView.

ml_application_instance_id

[Required] Gets the ml_application_instance_id of this MlApplicationInstanceView.

ml_application_name

[Required] Gets the ml_application_name of this MlApplicationInstanceView.

package_version

[Required] Gets the package_version of this MlApplicationInstanceView.

prediction_endpoint_details

Gets the prediction_endpoint_details of this MlApplicationInstanceView.

system_tags

Gets the system_tags of this MlApplicationInstanceView.

time_created

[Required] Gets the time_created of this MlApplicationInstanceView.

Methods:

__init__(**kwargs)

Initializes a new MlApplicationInstanceView object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a MlApplicationInstanceView. 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 MlApplicationInstanceView. 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 MlApplicationInstanceView. This constant has a value of “UPDATING”

LIFECYCLE_SUBSTATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_SUBSTATE_CREATING = 'CREATING'

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

LIFECYCLE_SUBSTATE_DELETED = 'DELETED'

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

LIFECYCLE_SUBSTATE_DELETING = 'DELETING'

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

LIFECYCLE_SUBSTATE_FAILED = 'FAILED'

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

LIFECYCLE_SUBSTATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_substate property of a MlApplicationInstanceView. 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 MlApplicationInstanceView. 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 MlApplicationInstanceView. 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 MlApplicationInstanceView. 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 MlApplicationInstanceView. 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 MlApplicationInstanceView. 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 MlApplicationInstanceView. This constant has a value of “UPDATING”

LIFECYCLE_SUBSTATE_UPGRADING = 'UPGRADING'

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

__init__(**kwargs)

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

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

  • ml_application_instance_id (str) – The value to assign to the ml_application_instance_id property of this MlApplicationInstanceView.

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

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

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

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

  • package_version (str) – The value to assign to the package_version property of this MlApplicationInstanceView.

  • ml_application_implementation_version_id (str) – The value to assign to the ml_application_implementation_version_id property of this MlApplicationInstanceView.

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

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

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

  • instance_components (list[oci.data_science.models.InstanceComponent]) – The value to assign to the instance_components property of this MlApplicationInstanceView.

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

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

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

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this MlApplicationInstanceView. 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 MlApplicationInstanceView. 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 MlApplicationInstanceView.

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

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

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

property auth_configuration

Gets the auth_configuration of this MlApplicationInstanceView.

Returns

The auth_configuration of this MlApplicationInstanceView.

Return type

oci.data_science.models.AuthConfiguration

property compartment_id

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

Returns

The compartment_id of this MlApplicationInstanceView.

Return type

str

property configuration

Gets the configuration of this MlApplicationInstanceView. This field is a copy from MlApplicationInstance created by the consumer. Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplication.

Returns

The configuration of this MlApplicationInstanceView.

Return type

list[oci.data_science.models.ConfigurationProperty]

property defined_tags

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

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this MlApplicationInstanceView. The name of the MlApplicationInstance (created by the consumer) which this MlApplicationInstanceView is mirroring.

Returns

The display_name of this MlApplicationInstanceView.

Return type

str

property freeform_tags

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

Return type

dict(str, str)

property id

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

Returns

The id of this MlApplicationInstanceView.

Return type

str

property instance_components

Gets the instance_components of this MlApplicationInstanceView. References (Identifiers) for components dedicated to this instance.

Returns

The instance_components of this MlApplicationInstanceView.

Return type

list[oci.data_science.models.InstanceComponent]

property is_enabled

[Required] Gets the is_enabled of this MlApplicationInstanceView. This field is a copy from MlApplicationInstance created by the consumer. States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.

Returns

The is_enabled of this MlApplicationInstanceView.

Return type

bool

property lifecycle_details

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

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this MlApplicationInstanceView. The current state of the MlApplicationInstance(View).

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 MlApplicationInstanceView.

Return type

str

property lifecycle_substate

[Required] Gets the lifecycle_substate of this MlApplicationInstanceView. The current substate of the MlApplicationInstance(View). The substate has MlApplicationInstance(View) 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 MlApplicationInstanceView.

Return type

str

property ml_application_id

[Required] Gets the ml_application_id of this MlApplicationInstanceView. This field is a copy from MlApplicationInstance created by the consumer. The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.

Returns

The ml_application_id of this MlApplicationInstanceView.

Return type

str

property ml_application_implementation_id

[Required] Gets the ml_application_implementation_id of this MlApplicationInstanceView. This field is a copy from MlApplicationInstance created by the consumer. 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 MlApplicationInstanceView.

Return type

str

property ml_application_implementation_name

[Required] Gets the ml_application_implementation_name of this MlApplicationInstanceView. This field is a copy from MlApplicationInstance created by the consumer. The name of Ml Application Implemenation (based on mlApplicationImplementationId)

Returns

The ml_application_implementation_name of this MlApplicationInstanceView.

Return type

str

property ml_application_implementation_version_id

[Required] Gets the ml_application_implementation_version_id of this MlApplicationInstanceView. The OCID of the MlApplicationImplementationVersion

Returns

The ml_application_implementation_version_id of this MlApplicationInstanceView.

Return type

str

property ml_application_instance_id

[Required] Gets the ml_application_instance_id of this MlApplicationInstanceView. The OCID of the MlApplicationInstance (created by the consumer) which this MlApplicationInstanceView is mirroring.

Returns

The ml_application_instance_id of this MlApplicationInstanceView.

Return type

str

property ml_application_name

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

Returns

The ml_application_name of this MlApplicationInstanceView.

Return type

str

property package_version

[Required] Gets the package_version of this MlApplicationInstanceView. Version of MlApplication package which is currently used by this MlApplicationInstance.

Returns

The package_version of this MlApplicationInstanceView.

Return type

str

property prediction_endpoint_details

Gets the prediction_endpoint_details of this MlApplicationInstanceView.

Returns

The prediction_endpoint_details of this MlApplicationInstanceView.

Return type

oci.data_science.models.PredictionEndpointDetails

property system_tags

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

Return type

dict(str, dict(str, object))

property time_created

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

Returns

The time_created of this MlApplicationInstanceView.

Return type

datetime