InstanceConfiguration

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

Bases: object

The model deployment instance configuration

Methods

__init__(**kwargs) Initializes a new InstanceConfiguration object with values from keyword arguments.

Attributes

instance_shape_name [Required] Gets the instance_shape_name of this InstanceConfiguration.
model_deployment_instance_shape_config_details Gets the model_deployment_instance_shape_config_details of this InstanceConfiguration.
subnet_id Gets the subnet_id of this InstanceConfiguration.
__init__(**kwargs)

Initializes a new InstanceConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • instance_shape_name (str) – The value to assign to the instance_shape_name property of this InstanceConfiguration.
  • model_deployment_instance_shape_config_details (oci.data_science.models.ModelDeploymentInstanceShapeConfigDetails) – The value to assign to the model_deployment_instance_shape_config_details property of this InstanceConfiguration.
  • subnet_id (str) – The value to assign to the subnet_id property of this InstanceConfiguration.
instance_shape_name

[Required] Gets the instance_shape_name of this InstanceConfiguration. The shape used to launch the model deployment instances.

Returns:The instance_shape_name of this InstanceConfiguration.
Return type:str
model_deployment_instance_shape_config_details

Gets the model_deployment_instance_shape_config_details of this InstanceConfiguration.

Returns:The model_deployment_instance_shape_config_details of this InstanceConfiguration.
Return type:oci.data_science.models.ModelDeploymentInstanceShapeConfigDetails
subnet_id

Gets the subnet_id of this InstanceConfiguration. A model deployment instance is provided with a VNIC for network access. This specifies the OCID of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress.

Returns:The subnet_id of this InstanceConfiguration.
Return type:str