MlApplicationImplementation¶
- class oci.data_science.models.MlApplicationImplementation(**kwargs)¶
Bases:
objectResource representing solution for AI/ML use-case defined by ML Application
Attributes:
A constant which can be used with the lifecycle_state property of a MlApplicationImplementation.
A constant which can be used with the lifecycle_state property of a MlApplicationImplementation.
A constant which can be used with the lifecycle_state property of a MlApplicationImplementation.
A constant which can be used with the lifecycle_state property of a MlApplicationImplementation.
A constant which can be used with the lifecycle_state property of a MlApplicationImplementation.
A constant which can be used with the lifecycle_state property of a MlApplicationImplementation.
Gets the allowed_migration_destinations of this MlApplicationImplementation.
Gets the application_components of this MlApplicationImplementation.
[Required] Gets the compartment_id of this MlApplicationImplementation.
Gets the configuration_schema of this MlApplicationImplementation.
[Required] Gets the defined_tags of this MlApplicationImplementation.
Gets the description of this MlApplicationImplementation.
[Required] Gets the freeform_tags of this MlApplicationImplementation.
[Required] Gets the id of this MlApplicationImplementation.
[Required] Gets the lifecycle_details of this MlApplicationImplementation.
[Required] Gets the lifecycle_state of this MlApplicationImplementation.
Gets the logging of this MlApplicationImplementation.
[Required] Gets the ml_application_id of this MlApplicationImplementation.
[Required] Gets the ml_application_name of this MlApplicationImplementation.
Gets the ml_application_package_arguments of this MlApplicationImplementation.
[Required] Gets the name of this MlApplicationImplementation.
Gets the package_version of this MlApplicationImplementation.
Gets the system_tags of this MlApplicationImplementation.
[Required] Gets the time_created of this MlApplicationImplementation.
[Required] Gets the time_updated of this MlApplicationImplementation.
Methods:
__init__(**kwargs)Initializes a new MlApplicationImplementation object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a MlApplicationImplementation. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a MlApplicationImplementation. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a MlApplicationImplementation. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a MlApplicationImplementation. This constant has a value of “FAILED”
- LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'¶
A constant which can be used with the lifecycle_state property of a MlApplicationImplementation. 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 MlApplicationImplementation. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new MlApplicationImplementation 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 MlApplicationImplementation.
name (str) – The value to assign to the name property of this MlApplicationImplementation.
description (str) – The value to assign to the description property of this MlApplicationImplementation.
ml_application_id (str) – The value to assign to the ml_application_id property of this MlApplicationImplementation.
ml_application_name (str) – The value to assign to the ml_application_name property of this MlApplicationImplementation.
package_version (str) – The value to assign to the package_version property of this MlApplicationImplementation.
application_components (list[oci.data_science.models.ApplicationComponent]) – The value to assign to the application_components property of this MlApplicationImplementation.
configuration_schema (list[oci.data_science.models.ConfigurationPropertySchema]) – The value to assign to the configuration_schema property of this MlApplicationImplementation.
ml_application_package_arguments (oci.data_science.models.MlApplicationPackageArguments) – The value to assign to the ml_application_package_arguments property of this MlApplicationImplementation.
allowed_migration_destinations (list[str]) – The value to assign to the allowed_migration_destinations property of this MlApplicationImplementation.
logging (oci.data_science.models.ImplementationLogging) – The value to assign to the logging property of this MlApplicationImplementation.
compartment_id (str) – The value to assign to the compartment_id property of this MlApplicationImplementation.
time_created (datetime) – The value to assign to the time_created property of this MlApplicationImplementation.
time_updated (datetime) – The value to assign to the time_updated property of this MlApplicationImplementation.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this MlApplicationImplementation. Allowed values for this property are: “CREATING”, “ACTIVE”, “NEEDS_ATTENTION”, “FAILED”, “DELETING”, “UPDATING”, ‘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 MlApplicationImplementation.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MlApplicationImplementation.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MlApplicationImplementation.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MlApplicationImplementation.
- property allowed_migration_destinations¶
Gets the allowed_migration_destinations of this MlApplicationImplementation. List of ML Application Implementation OCIDs for which migration from this implementation is allowed. Migration means that if consumers change implementation for their instances to implementation with OCID from this list, instance components will be updated in place otherwise new instance components are created based on the new implementation and old instance components are removed.
- Returns
The allowed_migration_destinations of this MlApplicationImplementation.
- Return type
list[str]
- property application_components¶
Gets the application_components of this MlApplicationImplementation. List of application components (OCI resources shared for all MlApplicationInstances). These have been created automatically based on their definitions in the ML Application package.
- Returns
The application_components of this MlApplicationImplementation.
- Return type
- property compartment_id¶
[Required] Gets the compartment_id of this MlApplicationImplementation. The OCID of the compartment where ML Application Implementation is created.
- Returns
The compartment_id of this MlApplicationImplementation.
- Return type
str
- property configuration_schema¶
Gets the configuration_schema of this MlApplicationImplementation. Schema of configuration which needs to be provided for each ML Application Instance. It is defined in the ML Application package descriptor.
- Returns
The configuration_schema of this MlApplicationImplementation.
- Return type
- property defined_tags¶
[Required] Gets the defined_tags of this MlApplicationImplementation. 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 MlApplicationImplementation.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this MlApplicationImplementation. Description of ML Application Implementation defined in ML Application package descriptor
- Returns
The description of this MlApplicationImplementation.
- Return type
str
- property freeform_tags¶
[Required] Gets the freeform_tags of this MlApplicationImplementation. 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 MlApplicationImplementation.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this MlApplicationImplementation. The OCID of the MlApplicationImplementation. Unique identifier that is immutable after creation.
- Returns
The id of this MlApplicationImplementation.
- Return type
str
- property lifecycle_details¶
[Required] Gets the lifecycle_details of this MlApplicationImplementation. 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 MlApplicationImplementation.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this MlApplicationImplementation. The current state of the MlApplicationImplementation.
Allowed values for this property are: “CREATING”, “ACTIVE”, “NEEDS_ATTENTION”, “FAILED”, “DELETING”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this MlApplicationImplementation.
- Return type
str
- property logging¶
Gets the logging of this MlApplicationImplementation.
- Returns
The logging of this MlApplicationImplementation.
- Return type
- property ml_application_id¶
[Required] Gets the ml_application_id of this MlApplicationImplementation. The OCID of the ML Application implemented by this ML Application Implementation.
- Returns
The ml_application_id of this MlApplicationImplementation.
- Return type
str
- property ml_application_name¶
[Required] Gets the ml_application_name of this MlApplicationImplementation. The name of ML Application (based on mlApplicationId)
- Returns
The ml_application_name of this MlApplicationImplementation.
- Return type
str
- property ml_application_package_arguments¶
Gets the ml_application_package_arguments of this MlApplicationImplementation.
- Returns
The ml_application_package_arguments of this MlApplicationImplementation.
- Return type
- property name¶
[Required] Gets the name of this MlApplicationImplementation. ML Application Implementation name which is unique for given ML Application.
- Returns
The name of this MlApplicationImplementation.
- Return type
str
- property package_version¶
Gets the package_version of this MlApplicationImplementation. The version of ML Application Package (e.g. “1.2” or “2.0.4”) defined in ML Application package descriptor. Value is not mandatory only for CREATING state otherwise it must be always presented.
- Returns
The package_version of this MlApplicationImplementation.
- Return type
str
- property system_tags¶
Gets the system_tags of this MlApplicationImplementation. 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 MlApplicationImplementation.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this MlApplicationImplementation. Creation time of MlApplicationImplementation creation in the format defined by RFC 3339.
- Returns
The time_created of this MlApplicationImplementation.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this MlApplicationImplementation. Time of last MlApplicationImplementation update in the format defined by RFC 3339.
- Returns
The time_updated of this MlApplicationImplementation.
- Return type
datetime