CapacityBinPreview¶
- class oci.core.models.CapacityBinPreview(**kwargs)¶
Bases:
objectTotal CPU and memory capacity for each capacity bucket.
Methods:
__init__(**kwargs)Initializes a new CapacityBinPreview object with values from keyword arguments.
Attributes:
[Required] Gets the capacity_index of this CapacityBinPreview.
[Required] Gets the supported_shapes of this CapacityBinPreview.
Gets the total_local_volume_in_gbs of this CapacityBinPreview.
[Required] Gets the total_memory_in_gbs of this CapacityBinPreview.
[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.
total_local_volume_in_gbs (float) – The value to assign to the total_local_volume_in_gbs property of this CapacityBinPreview.
supported_shapes (list[str]) – The value to assign to the supported_shapes property of this CapacityBinPreview.
- property 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
- property 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]
- property total_local_volume_in_gbs¶
Gets the total_local_volume_in_gbs of this CapacityBinPreview. The total local volume of the capacity bucket, in GBs.
- Returns
The total_local_volume_in_gbs of this CapacityBinPreview.
- Return type
float
- property 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
- property 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