CreateModelDeploymentDetails

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

Bases: object

Parameters needed to create a new model deployment. Model deployments are used by data scientists to perform predictions from the model hosted on an HTTP server.

Methods

__init__(**kwargs) Initializes a new CreateModelDeploymentDetails object with values from keyword arguments.

Attributes

category_log_details Gets the category_log_details of this CreateModelDeploymentDetails.
compartment_id [Required] Gets the compartment_id of this CreateModelDeploymentDetails.
defined_tags Gets the defined_tags of this CreateModelDeploymentDetails.
description Gets the description of this CreateModelDeploymentDetails.
display_name Gets the display_name of this CreateModelDeploymentDetails.
freeform_tags Gets the freeform_tags of this CreateModelDeploymentDetails.
model_deployment_configuration_details [Required] Gets the model_deployment_configuration_details of this CreateModelDeploymentDetails.
project_id [Required] Gets the project_id of this CreateModelDeploymentDetails.
__init__(**kwargs)

Initializes a new CreateModelDeploymentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateModelDeploymentDetails.
  • description (str) – The value to assign to the description property of this CreateModelDeploymentDetails.
  • project_id (str) – The value to assign to the project_id property of this CreateModelDeploymentDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateModelDeploymentDetails.
  • model_deployment_configuration_details (oci.data_science.models.ModelDeploymentConfigurationDetails) – The value to assign to the model_deployment_configuration_details property of this CreateModelDeploymentDetails.
  • category_log_details (oci.data_science.models.CategoryLogDetails) – The value to assign to the category_log_details property of this CreateModelDeploymentDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateModelDeploymentDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateModelDeploymentDetails.
category_log_details

Gets the category_log_details of this CreateModelDeploymentDetails.

Returns:The category_log_details of this CreateModelDeploymentDetails.
Return type:oci.data_science.models.CategoryLogDetails
compartment_id

[Required] Gets the compartment_id of this CreateModelDeploymentDetails. The OCID of the compartment where you want to create the model deployment.

Returns:The compartment_id of this CreateModelDeploymentDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateModelDeploymentDetails. 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 CreateModelDeploymentDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateModelDeploymentDetails. A short description of the model deployment.

Returns:The description of this CreateModelDeploymentDetails.
Return type:str
display_name

Gets the display_name of this CreateModelDeploymentDetails. A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. Example: My ModelDeployment

Returns:The display_name of this CreateModelDeploymentDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateModelDeploymentDetails. 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 CreateModelDeploymentDetails.
Return type:dict(str, str)
model_deployment_configuration_details

[Required] Gets the model_deployment_configuration_details of this CreateModelDeploymentDetails.

Returns:The model_deployment_configuration_details of this CreateModelDeploymentDetails.
Return type:oci.data_science.models.ModelDeploymentConfigurationDetails
project_id

[Required] Gets the project_id of this CreateModelDeploymentDetails. The OCID of the project to associate with the model deployment.

Returns:The project_id of this CreateModelDeploymentDetails.
Return type:str