StandaloneJobInfrastructureConfigurationDetails¶
-
class
oci.data_science.models.StandaloneJobInfrastructureConfigurationDetails(**kwargs)¶ Bases:
oci.data_science.models.job_infrastructure_configuration_details.JobInfrastructureConfigurationDetailsThis type should only be used at the top level infrastructure configuration field for configuring single-node jobs.
Attributes
JOB_INFRASTRUCTURE_TYPE_EMPTYstr(object=’’) -> str JOB_INFRASTRUCTURE_TYPE_ME_STANDALONEstr(object=’’) -> str JOB_INFRASTRUCTURE_TYPE_MULTI_NODEstr(object=’’) -> str JOB_INFRASTRUCTURE_TYPE_STANDALONEstr(object=’’) -> str block_storage_size_in_gbs[Required] Gets the block_storage_size_in_gbs of this StandaloneJobInfrastructureConfigurationDetails. job_infrastructure_type[Required] Gets the job_infrastructure_type of this JobInfrastructureConfigurationDetails. job_shape_config_detailsGets the job_shape_config_details of this StandaloneJobInfrastructureConfigurationDetails. shape_name[Required] Gets the shape_name of this StandaloneJobInfrastructureConfigurationDetails. subnet_id[Required] Gets the subnet_id of this StandaloneJobInfrastructureConfigurationDetails. Methods
__init__(**kwargs)Initializes a new StandaloneJobInfrastructureConfigurationDetails 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. -
JOB_INFRASTRUCTURE_TYPE_EMPTY= 'EMPTY'¶
-
JOB_INFRASTRUCTURE_TYPE_ME_STANDALONE= 'ME_STANDALONE'¶
-
JOB_INFRASTRUCTURE_TYPE_MULTI_NODE= 'MULTI_NODE'¶
-
JOB_INFRASTRUCTURE_TYPE_STANDALONE= 'STANDALONE'¶
-
__init__(**kwargs)¶ Initializes a new StandaloneJobInfrastructureConfigurationDetails object with values from keyword arguments. The default value of the
job_infrastructure_typeattribute of this class isSTANDALONEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - job_infrastructure_type (str) – The value to assign to the job_infrastructure_type property of this StandaloneJobInfrastructureConfigurationDetails. Allowed values for this property are: “STANDALONE”, “ME_STANDALONE”, “MULTI_NODE”, “EMPTY”
- shape_name (str) – The value to assign to the shape_name property of this StandaloneJobInfrastructureConfigurationDetails.
- subnet_id (str) – The value to assign to the subnet_id property of this StandaloneJobInfrastructureConfigurationDetails.
- block_storage_size_in_gbs (int) – The value to assign to the block_storage_size_in_gbs property of this StandaloneJobInfrastructureConfigurationDetails.
- job_shape_config_details (oci.data_science.models.JobShapeConfigDetails) – The value to assign to the job_shape_config_details property of this StandaloneJobInfrastructureConfigurationDetails.
-
block_storage_size_in_gbs¶ [Required] Gets the block_storage_size_in_gbs of this StandaloneJobInfrastructureConfigurationDetails. The size of the block storage volume to attach to the instance running the job
Returns: The block_storage_size_in_gbs of this StandaloneJobInfrastructureConfigurationDetails. 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.
-
job_infrastructure_type¶ [Required] Gets the job_infrastructure_type of this JobInfrastructureConfigurationDetails. The infrastructure type used for job run.
Allowed values for this property are: “STANDALONE”, “ME_STANDALONE”, “MULTI_NODE”, “EMPTY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The job_infrastructure_type of this JobInfrastructureConfigurationDetails. Return type: str
-
job_shape_config_details¶ Gets the job_shape_config_details of this StandaloneJobInfrastructureConfigurationDetails.
Returns: The job_shape_config_details of this StandaloneJobInfrastructureConfigurationDetails. Return type: oci.data_science.models.JobShapeConfigDetails
-
shape_name¶ [Required] Gets the shape_name of this StandaloneJobInfrastructureConfigurationDetails. The shape used to launch the job run instances.
Returns: The shape_name of this StandaloneJobInfrastructureConfigurationDetails. Return type: str
-
subnet_id¶ [Required] Gets the subnet_id of this StandaloneJobInfrastructureConfigurationDetails. The subnet to create a secondary vnic in to attach to the instance running the job
Returns: The subnet_id of this StandaloneJobInfrastructureConfigurationDetails. Return type: str
-