ShapeSummary

class oci.mysql.models.ShapeSummary(**kwargs)

Bases: object

The shape of the DB System. The shape determines resources to allocate to the DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. For a description of shapes, see DB System Shape Options.

Attributes

IS_SUPPORTED_FOR_ANALYTICSCLUSTER A constant which can be used with the is_supported_for property of a ShapeSummary.
IS_SUPPORTED_FOR_DBSYSTEM A constant which can be used with the is_supported_for property of a ShapeSummary.
cpu_core_count [Required] Gets the cpu_core_count of this ShapeSummary.
is_supported_for Gets the is_supported_for of this ShapeSummary.
memory_size_in_gbs [Required] Gets the memory_size_in_gbs of this ShapeSummary.
name [Required] Gets the name of this ShapeSummary.

Methods

__init__(**kwargs) Initializes a new ShapeSummary object with values from keyword arguments.
IS_SUPPORTED_FOR_ANALYTICSCLUSTER = 'ANALYTICSCLUSTER'

A constant which can be used with the is_supported_for property of a ShapeSummary. This constant has a value of “ANALYTICSCLUSTER”

IS_SUPPORTED_FOR_DBSYSTEM = 'DBSYSTEM'

A constant which can be used with the is_supported_for property of a ShapeSummary. This constant has a value of “DBSYSTEM”

__init__(**kwargs)

Initializes a new ShapeSummary 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 ShapeSummary.
  • cpu_core_count (int) – The value to assign to the cpu_core_count property of this ShapeSummary.
  • memory_size_in_gbs (int) – The value to assign to the memory_size_in_gbs property of this ShapeSummary.
  • is_supported_for (list[str]) – The value to assign to the is_supported_for property of this ShapeSummary. Allowed values for items in this list are: “DBSYSTEM”, “ANALYTICSCLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
cpu_core_count

[Required] Gets the cpu_core_count of this ShapeSummary. The number of CPU Cores the Instance provides. These are “OCPU”s.

Returns:The cpu_core_count of this ShapeSummary.
Return type:int
is_supported_for

Gets the is_supported_for of this ShapeSummary. What service features the shape is supported for.

Allowed values for items in this list are: “DBSYSTEM”, “ANALYTICSCLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The is_supported_for of this ShapeSummary.
Return type:list[str]
memory_size_in_gbs

[Required] Gets the memory_size_in_gbs of this ShapeSummary. The amount of RAM the Instance provides. This is an IEC base-2 number.

Returns:The memory_size_in_gbs of this ShapeSummary.
Return type:int
name

[Required] Gets the name of this ShapeSummary. The name of the shape used for the DB System.

Returns:The name of this ShapeSummary.
Return type:str