SingleModelDeploymentConfigurationDetails

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

Bases: oci.data_science.models.model_deployment_configuration_details.ModelDeploymentConfigurationDetails

The single model type deployment.

Attributes

DEPLOYMENT_TYPE_SINGLE_MODEL str(object=’’) -> str
deployment_type [Required] Gets the deployment_type of this ModelDeploymentConfigurationDetails.
model_configuration_details [Required] Gets the model_configuration_details of this SingleModelDeploymentConfigurationDetails.

Methods

__init__(**kwargs) Initializes a new SingleModelDeploymentConfigurationDetails 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.
DEPLOYMENT_TYPE_SINGLE_MODEL = 'SINGLE_MODEL'
__init__(**kwargs)

Initializes a new SingleModelDeploymentConfigurationDetails object with values from keyword arguments. The default value of the deployment_type attribute of this class is SINGLE_MODEL and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • deployment_type (str) – The value to assign to the deployment_type property of this SingleModelDeploymentConfigurationDetails. Allowed values for this property are: “SINGLE_MODEL”
  • model_configuration_details (oci.data_science.models.ModelConfigurationDetails) – The value to assign to the model_configuration_details property of this SingleModelDeploymentConfigurationDetails.
deployment_type

[Required] Gets the deployment_type of this ModelDeploymentConfigurationDetails. The type of the model deployment.

Allowed values for this property are: “SINGLE_MODEL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The deployment_type of this ModelDeploymentConfigurationDetails.
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.

model_configuration_details

[Required] Gets the model_configuration_details of this SingleModelDeploymentConfigurationDetails.

Returns:The model_configuration_details of this SingleModelDeploymentConfigurationDetails.
Return type:oci.data_science.models.ModelConfigurationDetails