FlexComponentSummary

class oci.database.models.FlexComponentSummary(**kwargs)

Bases: object

The Flex Components for a DB system. The Flex Component determines resources to allocate to the DB system - CPU cores, memory and storage for Flex shapes.

For Exadata flexible shapes, detailed specifications can be found in https://docs.oracle.com/en/engineered-systems/exadata-cloud-service/ecscm/exa-service-desc.html#GUID-9E090174-5C57-4EB1-9243-B470F9F10D6B

To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.

Attributes:

HARDWARE_TYPE_CELL

A constant which can be used with the hardware_type property of a FlexComponentSummary.

HARDWARE_TYPE_COMPUTE

A constant which can be used with the hardware_type property of a FlexComponentSummary.

available_core_count

Gets the available_core_count of this FlexComponentSummary.

available_db_storage_in_gbs

Gets the available_db_storage_in_gbs of this FlexComponentSummary.

available_local_storage_in_gbs

Gets the available_local_storage_in_gbs of this FlexComponentSummary.

available_memory_in_gbs

Gets the available_memory_in_gbs of this FlexComponentSummary.

compute_model

Gets the compute_model of this FlexComponentSummary.

description_summary

Gets the description_summary of this FlexComponentSummary.

hardware_type

Gets the hardware_type of this FlexComponentSummary.

minimum_core_count

Gets the minimum_core_count of this FlexComponentSummary.

name

[Required] Gets the name of this FlexComponentSummary.

runtime_minimum_core_count

Gets the runtime_minimum_core_count of this FlexComponentSummary.

shape

Gets the shape of this FlexComponentSummary.

Methods:

__init__(**kwargs)

Initializes a new FlexComponentSummary object with values from keyword arguments.

HARDWARE_TYPE_CELL = 'CELL'

A constant which can be used with the hardware_type property of a FlexComponentSummary. This constant has a value of “CELL”

HARDWARE_TYPE_COMPUTE = 'COMPUTE'

A constant which can be used with the hardware_type property of a FlexComponentSummary. This constant has a value of “COMPUTE”

__init__(**kwargs)

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

Parameters
  • name (str) – The value to assign to the name property of this FlexComponentSummary.

  • minimum_core_count (int) – The value to assign to the minimum_core_count property of this FlexComponentSummary.

  • available_core_count (int) – The value to assign to the available_core_count property of this FlexComponentSummary.

  • available_db_storage_in_gbs (int) – The value to assign to the available_db_storage_in_gbs property of this FlexComponentSummary.

  • runtime_minimum_core_count (int) – The value to assign to the runtime_minimum_core_count property of this FlexComponentSummary.

  • shape (str) – The value to assign to the shape property of this FlexComponentSummary.

  • available_memory_in_gbs (int) – The value to assign to the available_memory_in_gbs property of this FlexComponentSummary.

  • available_local_storage_in_gbs (int) – The value to assign to the available_local_storage_in_gbs property of this FlexComponentSummary.

  • compute_model (str) – The value to assign to the compute_model property of this FlexComponentSummary.

  • hardware_type (str) – The value to assign to the hardware_type property of this FlexComponentSummary. Allowed values for this property are: “COMPUTE”, “CELL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • description_summary (str) – The value to assign to the description_summary property of this FlexComponentSummary.

property available_core_count

Gets the available_core_count of this FlexComponentSummary. The maximum number of CPU cores that can ben enabled on the DB Server for this Flex Component.

Returns

The available_core_count of this FlexComponentSummary.

Return type

int

property available_db_storage_in_gbs

Gets the available_db_storage_in_gbs of this FlexComponentSummary. The maximum storage that can be enabled on the Storage Server for this Flex Component.

Returns

The available_db_storage_in_gbs of this FlexComponentSummary.

Return type

int

property available_local_storage_in_gbs

Gets the available_local_storage_in_gbs of this FlexComponentSummary. The maximum local storage that can be enabled on the DB Server for this Flex Component.

Returns

The available_local_storage_in_gbs of this FlexComponentSummary.

Return type

int

property available_memory_in_gbs

Gets the available_memory_in_gbs of this FlexComponentSummary. The maximum memory size that can be enabled on the DB Server for this Flex Component.

Returns

The available_memory_in_gbs of this FlexComponentSummary.

Return type

int

property compute_model

Gets the compute_model of this FlexComponentSummary. The compute model of the DB Server for this Flex Component.

Returns

The compute_model of this FlexComponentSummary.

Return type

str

property description_summary

Gets the description_summary of this FlexComponentSummary. The description summary for this Flex Component.

Returns

The description_summary of this FlexComponentSummary.

Return type

str

property hardware_type

Gets the hardware_type of this FlexComponentSummary. The hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.

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

Returns

The hardware_type of this FlexComponentSummary.

Return type

str

property minimum_core_count

Gets the minimum_core_count of this FlexComponentSummary. The minimum number of CPU cores that can be enabled on the DB Server for this Flex Component.

Returns

The minimum_core_count of this FlexComponentSummary.

Return type

int

property name

[Required] Gets the name of this FlexComponentSummary. The name of the Flex Component used for the DB system.

Returns

The name of this FlexComponentSummary.

Return type

str

property runtime_minimum_core_count

Gets the runtime_minimum_core_count of this FlexComponentSummary. The runtime minimum number of CPU cores that can be enabled for this Flex Component.

Returns

The runtime_minimum_core_count of this FlexComponentSummary.

Return type

int

property shape

Gets the shape of this FlexComponentSummary. The name of the DB system shape for this Flex Component.

Returns

The shape of this FlexComponentSummary.

Return type

str