ManagedComputeClusterModelDeploymentSystemData¶
- class oci.data_science.models.ManagedComputeClusterModelDeploymentSystemData(**kwargs)¶
Bases:
ModelDeploymentSystemDataManaged compute cluster type compute target based model deployment system data.
Attributes:
A constant which can be used with the model_type property of a ModelDeploymentSystemData.
A constant which can be used with the system_infra_type property of a ModelDeploymentSystemData.
A constant which can be used with the system_infra_type property of a ModelDeploymentSystemData.
Gets the current_instance_count of this ManagedComputeClusterModelDeploymentSystemData.
Gets the model_type of this ModelDeploymentSystemData.
Gets the system_infra_type of this ModelDeploymentSystemData.
Methods:
__init__(**kwargs)Initializes a new ManagedComputeClusterModelDeploymentSystemData 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.
- MODEL_TYPE_MANAGED_MODEL = 'MANAGED_MODEL'¶
A constant which can be used with the model_type property of a ModelDeploymentSystemData. This constant has a value of “MANAGED_MODEL”
- SYSTEM_INFRA_TYPE_INSTANCE_POOL = 'INSTANCE_POOL'¶
A constant which can be used with the system_infra_type property of a ModelDeploymentSystemData. This constant has a value of “INSTANCE_POOL”
- SYSTEM_INFRA_TYPE_MANAGED_COMPUTE_CLUSTER = 'MANAGED_COMPUTE_CLUSTER'¶
A constant which can be used with the system_infra_type property of a ModelDeploymentSystemData. This constant has a value of “MANAGED_COMPUTE_CLUSTER”
- __init__(**kwargs)¶
Initializes a new ManagedComputeClusterModelDeploymentSystemData object with values from keyword arguments. The default value of the
system_infra_typeattribute of this class isMANAGED_COMPUTE_CLUSTERand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
system_infra_type (str) – The value to assign to the system_infra_type property of this ManagedComputeClusterModelDeploymentSystemData. Allowed values for this property are: “INSTANCE_POOL”, “MANAGED_COMPUTE_CLUSTER”
model_type (str) – The value to assign to the model_type property of this ManagedComputeClusterModelDeploymentSystemData. Allowed values for this property are: “MANAGED_MODEL”
current_instance_count (int) – The value to assign to the current_instance_count property of this ManagedComputeClusterModelDeploymentSystemData.
- property current_instance_count¶
Gets the current_instance_count of this ManagedComputeClusterModelDeploymentSystemData. This value is the current count of the model deployment instances.
- Returns
The current_instance_count of this ManagedComputeClusterModelDeploymentSystemData.
- Return type
int
- 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_type¶
Gets the model_type of this ModelDeploymentSystemData. The type of the deployed model.
Allowed values for this property are: “MANAGED_MODEL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The model_type of this ModelDeploymentSystemData.
- Return type
str
- property system_infra_type¶
Gets the system_infra_type of this ModelDeploymentSystemData. The infrastructure type of the model deployment.
Allowed values for this property are: “INSTANCE_POOL”, “MANAGED_COMPUTE_CLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The system_infra_type of this ModelDeploymentSystemData.
- Return type
str