CapacityReportInstanceShapeConfig

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

Bases: object

The shape configuration for a shape in a capacity report.

Attributes:

BASELINE_OCPU_UTILIZATION_BASELINE_1_1

A constant which can be used with the baseline_ocpu_utilization property of a CapacityReportInstanceShapeConfig.

BASELINE_OCPU_UTILIZATION_BASELINE_1_2

A constant which can be used with the baseline_ocpu_utilization property of a CapacityReportInstanceShapeConfig.

BASELINE_OCPU_UTILIZATION_BASELINE_1_8

A constant which can be used with the baseline_ocpu_utilization property of a CapacityReportInstanceShapeConfig.

baseline_ocpu_utilization

Gets the baseline_ocpu_utilization of this CapacityReportInstanceShapeConfig.

memory_in_gbs

Gets the memory_in_gbs of this CapacityReportInstanceShapeConfig.

nvmes

Gets the nvmes of this CapacityReportInstanceShapeConfig.

ocpus

Gets the ocpus of this CapacityReportInstanceShapeConfig.

Methods:

__init__(**kwargs)

Initializes a new CapacityReportInstanceShapeConfig object with values from keyword arguments.

BASELINE_OCPU_UTILIZATION_BASELINE_1_1 = 'BASELINE_1_1'

A constant which can be used with the baseline_ocpu_utilization property of a CapacityReportInstanceShapeConfig. This constant has a value of “BASELINE_1_1”

BASELINE_OCPU_UTILIZATION_BASELINE_1_2 = 'BASELINE_1_2'

A constant which can be used with the baseline_ocpu_utilization property of a CapacityReportInstanceShapeConfig. This constant has a value of “BASELINE_1_2”

BASELINE_OCPU_UTILIZATION_BASELINE_1_8 = 'BASELINE_1_8'

A constant which can be used with the baseline_ocpu_utilization property of a CapacityReportInstanceShapeConfig. This constant has a value of “BASELINE_1_8”

__init__(**kwargs)

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

Parameters
  • ocpus (float) – The value to assign to the ocpus property of this CapacityReportInstanceShapeConfig.

  • memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this CapacityReportInstanceShapeConfig.

  • nvmes (int) – The value to assign to the nvmes property of this CapacityReportInstanceShapeConfig.

  • baseline_ocpu_utilization (str) – The value to assign to the baseline_ocpu_utilization property of this CapacityReportInstanceShapeConfig. Allowed values for this property are: “BASELINE_1_8”, “BASELINE_1_2”, “BASELINE_1_1”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property baseline_ocpu_utilization

Gets the baseline_ocpu_utilization of this CapacityReportInstanceShapeConfig. The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with BASELINE_1_1.

The following values are supported: - BASELINE_1_8 - baseline usage is 1/8 of an OCPU. - BASELINE_1_2 - baseline usage is 1/2 of an OCPU. - BASELINE_1_1 - baseline usage is an entire OCPU. This represents a non-burstable instance.

Allowed values for this property are: “BASELINE_1_8”, “BASELINE_1_2”, “BASELINE_1_1”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The baseline_ocpu_utilization of this CapacityReportInstanceShapeConfig.

Return type

str

property memory_in_gbs

Gets the memory_in_gbs of this CapacityReportInstanceShapeConfig. The total amount of memory available to the instance, in gigabytes.

Returns

The memory_in_gbs of this CapacityReportInstanceShapeConfig.

Return type

float

property nvmes

Gets the nvmes of this CapacityReportInstanceShapeConfig. The number of NVMe drives to be used for storage.

Returns

The nvmes of this CapacityReportInstanceShapeConfig.

Return type

int

property ocpus

Gets the ocpus of this CapacityReportInstanceShapeConfig. The total number of OCPUs available to the instance.

Returns

The ocpus of this CapacityReportInstanceShapeConfig.

Return type

float