MultiNodeJobInfrastructureConfigurationDetails

class oci.data_science.models.MultiNodeJobInfrastructureConfigurationDetails(**kwargs)

Bases: oci.data_science.models.job_infrastructure_configuration_details.JobInfrastructureConfigurationDetails

This type should only be used for the infrastructure configuration within node group configuration details for configuring multi-node jobs.

Attributes

JOB_INFRASTRUCTURE_TYPE_EMPTY str(object=’’) -> str
JOB_INFRASTRUCTURE_TYPE_ME_STANDALONE str(object=’’) -> str
JOB_INFRASTRUCTURE_TYPE_MULTI_NODE str(object=’’) -> str
JOB_INFRASTRUCTURE_TYPE_STANDALONE str(object=’’) -> str
block_storage_size_in_gbs [Required] Gets the block_storage_size_in_gbs of this MultiNodeJobInfrastructureConfigurationDetails.
job_infrastructure_type [Required] Gets the job_infrastructure_type of this JobInfrastructureConfigurationDetails.
job_shape_config_details Gets the job_shape_config_details of this MultiNodeJobInfrastructureConfigurationDetails.
shape_name [Required] Gets the shape_name of this MultiNodeJobInfrastructureConfigurationDetails.

Methods

__init__(**kwargs) Initializes a new MultiNodeJobInfrastructureConfigurationDetails 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 MultiNodeJobInfrastructureConfigurationDetails object with values from keyword arguments. The default value of the job_infrastructure_type attribute of this class is MULTI_NODE and 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 MultiNodeJobInfrastructureConfigurationDetails. 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 MultiNodeJobInfrastructureConfigurationDetails.
  • block_storage_size_in_gbs (int) – The value to assign to the block_storage_size_in_gbs property of this MultiNodeJobInfrastructureConfigurationDetails.
  • job_shape_config_details (oci.data_science.models.JobShapeConfigDetails) – The value to assign to the job_shape_config_details property of this MultiNodeJobInfrastructureConfigurationDetails.
block_storage_size_in_gbs

[Required] Gets the block_storage_size_in_gbs of this MultiNodeJobInfrastructureConfigurationDetails. The size of the block storage volume to attach to the instance running the job

Returns:The block_storage_size_in_gbs of this MultiNodeJobInfrastructureConfigurationDetails.
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 MultiNodeJobInfrastructureConfigurationDetails.

Returns:The job_shape_config_details of this MultiNodeJobInfrastructureConfigurationDetails.
Return type:oci.data_science.models.JobShapeConfigDetails
shape_name

[Required] Gets the shape_name of this MultiNodeJobInfrastructureConfigurationDetails. The name that corresponds to the JobShapeSummary to use for the job node

Returns:The shape_name of this MultiNodeJobInfrastructureConfigurationDetails.
Return type:str