ManagedEgressStandaloneJobInfrastructureConfigurationDetails¶
- class oci.data_science.models.ManagedEgressStandaloneJobInfrastructureConfigurationDetails(**kwargs)¶
Bases:
JobInfrastructureConfigurationDetailsThis type should only be used at the top level infrastructure configuration field for configuring single-node jobs.
Attributes:
A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails.
A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails.
A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails.
A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails.
A constant which can be used with the job_infrastructure_type property of a JobInfrastructureConfigurationDetails.
[Required] Gets the block_storage_size_in_gbs of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
Gets the capacity_reservation_id of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
[Required] Gets the job_infrastructure_type of this JobInfrastructureConfigurationDetails.
Gets the job_shape_config_details of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
[Required] Gets the shape_name of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
Methods:
__init__(**kwargs)Initializes a new ManagedEgressStandaloneJobInfrastructureConfigurationDetails 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 ManagedEgressStandaloneJobInfrastructureConfigurationDetails object with values from keyword arguments. The default value of the
job_infrastructure_typeattribute of this class isME_STANDALONEand 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 ManagedEgressStandaloneJobInfrastructureConfigurationDetails. 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 ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
block_storage_size_in_gbs (int) – The value to assign to the block_storage_size_in_gbs property of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
capacity_reservation_id (str) – The value to assign to the capacity_reservation_id property of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
job_shape_config_details (oci.data_science.models.JobShapeConfigDetails) – The value to assign to the job_shape_config_details property of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
- property block_storage_size_in_gbs¶
[Required] Gets the block_storage_size_in_gbs of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails. The size of the block storage volume to attach to the instance running the job
- Returns
The block_storage_size_in_gbs of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
- Return type
int
- property capacity_reservation_id¶
Gets the capacity_reservation_id of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails. This specifies the OCID of the customer-managed compute capacity reservation to be used for launching jobs.
- Returns
The capacity_reservation_id of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
- 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 ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
- Returns
The job_shape_config_details of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
- Return type
- property shape_name¶
[Required] Gets the shape_name of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails. The shape used to launch the job run instances.
- Returns
The shape_name of this ManagedEgressStandaloneJobInfrastructureConfigurationDetails.
- Return type
str