MlApplicationInstanceInternalTrigger¶
-
class
oci.data_science.models.MlApplicationInstanceInternalTrigger(**kwargs)¶ Bases:
oci.data_science.models.instance_component.InstanceComponentTrigger details
Attributes
TYPE_DATA_SCIENCE_MODEL_DEPLOYMENTstr(object=’’) -> str TYPE_DATA_SCIENCE_SCHEDULEstr(object=’’) -> str TYPE_GENERIC_OCI_RESOURCEstr(object=’’) -> str TYPE_ML_APPLICATION_INSTANCE_INTERNAL_TRIGGERstr(object=’’) -> str TYPE_OBJECT_STORAGE_BUCKETstr(object=’’) -> str TYPE_OBJECT_STORAGE_OBJECTstr(object=’’) -> str component_name[Required] Gets the component_name of this InstanceComponent. is_enabled[Required] Gets the is_enabled of this MlApplicationInstanceInternalTrigger. nameGets the name of this InstanceComponent. trigger_definition[Required] Gets the trigger_definition of this MlApplicationInstanceInternalTrigger. type[Required] Gets the type of this InstanceComponent. Methods
__init__(**kwargs)Initializes a new MlApplicationInstanceInternalTrigger object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
TYPE_DATA_SCIENCE_MODEL_DEPLOYMENT= 'DATA_SCIENCE_MODEL_DEPLOYMENT'¶
-
TYPE_DATA_SCIENCE_SCHEDULE= 'DATA_SCIENCE_SCHEDULE'¶
-
TYPE_GENERIC_OCI_RESOURCE= 'GENERIC_OCI_RESOURCE'¶
-
TYPE_ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER= 'ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER'¶
-
TYPE_OBJECT_STORAGE_BUCKET= 'OBJECT_STORAGE_BUCKET'¶
-
TYPE_OBJECT_STORAGE_OBJECT= 'OBJECT_STORAGE_OBJECT'¶
-
__init__(**kwargs)¶ Initializes a new MlApplicationInstanceInternalTrigger object with values from keyword arguments. The default value of the
typeattribute of this class isML_APPLICATION_INSTANCE_INTERNAL_TRIGGERand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this MlApplicationInstanceInternalTrigger. Allowed values for this property are: “DATA_SCIENCE_MODEL_DEPLOYMENT”, “OBJECT_STORAGE_BUCKET”, “OBJECT_STORAGE_OBJECT”, “ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER”, “DATA_SCIENCE_SCHEDULE”, “GENERIC_OCI_RESOURCE”
- name (str) – The value to assign to the name property of this MlApplicationInstanceInternalTrigger.
- component_name (str) – The value to assign to the component_name property of this MlApplicationInstanceInternalTrigger.
- trigger_definition (str) – The value to assign to the trigger_definition property of this MlApplicationInstanceInternalTrigger.
- is_enabled (bool) – The value to assign to the is_enabled property of this MlApplicationInstanceInternalTrigger.
-
component_name¶ [Required] Gets the component_name of this InstanceComponent. Name of instance component
Returns: The component_name of this InstanceComponent. Return type: str
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
is_enabled¶ [Required] Gets the is_enabled of this MlApplicationInstanceInternalTrigger. Indicates whether the trigger is enabled. If it is false trigger does not fire even when the trigger condition is met.
Returns: The is_enabled of this MlApplicationInstanceInternalTrigger. Return type: bool
-
name¶ Gets the name of this InstanceComponent. Name of referenced resource (generally resources do not have to have any name but most resources have name exposed as ‘name’ or ‘displayName’ field).
Returns: The name of this InstanceComponent. Return type: str
-
trigger_definition¶ [Required] Gets the trigger_definition of this MlApplicationInstanceInternalTrigger. Trigger definition for given ML Application Instance
Returns: The trigger_definition of this MlApplicationInstanceInternalTrigger. Return type: str
-
type¶ [Required] Gets the type of this InstanceComponent. Type of instance component
Allowed values for this property are: “DATA_SCIENCE_MODEL_DEPLOYMENT”, “OBJECT_STORAGE_BUCKET”, “OBJECT_STORAGE_OBJECT”, “ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER”, “DATA_SCIENCE_SCHEDULE”, “GENERIC_OCI_RESOURCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this InstanceComponent. Return type: str
-