ModelDeploymentConfigurationDetails

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

Bases: object

The model deployment configuration details.

Attributes:

DEPLOYMENT_TYPE_MODEL_GROUP

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

DEPLOYMENT_TYPE_SINGLE_MODEL

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

DEPLOYMENT_TYPE_SINGLE_MODEL_FLEX

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

deployment_type

[Required] Gets the deployment_type of this ModelDeploymentConfigurationDetails.

Methods:

__init__(**kwargs)

Initializes a new ModelDeploymentConfigurationDetails 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 ModelDeploymentConfigurationDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 ModelDeploymentConfigurationDetails. 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’.

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

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.