UpdateSingleModelDeploymentFlexConfigurationDetails¶
- class oci.data_science.models.UpdateSingleModelDeploymentFlexConfigurationDetails(**kwargs)¶
Bases:
UpdateModelDeploymentConfigurationDetailsThe single model deployment flex configuration details for updating a model deployment.
Attributes:
A constant which can be used with the deployment_type property of a UpdateModelDeploymentConfigurationDetails.
A constant which can be used with the deployment_type property of a UpdateModelDeploymentConfigurationDetails.
A constant which can be used with the deployment_type property of a UpdateModelDeploymentConfigurationDetails.
Gets the deployment_type of this UpdateModelDeploymentConfigurationDetails.
Gets the environment_configuration_details of this UpdateSingleModelDeploymentFlexConfigurationDetails.
Gets the infrastructure_configuration_details of this UpdateSingleModelDeploymentFlexConfigurationDetails.
Gets the model_configuration_details of this UpdateSingleModelDeploymentFlexConfigurationDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateSingleModelDeploymentFlexConfigurationDetails 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 UpdateModelDeploymentConfigurationDetails. 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 UpdateModelDeploymentConfigurationDetails. 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 UpdateModelDeploymentConfigurationDetails. This constant has a value of “SINGLE_MODEL_FLEX”
- __init__(**kwargs)¶
Initializes a new UpdateSingleModelDeploymentFlexConfigurationDetails object with values from keyword arguments. The default value of the
deployment_typeattribute of this class isSINGLE_MODEL_FLEXand 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 UpdateSingleModelDeploymentFlexConfigurationDetails. Allowed values for this property are: “SINGLE_MODEL”, “MODEL_GROUP”, “SINGLE_MODEL_FLEX”
model_configuration_details (oci.data_science.models.UpdateSingleModelConfigurationDetails) – The value to assign to the model_configuration_details property of this UpdateSingleModelDeploymentFlexConfigurationDetails.
infrastructure_configuration_details (oci.data_science.models.UpdateModelDeployInfrastructureConfigurationDetails) – The value to assign to the infrastructure_configuration_details property of this UpdateSingleModelDeploymentFlexConfigurationDetails.
environment_configuration_details (oci.data_science.models.UpdateModelDeploymentEnvironmentConfigurationDetails) – The value to assign to the environment_configuration_details property of this UpdateSingleModelDeploymentFlexConfigurationDetails.
- property deployment_type¶
Gets the deployment_type of this UpdateModelDeploymentConfigurationDetails. The type of the model deployment.
Allowed values for this property are: “SINGLE_MODEL”, “MODEL_GROUP”, “SINGLE_MODEL_FLEX”
- Returns
The deployment_type of this UpdateModelDeploymentConfigurationDetails.
- Return type
str
- property environment_configuration_details¶
Gets the environment_configuration_details of this UpdateSingleModelDeploymentFlexConfigurationDetails.
- Returns
The environment_configuration_details of this UpdateSingleModelDeploymentFlexConfigurationDetails.
- Return type
oci.data_science.models.UpdateModelDeploymentEnvironmentConfigurationDetails
- 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 infrastructure_configuration_details¶
Gets the infrastructure_configuration_details of this UpdateSingleModelDeploymentFlexConfigurationDetails.
- Returns
The infrastructure_configuration_details of this UpdateSingleModelDeploymentFlexConfigurationDetails.
- Return type
oci.data_science.models.UpdateModelDeployInfrastructureConfigurationDetails
- property model_configuration_details¶
Gets the model_configuration_details of this UpdateSingleModelDeploymentFlexConfigurationDetails.
- Returns
The model_configuration_details of this UpdateSingleModelDeploymentFlexConfigurationDetails.
- Return type
oci.data_science.models.UpdateSingleModelConfigurationDetails