ShapeConfig

class oci.dif.models.ShapeConfig(**kwargs)

Bases: object

This is used to configure the shape of the driver or executor if a flexible shape is used.

Methods

__init__(**kwargs) Initializes a new ShapeConfig object with values from keyword arguments.

Attributes

memory_in_gbs [Required] Gets the memory_in_gbs of this ShapeConfig.
ocpus [Required] Gets the ocpus of this ShapeConfig.
__init__(**kwargs)

Initializes a new ShapeConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • memory_in_gbs (int) – The value to assign to the memory_in_gbs property of this ShapeConfig.
  • ocpus (int) – The value to assign to the ocpus property of this ShapeConfig.
memory_in_gbs

[Required] Gets the memory_in_gbs of this ShapeConfig. The amount of memory used for the driver or executors.

Returns:The memory_in_gbs of this ShapeConfig.
Return type:int
ocpus

[Required] Gets the ocpus of this ShapeConfig. The total number of OCPUs used for the driver or executors. See here for details.

Returns:The ocpus of this ShapeConfig.
Return type:int