SingleModelDeploymentConfigurationDetails¶
- class oci.data_science.models.SingleModelDeploymentConfigurationDetails(**kwargs)¶
Bases:
ModelDeploymentConfigurationDetailsThe single model type deployment.
Attributes:
A constant which can be used with the deployment_type property of a ModelDeploymentConfigurationDetails.
A constant which can be used with the deployment_type property of a ModelDeploymentConfigurationDetails.
A constant which can be used with the deployment_type property of a ModelDeploymentConfigurationDetails.
[Required] Gets the deployment_type of this ModelDeploymentConfigurationDetails.
Gets the environment_configuration_details of this SingleModelDeploymentConfigurationDetails.
[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_MODEL_GROUP = 'MODEL_GROUP'¶
A constant which can be used with the deployment_type property of a ModelDeploymentConfigurationDetails. This constant has a value of “MODEL_GROUP”
- DEPLOYMENT_TYPE_SINGLE_MODEL = 'SINGLE_MODEL'¶
A constant which can be used with the deployment_type property of a ModelDeploymentConfigurationDetails. This constant has a value of “SINGLE_MODEL”
- DEPLOYMENT_TYPE_SINGLE_MODEL_FLEX = 'SINGLE_MODEL_FLEX'¶
A constant which can be used with the deployment_type property of a ModelDeploymentConfigurationDetails. This constant has a value of “SINGLE_MODEL_FLEX”
- __init__(**kwargs)¶
Initializes a new SingleModelDeploymentConfigurationDetails object with values from keyword arguments. The default value of the
deployment_typeattribute of this class isSINGLE_MODELand 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_GROUP”, “SINGLE_MODEL_FLEX”
model_configuration_details (oci.data_science.models.ModelConfigurationDetails) – The value to assign to the model_configuration_details property of this SingleModelDeploymentConfigurationDetails.
environment_configuration_details (oci.data_science.models.ModelDeploymentEnvironmentConfigurationDetails) – The value to assign to the environment_configuration_details property of this SingleModelDeploymentConfigurationDetails.
- property deployment_type¶
[Required] Gets the deployment_type of this ModelDeploymentConfigurationDetails. The type of the model deployment.
Allowed values for this property are: “SINGLE_MODEL”, “MODEL_GROUP”, “SINGLE_MODEL_FLEX”, ‘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
- property environment_configuration_details¶
Gets the environment_configuration_details of this SingleModelDeploymentConfigurationDetails.
- Returns
The environment_configuration_details of this SingleModelDeploymentConfigurationDetails.
- Return type
oci.data_science.models.ModelDeploymentEnvironmentConfigurationDetails
- 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_configuration_details¶
[Required] Gets the model_configuration_details of this SingleModelDeploymentConfigurationDetails.
- Returns
The model_configuration_details of this SingleModelDeploymentConfigurationDetails.
- Return type