FleetShape

class oci.batch.models.FleetShape(**kwargs)

Bases: object

Shape 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:

disk_size_in_gbs

Gets the disk_size_in_gbs of this FleetShape.

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.

  • disk_size_in_gbs (int) – The value to assign to the disk_size_in_gbs property of this FleetShape.

property disk_size_in_gbs

Gets the disk_size_in_gbs of this FleetShape. Amount of disk space in GBs required for the shape.

Returns

The disk_size_in_gbs of this FleetShape.

Return type

int

property memory_in_gbs

[Required] Gets the memory_in_gbs of this FleetShape. Amount of memory in GBs required for the shape.

Returns

The memory_in_gbs of this FleetShape.

Return type

int

property ocpus

[Required] Gets the ocpus of this FleetShape. Number of OCPUs required for the shape.

Returns

The ocpus of this FleetShape.

Return type

int

property 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