DefaultConfiguration¶
- 
class oci.psql.models.DefaultConfiguration(**kwargs)¶
- Bases: - object- Default configurations for PostgreSQL database systems. - Attributes - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a DefaultConfiguration. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a DefaultConfiguration. - LIFECYCLE_STATE_DELETING- A constant which can be used with the lifecycle_state property of a DefaultConfiguration. - LIFECYCLE_STATE_FAILED- A constant which can be used with the lifecycle_state property of a DefaultConfiguration. - LIFECYCLE_STATE_INACTIVE- A constant which can be used with the lifecycle_state property of a DefaultConfiguration. - compatible_shapes- [Required] Gets the compatible_shapes of this DefaultConfiguration. - configuration_details- [Required] Gets the configuration_details of this DefaultConfiguration. - db_version- [Required] Gets the db_version of this DefaultConfiguration. - description- Gets the description of this DefaultConfiguration. - display_name- [Required] Gets the display_name of this DefaultConfiguration. - id- [Required] Gets the id of this DefaultConfiguration. - instance_memory_size_in_gbs- [Required] Gets the instance_memory_size_in_gbs of this DefaultConfiguration. - instance_ocpu_count- [Required] Gets the instance_ocpu_count of this DefaultConfiguration. - is_flexible- Gets the is_flexible of this DefaultConfiguration. - lifecycle_details- Gets the lifecycle_details of this DefaultConfiguration. - lifecycle_state- [Required] Gets the lifecycle_state of this DefaultConfiguration. - shape- [Required] Gets the shape of this DefaultConfiguration. - time_created- [Required] Gets the time_created of this DefaultConfiguration. - Methods - __init__(**kwargs)- Initializes a new DefaultConfiguration object with values from keyword arguments. - 
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶
- A constant which can be used with the lifecycle_state property of a DefaultConfiguration. This constant has a value of “ACTIVE” 
 - 
LIFECYCLE_STATE_DELETED= 'DELETED'¶
- A constant which can be used with the lifecycle_state property of a DefaultConfiguration. This constant has a value of “DELETED” 
 - 
LIFECYCLE_STATE_DELETING= 'DELETING'¶
- A constant which can be used with the lifecycle_state property of a DefaultConfiguration. This constant has a value of “DELETING” 
 - 
LIFECYCLE_STATE_FAILED= 'FAILED'¶
- A constant which can be used with the lifecycle_state property of a DefaultConfiguration. This constant has a value of “FAILED” 
 - 
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶
- A constant which can be used with the lifecycle_state property of a DefaultConfiguration. This constant has a value of “INACTIVE” 
 - 
__init__(**kwargs)¶
- Initializes a new DefaultConfiguration 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 DefaultConfiguration.
- display_name (str) – The value to assign to the display_name property of this DefaultConfiguration.
- description (str) – The value to assign to the description property of this DefaultConfiguration.
- time_created (datetime) – The value to assign to the time_created property of this DefaultConfiguration.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DefaultConfiguration. Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this DefaultConfiguration.
- db_version (str) – The value to assign to the db_version property of this DefaultConfiguration.
- shape (str) – The value to assign to the shape property of this DefaultConfiguration.
- is_flexible (bool) – The value to assign to the is_flexible property of this DefaultConfiguration.
- instance_ocpu_count (int) – The value to assign to the instance_ocpu_count property of this DefaultConfiguration.
- instance_memory_size_in_gbs (int) – The value to assign to the instance_memory_size_in_gbs property of this DefaultConfiguration.
- compatible_shapes (list[str]) – The value to assign to the compatible_shapes property of this DefaultConfiguration.
- configuration_details (oci.psql.models.DefaultConfigurationDetails) – The value to assign to the configuration_details property of this DefaultConfiguration.
 
 - 
compatible_shapes¶
- [Required] Gets the compatible_shapes of this DefaultConfiguration. Indicates the collection of compatible shapes for this configuration. - Returns: - The compatible_shapes of this DefaultConfiguration. - Return type: - list[str] 
 - 
configuration_details¶
- [Required] Gets the configuration_details of this DefaultConfiguration. - Returns: - The configuration_details of this DefaultConfiguration. - Return type: - oci.psql.models.DefaultConfigurationDetails 
 - 
db_version¶
- [Required] Gets the db_version of this DefaultConfiguration. Version of the PostgreSQL database. - Returns: - The db_version of this DefaultConfiguration. - Return type: - str 
 - 
description¶
- Gets the description of this DefaultConfiguration. A description for the configuration. - Returns: - The description of this DefaultConfiguration. - Return type: - str 
 - 
display_name¶
- [Required] Gets the display_name of this DefaultConfiguration. A user-friendly display name for the configuration. - Returns: - The display_name of this DefaultConfiguration. - Return type: - str 
 - 
id¶
- [Required] Gets the id of this DefaultConfiguration. A unique identifier for the configuration. - Returns: - The id of this DefaultConfiguration. - Return type: - str 
 - 
instance_memory_size_in_gbs¶
- [Required] Gets the instance_memory_size_in_gbs of this DefaultConfiguration. Memory size in gigabytes with 1GB increment. - Its value is set to 0 if configuration is for a flexible shape. - Returns: - The instance_memory_size_in_gbs of this DefaultConfiguration. - Return type: - int 
 - 
instance_ocpu_count¶
- [Required] Gets the instance_ocpu_count of this DefaultConfiguration. CPU core count. - Its value is set to 0 if configuration is for a flexible shape. - Returns: - The instance_ocpu_count of this DefaultConfiguration. - Return type: - int 
 - 
is_flexible¶
- Gets the is_flexible of this DefaultConfiguration. True if the configuration supports flexible shapes, false otherwise. - Returns: - The is_flexible of this DefaultConfiguration. - Return type: - bool 
 - 
lifecycle_details¶
- Gets the lifecycle_details of this DefaultConfiguration. 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 DefaultConfiguration. - Return type: - str 
 - 
lifecycle_state¶
- [Required] Gets the lifecycle_state of this DefaultConfiguration. The current state of the configuration. - Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The lifecycle_state of this DefaultConfiguration. - Return type: - str 
 - 
shape¶
- [Required] Gets the shape of this DefaultConfiguration. 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 DefaultConfiguration. - Return type: - str 
 
-