CapacityBin

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

Bases: object

Total and remaining CPU and 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_local_volume_in_gbs

Gets the remaining_local_volume_in_gbs 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_local_volume_in_gbs

Gets the total_local_volume_in_gbs 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.

  • total_local_volume_in_gbs (float) – The value to assign to the total_local_volume_in_gbs property of this CapacityBin.

  • remaining_local_volume_in_gbs (float) – The value to assign to the remaining_local_volume_in_gbs property of this CapacityBin.

  • supported_shapes (list[str]) – The value to assign to the supported_shapes property of this CapacityBin.

property 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

property remaining_local_volume_in_gbs

Gets the remaining_local_volume_in_gbs of this CapacityBin. The remaining local volume of the capacity bucket, in GBs.

Returns

The remaining_local_volume_in_gbs of this CapacityBin.

Return type

float

property 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

property 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

property 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]

property total_local_volume_in_gbs

Gets the total_local_volume_in_gbs of this CapacityBin. The total local volume of the capacity bucket, in GBs.

Returns

The total_local_volume_in_gbs of this CapacityBin.

Return type

float

property 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

property 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