ResourceUsageSummary

class oci.opsi.models.ResourceUsageSummary(**kwargs)

Bases: object

Contains resource usage summary

Methods:

__init__(**kwargs)

Initializes a new ResourceUsageSummary object with values from keyword arguments.

Attributes:

capacity

[Required] Gets the capacity of this ResourceUsageSummary.

exadata_display_name

Gets the exadata_display_name of this ResourceUsageSummary.

exadata_insight_id

[Required] Gets the exadata_insight_id of this ResourceUsageSummary.

total_host_capacity

Gets the total_host_capacity of this ResourceUsageSummary.

usage

[Required] Gets the usage of this ResourceUsageSummary.

usage_change_percent

[Required] Gets the usage_change_percent of this ResourceUsageSummary.

utilization_percent

[Required] Gets the utilization_percent of this ResourceUsageSummary.

__init__(**kwargs)

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

Parameters
  • exadata_insight_id (str) – The value to assign to the exadata_insight_id property of this ResourceUsageSummary.

  • exadata_display_name (str) – The value to assign to the exadata_display_name property of this ResourceUsageSummary.

  • usage (float) – The value to assign to the usage property of this ResourceUsageSummary.

  • capacity (float) – The value to assign to the capacity property of this ResourceUsageSummary.

  • utilization_percent (float) – The value to assign to the utilization_percent property of this ResourceUsageSummary.

  • usage_change_percent (float) – The value to assign to the usage_change_percent property of this ResourceUsageSummary.

  • total_host_capacity (float) – The value to assign to the total_host_capacity property of this ResourceUsageSummary.

property capacity

[Required] Gets the capacity of this ResourceUsageSummary. The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

Returns

The capacity of this ResourceUsageSummary.

Return type

float

property exadata_display_name

Gets the exadata_display_name of this ResourceUsageSummary. The user-friendly name for the Exadata system. The name does not have to be unique.

Returns

The exadata_display_name of this ResourceUsageSummary.

Return type

str

property exadata_insight_id

[Required] Gets the exadata_insight_id of this ResourceUsageSummary. The OCID of the Exadata insight.

Returns

The exadata_insight_id of this ResourceUsageSummary.

Return type

str

property total_host_capacity

Gets the total_host_capacity of this ResourceUsageSummary. The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.

Returns

The total_host_capacity of this ResourceUsageSummary.

Return type

float

property usage

[Required] Gets the usage of this ResourceUsageSummary. Total amount used of the resource metric type (CPU, STORAGE).

Returns

The usage of this ResourceUsageSummary.

Return type

float

property usage_change_percent

[Required] Gets the usage_change_percent of this ResourceUsageSummary. Change in resource utilization in percentage

Returns

The usage_change_percent of this ResourceUsageSummary.

Return type

float

property utilization_percent

[Required] Gets the utilization_percent of this ResourceUsageSummary. Resource utilization in percentage

Returns

The utilization_percent of this ResourceUsageSummary.

Return type

float