DefaultConfigurationSummary¶
- class oci.psql.models.DefaultConfigurationSummary(**kwargs)¶
Bases:
objectSummary of the configuration.
Methods:
__init__(**kwargs)Initializes a new DefaultConfigurationSummary object with values from keyword arguments.
Attributes:
[Required] Gets the compatible_shapes of this DefaultConfigurationSummary.
[Required] Gets the db_version of this DefaultConfigurationSummary.
[Required] Gets the display_name of this DefaultConfigurationSummary.
[Required] Gets the id of this DefaultConfigurationSummary.
[Required] Gets the instance_memory_size_in_gbs of this DefaultConfigurationSummary.
[Required] Gets the instance_ocpu_count of this DefaultConfigurationSummary.
Gets the is_flexible of this DefaultConfigurationSummary.
Gets the lifecycle_details of this DefaultConfigurationSummary.
[Required] Gets the lifecycle_state of this DefaultConfigurationSummary.
[Required] Gets the shape of this DefaultConfigurationSummary.
[Required] Gets the time_created of this DefaultConfigurationSummary.
- __init__(**kwargs)¶
Initializes a new DefaultConfigurationSummary 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 DefaultConfigurationSummary.
display_name (str) – The value to assign to the display_name property of this DefaultConfigurationSummary.
time_created (datetime) – The value to assign to the time_created property of this DefaultConfigurationSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DefaultConfigurationSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this DefaultConfigurationSummary.
db_version (str) – The value to assign to the db_version property of this DefaultConfigurationSummary.
shape (str) – The value to assign to the shape property of this DefaultConfigurationSummary.
is_flexible (bool) – The value to assign to the is_flexible property of this DefaultConfigurationSummary.
instance_ocpu_count (int) – The value to assign to the instance_ocpu_count property of this DefaultConfigurationSummary.
instance_memory_size_in_gbs (int) – The value to assign to the instance_memory_size_in_gbs property of this DefaultConfigurationSummary.
compatible_shapes (list[str]) – The value to assign to the compatible_shapes property of this DefaultConfigurationSummary.
- property compatible_shapes¶
[Required] Gets the compatible_shapes of this DefaultConfigurationSummary. Indicates the collection of compatible shapes for this configuration.
- Returns
The compatible_shapes of this DefaultConfigurationSummary.
- Return type
list[str]
- property db_version¶
[Required] Gets the db_version of this DefaultConfigurationSummary. Version of the PostgreSQL database.
- Returns
The db_version of this DefaultConfigurationSummary.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this DefaultConfigurationSummary. A user-friendly display name for the configuration.
- Returns
The display_name of this DefaultConfigurationSummary.
- Return type
str
- property id¶
[Required] Gets the id of this DefaultConfigurationSummary. A unique identifier for the configuration.
- Returns
The id of this DefaultConfigurationSummary.
- Return type
str
- property instance_memory_size_in_gbs¶
[Required] Gets the instance_memory_size_in_gbs of this DefaultConfigurationSummary. 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 DefaultConfigurationSummary.
- Return type
int
- property instance_ocpu_count¶
[Required] Gets the instance_ocpu_count of this DefaultConfigurationSummary. CPU core count.
It’s value is set to 0 if configuration is for a flexible shape.
- Returns
The instance_ocpu_count of this DefaultConfigurationSummary.
- Return type
int
- property is_flexible¶
Gets the is_flexible of this DefaultConfigurationSummary. True if the configuration supports flexible shapes, false otherwise.
- Returns
The is_flexible of this DefaultConfigurationSummary.
- Return type
bool
- property lifecycle_details¶
Gets the lifecycle_details of this DefaultConfigurationSummary. 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 DefaultConfigurationSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this DefaultConfigurationSummary. The current state of the configuration.
- Returns
The lifecycle_state of this DefaultConfigurationSummary.
- Return type
str
- property shape¶
[Required] Gets the shape of this DefaultConfigurationSummary. 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 DefaultConfigurationSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this DefaultConfigurationSummary. The date and time that the configuration was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
- Returns
The time_created of this DefaultConfigurationSummary.
- Return type
datetime