ShapeSummary

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

Bases: object

Summary of the database system shape.

Methods:

__init__(**kwargs)

Initializes a new ShapeSummary object with values from keyword arguments.

Attributes:

id

Gets the id of this ShapeSummary.

is_flexible

Gets the is_flexible of this ShapeSummary.

memory_size_in_gbs

[Required] Gets the memory_size_in_gbs of this ShapeSummary.

ocpu_count

[Required] Gets the ocpu_count of this ShapeSummary.

shape

[Required] Gets the shape of this ShapeSummary.

shape_memory_options

Gets the shape_memory_options of this ShapeSummary.

shape_ocpu_options

Gets the shape_ocpu_options of this ShapeSummary.

__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
  • id (str) – The value to assign to the id property of this ShapeSummary.

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

  • is_flexible (bool) – The value to assign to the is_flexible property of this ShapeSummary.

  • ocpu_count (int) – The value to assign to the ocpu_count property of this ShapeSummary.

  • memory_size_in_gbs (int) – The value to assign to the memory_size_in_gbs property of this ShapeSummary.

  • shape_ocpu_options (oci.psql.models.ShapeOcpuOptions) – The value to assign to the shape_ocpu_options property of this ShapeSummary.

  • shape_memory_options (oci.psql.models.ShapeMemoryOptions) – The value to assign to the shape_memory_options property of this ShapeSummary.

property id

Gets the id of this ShapeSummary. A unique identifier for the shape.

Returns

The id of this ShapeSummary.

Return type

str

property is_flexible

Gets the is_flexible of this ShapeSummary. Indicates if the shape is a flex shape.

Returns

The is_flexible of this ShapeSummary.

Return type

bool

property memory_size_in_gbs

[Required] Gets the memory_size_in_gbs of this ShapeSummary. The amount of memory in gigabytes.

Returns

The memory_size_in_gbs of this ShapeSummary.

Return type

int

property ocpu_count

[Required] Gets the ocpu_count of this ShapeSummary. The number of OCPUs.

Returns

The ocpu_count of this ShapeSummary.

Return type

int

property shape

[Required] Gets the shape of this ShapeSummary. The name of the Compute VM shape. Example: VM.Standard.E4.Flex

Returns

The shape of this ShapeSummary.

Return type

str

property shape_memory_options

Gets the shape_memory_options of this ShapeSummary.

Returns

The shape_memory_options of this ShapeSummary.

Return type

oci.psql.models.ShapeMemoryOptions

property shape_ocpu_options

Gets the shape_ocpu_options of this ShapeSummary.

Returns

The shape_ocpu_options of this ShapeSummary.

Return type

oci.psql.models.ShapeOcpuOptions