DataScienceModelDeploymentInstanceComponent

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

Bases: InstanceComponent

Reference to Data Science Model Deployment

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.

model_deployment_id

[Required] Gets the model_deployment_id of this DataScienceModelDeploymentInstanceComponent.

name

Gets the name of this InstanceComponent.

prediction_use_case_name

[Required] Gets the prediction_use_case_name of this DataScienceModelDeploymentInstanceComponent.

type

[Required] Gets the type of this InstanceComponent.

Methods:

__init__(**kwargs)

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

  • component_name (str) – The value to assign to the component_name property of this DataScienceModelDeploymentInstanceComponent.

  • prediction_use_case_name (str) – The value to assign to the prediction_use_case_name property of this DataScienceModelDeploymentInstanceComponent.

  • model_deployment_id (str) – The value to assign to the model_deployment_id property of this DataScienceModelDeploymentInstanceComponent.

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 model_deployment_id

[Required] Gets the model_deployment_id of this DataScienceModelDeploymentInstanceComponent. OCID of Data Science Model Deployment

Returns

The model_deployment_id of this DataScienceModelDeploymentInstanceComponent.

Return type

str

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 prediction_use_case_name

[Required] Gets the prediction_use_case_name of this DataScienceModelDeploymentInstanceComponent. Name of online prediction use-case (defined in ML Application) for which this Model Deployment serves predictions

Returns

The prediction_use_case_name of this DataScienceModelDeploymentInstanceComponent.

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