JobRunWorkloadConfigurationDetails¶
-
class
oci.data_science.models.JobRunWorkloadConfigurationDetails(**kwargs)¶ Bases:
oci.data_science.models.workload_configuration_details.WorkloadConfigurationDetailsThe job run workload configuration.
Attributes
WORKLOAD_TYPE_JOB_RUNstr(object=’’) -> str WORKLOAD_TYPE_MODEL_DEPLOYMENTstr(object=’’) -> str use_case_configurationGets the use_case_configuration of this JobRunWorkloadConfigurationDetails. workload_type[Required] Gets the workload_type of this WorkloadConfigurationDetails. Methods
__init__(**kwargs)Initializes a new JobRunWorkloadConfigurationDetails 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'¶
-
WORKLOAD_TYPE_MODEL_DEPLOYMENT= 'MODEL_DEPLOYMENT'¶
-
__init__(**kwargs)¶ Initializes a new JobRunWorkloadConfigurationDetails object with values from keyword arguments. The default value of the
workload_typeattribute of this class isJOB_RUNand it should not be changed. 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 JobRunWorkloadConfigurationDetails. Allowed values for this property are: “MODEL_DEPLOYMENT”, “JOB_RUN”
- use_case_configuration (oci.data_science.models.JobRunUseCaseConfigurationDetails) – The value to assign to the use_case_configuration property of this JobRunWorkloadConfigurationDetails.
-
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.
-
use_case_configuration¶ Gets the use_case_configuration of this JobRunWorkloadConfigurationDetails.
Returns: The use_case_configuration of this JobRunWorkloadConfigurationDetails. Return type: oci.data_science.models.JobRunUseCaseConfigurationDetails
-
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
-