WorkloadConfigurationDetails¶
- class oci.data_science.models.WorkloadConfigurationDetails(**kwargs)¶
Bases:
objectThe workload configuration details
Attributes:
A constant which can be used with the workload_type property of a WorkloadConfigurationDetails.
A constant which can be used with the workload_type property of a WorkloadConfigurationDetails.
[Required] Gets the workload_type of this WorkloadConfigurationDetails.
Methods:
__init__(**kwargs)Initializes a new WorkloadConfigurationDetails 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.
- WORKLOAD_TYPE_JOB_RUN = 'JOB_RUN'¶
A constant which can be used with the workload_type property of a WorkloadConfigurationDetails. This constant has a value of “JOB_RUN”
- WORKLOAD_TYPE_MODEL_DEPLOYMENT = 'MODEL_DEPLOYMENT'¶
A constant which can be used with the workload_type property of a WorkloadConfigurationDetails. This constant has a value of “MODEL_DEPLOYMENT”
- __init__(**kwargs)¶
Initializes a new WorkloadConfigurationDetails 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
workload_type (str) – The value to assign to the workload_type property of this WorkloadConfigurationDetails. Allowed values for this property are: “MODEL_DEPLOYMENT”, “JOB_RUN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- 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 workload_type¶
[Required] Gets the workload_type of this WorkloadConfigurationDetails. The workload use case.
Allowed values for this property are: “MODEL_DEPLOYMENT”, “JOB_RUN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The workload_type of this WorkloadConfigurationDetails.
- Return type
str