MlApplicationImplementationVersion¶
- class oci.data_science.models.MlApplicationImplementationVersion(**kwargs)¶
Bases:
objectRead-only fully managed snapshot of MlApplicationImplementation taken when MlApplicationImplementation was updated with new ML Application package.
Attributes:
A constant which can be used with the lifecycle_state property of a MlApplicationImplementationVersion.
A constant which can be used with the lifecycle_state property of a MlApplicationImplementationVersion.
A constant which can be used with the lifecycle_state property of a MlApplicationImplementationVersion.
A constant which can be used with the lifecycle_state property of a MlApplicationImplementationVersion.
Gets the allowed_migration_destinations of this MlApplicationImplementationVersion.
Gets the application_components of this MlApplicationImplementationVersion.
Gets the configuration_schema of this MlApplicationImplementationVersion.
[Required] Gets the defined_tags of this MlApplicationImplementationVersion.
Gets the description of this MlApplicationImplementationVersion.
[Required] Gets the freeform_tags of this MlApplicationImplementationVersion.
[Required] Gets the id of this MlApplicationImplementationVersion.
[Required] Gets the lifecycle_details of this MlApplicationImplementationVersion.
[Required] Gets the lifecycle_state of this MlApplicationImplementationVersion.
[Required] Gets the ml_application_id of this MlApplicationImplementationVersion.
[Required] Gets the ml_application_implementation_id of this MlApplicationImplementationVersion.
[Required] Gets the ml_application_name of this MlApplicationImplementationVersion.
Gets the ml_application_package_arguments of this MlApplicationImplementationVersion.
[Required] Gets the name of this MlApplicationImplementationVersion.
Gets the package_version of this MlApplicationImplementationVersion.
Gets the system_tags of this MlApplicationImplementationVersion.
[Required] Gets the time_created of this MlApplicationImplementationVersion.
Methods:
__init__(**kwargs)Initializes a new MlApplicationImplementationVersion object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a MlApplicationImplementationVersion. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a MlApplicationImplementationVersion. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a MlApplicationImplementationVersion. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a MlApplicationImplementationVersion. This constant has a value of “FAILED”
- __init__(**kwargs)¶
Initializes a new MlApplicationImplementationVersion 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 MlApplicationImplementationVersion.
ml_application_implementation_id (str) – The value to assign to the ml_application_implementation_id property of this MlApplicationImplementationVersion.
name (str) – The value to assign to the name property of this MlApplicationImplementationVersion.
description (str) – The value to assign to the description property of this MlApplicationImplementationVersion.
ml_application_id (str) – The value to assign to the ml_application_id property of this MlApplicationImplementationVersion.
ml_application_name (str) – The value to assign to the ml_application_name property of this MlApplicationImplementationVersion.
package_version (str) – The value to assign to the package_version property of this MlApplicationImplementationVersion.
application_components (list[oci.data_science.models.ApplicationComponent]) – The value to assign to the application_components property of this MlApplicationImplementationVersion.
configuration_schema (list[oci.data_science.models.ConfigurationPropertySchema]) – The value to assign to the configuration_schema property of this MlApplicationImplementationVersion.
ml_application_package_arguments (oci.data_science.models.MlApplicationPackageArguments) – The value to assign to the ml_application_package_arguments property of this MlApplicationImplementationVersion.
allowed_migration_destinations (list[str]) – The value to assign to the allowed_migration_destinations property of this MlApplicationImplementationVersion.
time_created (datetime) – The value to assign to the time_created property of this MlApplicationImplementationVersion.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this MlApplicationImplementationVersion. Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “DELETING”, ‘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 MlApplicationImplementationVersion.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MlApplicationImplementationVersion.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MlApplicationImplementationVersion.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MlApplicationImplementationVersion.
- property allowed_migration_destinations¶
Gets the allowed_migration_destinations of this MlApplicationImplementationVersion. 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 MlApplicationImplementationVersion.
- Return type
list[str]
- property application_components¶
Gets the application_components of this MlApplicationImplementationVersion. 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 MlApplicationImplementationVersion.
- Return type
- property configuration_schema¶
Gets the configuration_schema of this MlApplicationImplementationVersion. 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 MlApplicationImplementationVersion.
- Return type
- property defined_tags¶
[Required] Gets the defined_tags of this MlApplicationImplementationVersion. 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 MlApplicationImplementationVersion.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this MlApplicationImplementationVersion. Description of ML Application Implementation defined in ML Application package descriptor
- Returns
The description of this MlApplicationImplementationVersion.
- Return type
str
- property freeform_tags¶
[Required] Gets the freeform_tags of this MlApplicationImplementationVersion. 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 MlApplicationImplementationVersion.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this MlApplicationImplementationVersion. The OCID of the MlApplicationImplementationVersion. Unique identifier that is immutable after creation.
- Returns
The id of this MlApplicationImplementationVersion.
- Return type
str
- property lifecycle_details¶
[Required] Gets the lifecycle_details of this MlApplicationImplementationVersion. 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 MlApplicationImplementationVersion.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this MlApplicationImplementationVersion. The current state of the MlApplicationImplementationVersion.
Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “DELETING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this MlApplicationImplementationVersion.
- Return type
str
- property ml_application_id¶
[Required] Gets the ml_application_id of this MlApplicationImplementationVersion. The OCID of the ML Application implemented by this ML Application Implementation.
- Returns
The ml_application_id of this MlApplicationImplementationVersion.
- Return type
str
- property ml_application_implementation_id¶
[Required] Gets the ml_application_implementation_id of this MlApplicationImplementationVersion. The OCID of the MlApplicationImplementation for which this resource keeps the historical state.
- Returns
The ml_application_implementation_id of this MlApplicationImplementationVersion.
- Return type
str
- property ml_application_name¶
[Required] Gets the ml_application_name of this MlApplicationImplementationVersion. The name of ML Application (based on mlApplicationId)
- Returns
The ml_application_name of this MlApplicationImplementationVersion.
- Return type
str
- property ml_application_package_arguments¶
Gets the ml_application_package_arguments of this MlApplicationImplementationVersion.
- Returns
The ml_application_package_arguments of this MlApplicationImplementationVersion.
- Return type
- property name¶
[Required] Gets the name of this MlApplicationImplementationVersion. ML Application Implementation name which is unique for given ML Application.
- Returns
The name of this MlApplicationImplementationVersion.
- Return type
str
- property package_version¶
Gets the package_version of this MlApplicationImplementationVersion. 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 MlApplicationImplementationVersion.
- Return type
str
- property system_tags¶
Gets the system_tags of this MlApplicationImplementationVersion. 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 MlApplicationImplementationVersion.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this MlApplicationImplementationVersion. Creation time of MlApplicationImplementationVersion in the format defined by RFC 3339.
- Returns
The time_created of this MlApplicationImplementationVersion.
- Return type
datetime