JobRunWorkloadConfigurationDetails¶
- class oci.data_science.models.JobRunWorkloadConfigurationDetails(**kwargs)¶
Bases:
WorkloadConfigurationDetailsThe job run workload configuration.
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.
Gets the use_case_configuration of this JobRunWorkloadConfigurationDetails.
[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'¶
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 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.
- property use_case_configuration¶
Gets the use_case_configuration of this JobRunWorkloadConfigurationDetails.
- Returns
The use_case_configuration of this JobRunWorkloadConfigurationDetails.
- Return type
- 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