UpdateSingleModelDeploymentConfigurationDetails

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

Bases: UpdateModelDeploymentConfigurationDetails

The single model type deployment for update.

Attributes:

DEPLOYMENT_TYPE_MODEL_GROUP

A constant which can be used with the deployment_type property of a UpdateModelDeploymentConfigurationDetails.

DEPLOYMENT_TYPE_SINGLE_MODEL

A constant which can be used with the deployment_type property of a UpdateModelDeploymentConfigurationDetails.

DEPLOYMENT_TYPE_SINGLE_MODEL_FLEX

A constant which can be used with the deployment_type property of a UpdateModelDeploymentConfigurationDetails.

deployment_type

Gets the deployment_type of this UpdateModelDeploymentConfigurationDetails.

environment_configuration_details

Gets the environment_configuration_details of this UpdateSingleModelDeploymentConfigurationDetails.

model_configuration_details

Gets the model_configuration_details of this UpdateSingleModelDeploymentConfigurationDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateSingleModelDeploymentConfigurationDetails 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 UpdateSingleModelDeploymentConfigurationDetails 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 UpdateSingleModelDeploymentConfigurationDetails. Allowed values for this property are: “SINGLE_MODEL”, “MODEL_GROUP”, “SINGLE_MODEL_FLEX”

  • model_configuration_details (oci.data_science.models.UpdateModelConfigurationDetails) – The value to assign to the model_configuration_details property of this UpdateSingleModelDeploymentConfigurationDetails.

  • environment_configuration_details (oci.data_science.models.UpdateModelDeploymentEnvironmentConfigurationDetails) – The value to assign to the environment_configuration_details property of this UpdateSingleModelDeploymentConfigurationDetails.

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 UpdateSingleModelDeploymentConfigurationDetails.

Returns

The environment_configuration_details of this UpdateSingleModelDeploymentConfigurationDetails.

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 model_configuration_details

Gets the model_configuration_details of this UpdateSingleModelDeploymentConfigurationDetails.

Returns

The model_configuration_details of this UpdateSingleModelDeploymentConfigurationDetails.

Return type

oci.data_science.models.UpdateModelConfigurationDetails