CapacityBin

class oci.core.models.CapacityBin(**kwargs)

Bases: object

Total and remaining CPU & memory capacity for each capacity bucket.

Methods

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

Attributes

capacity_index [Required] Gets the capacity_index of this CapacityBin.
remaining_memory_in_gbs [Required] Gets the remaining_memory_in_gbs of this CapacityBin.
remaining_ocpus [Required] Gets the remaining_ocpus of this CapacityBin.
supported_shapes [Required] Gets the supported_shapes of this CapacityBin.
total_memory_in_gbs [Required] Gets the total_memory_in_gbs of this CapacityBin.
total_ocpus [Required] Gets the total_ocpus of this CapacityBin.
__init__(**kwargs)

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

Parameters:
  • capacity_index (int) – The value to assign to the capacity_index property of this CapacityBin.
  • total_ocpus (float) – The value to assign to the total_ocpus property of this CapacityBin.
  • remaining_ocpus (float) – The value to assign to the remaining_ocpus property of this CapacityBin.
  • total_memory_in_gbs (float) – The value to assign to the total_memory_in_gbs property of this CapacityBin.
  • remaining_memory_in_gbs (float) – The value to assign to the remaining_memory_in_gbs property of this CapacityBin.
  • supported_shapes (list[str]) – The value to assign to the supported_shapes property of this CapacityBin.
capacity_index

[Required] Gets the capacity_index of this CapacityBin. Zero-based index for the corresponding capacity bucket.

Returns:The capacity_index of this CapacityBin.
Return type:int
remaining_memory_in_gbs

[Required] Gets the remaining_memory_in_gbs of this CapacityBin. The remaining memory of the capacity bucket, in GBs.

Returns:The remaining_memory_in_gbs of this CapacityBin.
Return type:float
remaining_ocpus

[Required] Gets the remaining_ocpus of this CapacityBin. The available OCPUs of the capacity bucket.

Returns:The remaining_ocpus of this CapacityBin.
Return type:float
supported_shapes

[Required] Gets the supported_shapes of this CapacityBin. List of VMI shapes supported on each capacity bucket.

Returns:The supported_shapes of this CapacityBin.
Return type:list[str]
total_memory_in_gbs

[Required] Gets the total_memory_in_gbs of this CapacityBin. The total memory of the capacity bucket, in GBs.

Returns:The total_memory_in_gbs of this CapacityBin.
Return type:float
total_ocpus

[Required] Gets the total_ocpus of this CapacityBin. The total OCPUs of the capacity bucket.

Returns:The total_ocpus of this CapacityBin.
Return type:float