MlApplicationInstanceInternalTrigger

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

Bases: InstanceComponent

Trigger details

Attributes:

TYPE_DATA_SCIENCE_MODEL_DEPLOYMENT

A constant which can be used with the type property of a InstanceComponent.

TYPE_DATA_SCIENCE_SCHEDULE

A constant which can be used with the type property of a InstanceComponent.

TYPE_GENERIC_OCI_RESOURCE

A constant which can be used with the type property of a InstanceComponent.

TYPE_ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER

A constant which can be used with the type property of a InstanceComponent.

TYPE_OBJECT_STORAGE_BUCKET

A constant which can be used with the type property of a InstanceComponent.

TYPE_OBJECT_STORAGE_OBJECT

A constant which can be used with the type property of a InstanceComponent.

component_name

[Required] Gets the component_name of this InstanceComponent.

is_enabled

[Required] Gets the is_enabled of this MlApplicationInstanceInternalTrigger.

name

Gets 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'

A constant which can be used with the type property of a InstanceComponent. This constant has a value of “DATA_SCIENCE_MODEL_DEPLOYMENT”

TYPE_DATA_SCIENCE_SCHEDULE = 'DATA_SCIENCE_SCHEDULE'

A constant which can be used with the type property of a InstanceComponent. This constant has a value of “DATA_SCIENCE_SCHEDULE”

TYPE_GENERIC_OCI_RESOURCE = 'GENERIC_OCI_RESOURCE'

A constant which can be used with the type property of a InstanceComponent. This constant has a value of “GENERIC_OCI_RESOURCE”

TYPE_ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER = 'ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER'

A constant which can be used with the type property of a InstanceComponent. This constant has a value of “ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER”

TYPE_OBJECT_STORAGE_BUCKET = 'OBJECT_STORAGE_BUCKET'

A constant which can be used with the type property of a InstanceComponent. This constant has a value of “OBJECT_STORAGE_BUCKET”

TYPE_OBJECT_STORAGE_OBJECT = 'OBJECT_STORAGE_OBJECT'

A constant which can be used with the type property of a InstanceComponent. This constant has a value of “OBJECT_STORAGE_OBJECT”

__init__(**kwargs)

Initializes a new MlApplicationInstanceInternalTrigger object with values from keyword arguments. The default value of the type attribute of this class is ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER and 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.

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

property 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

property 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

property 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

property 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