StandaloneJobInfrastructureConfigurationDetails

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

Bases: JobInfrastructureConfigurationDetails

This type should only be used at the top level infrastructure configuration field for configuring single-node jobs.

Attributes:

JOB_INFRASTRUCTURE_TYPE_EMPTY

A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails.

JOB_INFRASTRUCTURE_TYPE_MANAGED_COMPUTE_CLUSTER

A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails.

JOB_INFRASTRUCTURE_TYPE_ME_STANDALONE

A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails.

JOB_INFRASTRUCTURE_TYPE_MULTI_NODE

A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails.

JOB_INFRASTRUCTURE_TYPE_STANDALONE

A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails.

block_storage_size_in_gbs

[Required] Gets the block_storage_size_in_gbs of this StandaloneJobInfrastructureConfigurationDetails.

capacity_reservation_id

Gets the capacity_reservation_id of this StandaloneJobInfrastructureConfigurationDetails.

job_infrastructure_type

[Required] Gets the job_infrastructure_type of this JobInfrastructureConfigurationDetails.

job_shape_config_details

Gets 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'

A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails. This constant has a value of “EMPTY”

JOB_INFRASTRUCTURE_TYPE_MANAGED_COMPUTE_CLUSTER = 'MANAGED_COMPUTE_CLUSTER'

A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails. This constant has a value of “MANAGED_COMPUTE_CLUSTER”

JOB_INFRASTRUCTURE_TYPE_ME_STANDALONE = 'ME_STANDALONE'

A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails. This constant has a value of “ME_STANDALONE”

JOB_INFRASTRUCTURE_TYPE_MULTI_NODE = 'MULTI_NODE'

A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails. This constant has a value of “MULTI_NODE”

JOB_INFRASTRUCTURE_TYPE_STANDALONE = 'STANDALONE'

A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails. This constant has a value of “STANDALONE”

__init__(**kwargs)

Initializes a new StandaloneJobInfrastructureConfigurationDetails object with values from keyword arguments. The default value of the job_infrastructure_type attribute of this class is STANDALONE 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 StandaloneJobInfrastructureConfigurationDetails. Allowed values for this property are: “STANDALONE”, “ME_STANDALONE”, “MULTI_NODE”, “EMPTY”, “MANAGED_COMPUTE_CLUSTER”

  • 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.

  • capacity_reservation_id (str) – The value to assign to the capacity_reservation_id 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.

property 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

property capacity_reservation_id

Gets the capacity_reservation_id of this StandaloneJobInfrastructureConfigurationDetails. This specifies the OCID of the customer-managed compute capacity reservation to be used for launching jobs.

Returns

The capacity_reservation_id of this StandaloneJobInfrastructureConfigurationDetails.

Return type

str

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 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”, “MANAGED_COMPUTE_CLUSTER”, ‘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

property 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

property 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

property 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