FleetShape¶
-
class
oci.batch.models.FleetShape(**kwargs)¶ Bases:
objectShape of the fleet. Describes hardware resources of each node in the fleet.
Methods
__init__(**kwargs)Initializes a new FleetShape object with values from keyword arguments. Attributes
memory_in_gbs[Required] Gets the memory_in_gbs of this FleetShape. ocpus[Required] Gets the ocpus of this FleetShape. shape_name[Required] Gets the shape_name of this FleetShape. -
__init__(**kwargs)¶ Initializes a new FleetShape object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - shape_name (str) – The value to assign to the shape_name property of this FleetShape.
- ocpus (int) – The value to assign to the ocpus property of this FleetShape.
- memory_in_gbs (int) – The value to assign to the memory_in_gbs property of this FleetShape.
-
memory_in_gbs¶ [Required] Gets the memory_in_gbs of this FleetShape. Amount of memory in GBs required by the shape.
Returns: The memory_in_gbs of this FleetShape. Return type: int
-
ocpus¶ [Required] Gets the ocpus of this FleetShape. Number of OCPUs required by the shape.
Returns: The ocpus of this FleetShape. Return type: int
-
shape_name¶ [Required] Gets the shape_name of this FleetShape. The name of the shape.
Returns: The shape_name of this FleetShape. Return type: str
-