ConfigurationSummary

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

Bases: object

Summary of the configuration.

Methods:

__init__(**kwargs)

Initializes a new ConfigurationSummary object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ConfigurationSummary.

compatible_shapes

[Required] Gets the compatible_shapes of this ConfigurationSummary.

db_version

[Required] Gets the db_version of this ConfigurationSummary.

default_config_id

[Required] Gets the default_config_id of this ConfigurationSummary.

defined_tags

Gets the defined_tags of this ConfigurationSummary.

display_name

[Required] Gets the display_name of this ConfigurationSummary.

freeform_tags

Gets the freeform_tags of this ConfigurationSummary.

id

[Required] Gets the id of this ConfigurationSummary.

instance_memory_size_in_gbs

[Required] Gets the instance_memory_size_in_gbs of this ConfigurationSummary.

instance_ocpu_count

[Required] Gets the instance_ocpu_count of this ConfigurationSummary.

is_flexible

Gets the is_flexible of this ConfigurationSummary.

lifecycle_details

Gets the lifecycle_details of this ConfigurationSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this ConfigurationSummary.

shape

[Required] Gets the shape of this ConfigurationSummary.

system_tags

Gets the system_tags of this ConfigurationSummary.

time_created

[Required] Gets the time_created of this ConfigurationSummary.

__init__(**kwargs)

Initializes a new ConfigurationSummary 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 ConfigurationSummary.

  • display_name (str) – The value to assign to the display_name property of this ConfigurationSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this ConfigurationSummary.

  • time_created (datetime) – The value to assign to the time_created property of this ConfigurationSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ConfigurationSummary.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this ConfigurationSummary.

  • db_version (str) – The value to assign to the db_version property of this ConfigurationSummary.

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

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

  • instance_ocpu_count (int) – The value to assign to the instance_ocpu_count property of this ConfigurationSummary.

  • instance_memory_size_in_gbs (int) – The value to assign to the instance_memory_size_in_gbs property of this ConfigurationSummary.

  • compatible_shapes (list[str]) – The value to assign to the compatible_shapes property of this ConfigurationSummary.

  • default_config_id (str) – The value to assign to the default_config_id property of this ConfigurationSummary.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ConfigurationSummary.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ConfigurationSummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ConfigurationSummary.

property compartment_id

[Required] Gets the compartment_id of this ConfigurationSummary. The OCID of the compartment that contains the configuration.

Returns

The compartment_id of this ConfigurationSummary.

Return type

str

property compatible_shapes

[Required] Gets the compatible_shapes of this ConfigurationSummary. Indicates the collection of compatible shapes for this configuration.

Returns

The compatible_shapes of this ConfigurationSummary.

Return type

list[str]

property db_version

[Required] Gets the db_version of this ConfigurationSummary. Version of the PostgreSQL database.

Returns

The db_version of this ConfigurationSummary.

Return type

str

property default_config_id

[Required] Gets the default_config_id of this ConfigurationSummary. The Default configuration used for this configuration.

Returns

The default_config_id of this ConfigurationSummary.

Return type

str

property defined_tags

Gets the defined_tags of this ConfigurationSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this ConfigurationSummary.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this ConfigurationSummary. A user-friendly display name for the configuration. Avoid entering confidential information.

Returns

The display_name of this ConfigurationSummary.

Return type

str

property freeform_tags

Gets the freeform_tags of this ConfigurationSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this ConfigurationSummary.

Return type

dict(str, str)

property id

[Required] Gets the id of this ConfigurationSummary. The OCID of the configuration. Immutable on creation.

Returns

The id of this ConfigurationSummary.

Return type

str

property instance_memory_size_in_gbs

[Required] Gets the instance_memory_size_in_gbs of this ConfigurationSummary. Memory size in gigabytes with 1GB increment.

It’s value is set to 0 if configuration is for a flexible shape.

Returns

The instance_memory_size_in_gbs of this ConfigurationSummary.

Return type

int

property instance_ocpu_count

[Required] Gets the instance_ocpu_count of this ConfigurationSummary. CPU core count.

It’s value is set to 0 if configuration is for a flexible shape.

Returns

The instance_ocpu_count of this ConfigurationSummary.

Return type

int

property is_flexible

Gets the is_flexible of this ConfigurationSummary. Whether the configuration supports flexible shapes.

Returns

The is_flexible of this ConfigurationSummary.

Return type

bool

property lifecycle_details

Gets the lifecycle_details of this ConfigurationSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Returns

The lifecycle_details of this ConfigurationSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this ConfigurationSummary. The current state of the configuration.

Returns

The lifecycle_state of this ConfigurationSummary.

Return type

str

property shape

[Required] Gets the shape of this ConfigurationSummary. The name of the shape for the configuration.

For multi-shape enabled configurations, it is set to PostgreSQL. Please use compatibleShapes property to get list of supported shapes for such configurations.

Returns

The shape of this ConfigurationSummary.

Return type

str

property system_tags

Gets the system_tags of this ConfigurationSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this ConfigurationSummary.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this ConfigurationSummary. The date and time the configuration was created, expressed in RFC 3339 timestamp format.

Example: 2016-08-25T21:10:29.600Z

Returns

The time_created of this ConfigurationSummary.

Return type

datetime