CapacityBinPreview

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

Bases: object

Total CPU and memory capacity for each capacity bucket.

Methods

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

Attributes

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

Initializes a new CapacityBinPreview 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 CapacityBinPreview.
  • total_ocpus (float) – The value to assign to the total_ocpus property of this CapacityBinPreview.
  • total_memory_in_gbs (float) – The value to assign to the total_memory_in_gbs property of this CapacityBinPreview.
  • supported_shapes (list[str]) – The value to assign to the supported_shapes property of this CapacityBinPreview.
capacity_index

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

Returns:The capacity_index of this CapacityBinPreview.
Return type:int
supported_shapes

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

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

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

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

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

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