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. db_version
[Required] Gets the db_version 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.
- 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.
-
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
-
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
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))
-
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
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)
-
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
-
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
-
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
-
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
-
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
-
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
-
shape
¶ [Required] Gets the shape of this ConfigurationSummary. The name of the shape for the configuration. Example: VM.Standard.E4.Flex
Returns: The shape of this ConfigurationSummary. Return type: str
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))
-