CreateConfigurationDetails¶
- class oci.psql.models.CreateConfigurationDetails(**kwargs)¶
Bases:
objectThe information to create a new configuration.
Methods:
__init__(**kwargs)Initializes a new CreateConfigurationDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateConfigurationDetails.
Gets the compatible_shapes of this CreateConfigurationDetails.
[Required] Gets the db_configuration_overrides of this CreateConfigurationDetails.
[Required] Gets the db_version of this CreateConfigurationDetails.
Gets the defined_tags of this CreateConfigurationDetails.
Gets the description of this CreateConfigurationDetails.
[Required] Gets the display_name of this CreateConfigurationDetails.
Gets the freeform_tags of this CreateConfigurationDetails.
Gets the instance_memory_size_in_gbs of this CreateConfigurationDetails.
Gets the instance_ocpu_count of this CreateConfigurationDetails.
Gets the is_flexible of this CreateConfigurationDetails.
Gets the shape of this CreateConfigurationDetails.
Gets the system_tags of this CreateConfigurationDetails.
- __init__(**kwargs)¶
Initializes a new CreateConfigurationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateConfigurationDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateConfigurationDetails.
description (str) – The value to assign to the description property of this CreateConfigurationDetails.
db_version (str) – The value to assign to the db_version property of this CreateConfigurationDetails.
shape (str) – The value to assign to the shape property of this CreateConfigurationDetails.
is_flexible (bool) – The value to assign to the is_flexible property of this CreateConfigurationDetails.
instance_ocpu_count (int) – The value to assign to the instance_ocpu_count property of this CreateConfigurationDetails.
instance_memory_size_in_gbs (int) – The value to assign to the instance_memory_size_in_gbs property of this CreateConfigurationDetails.
compatible_shapes (list[str]) – The value to assign to the compatible_shapes property of this CreateConfigurationDetails.
db_configuration_overrides (oci.psql.models.DbConfigurationOverrideCollection) – The value to assign to the db_configuration_overrides property of this CreateConfigurationDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateConfigurationDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateConfigurationDetails.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CreateConfigurationDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateConfigurationDetails. The OCID of the compartment that contains the configuration.
- Returns
The compartment_id of this CreateConfigurationDetails.
- Return type
str
- property compatible_shapes¶
Gets the compatible_shapes of this CreateConfigurationDetails. Indicates the collection of compatible shapes for this configuration.
- Returns
The compatible_shapes of this CreateConfigurationDetails.
- Return type
list[str]
- property db_configuration_overrides¶
[Required] Gets the db_configuration_overrides of this CreateConfigurationDetails.
- Returns
The db_configuration_overrides of this CreateConfigurationDetails.
- Return type
- property db_version¶
[Required] Gets the db_version of this CreateConfigurationDetails. Version of the PostgreSQL database.
- Returns
The db_version of this CreateConfigurationDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateConfigurationDetails. 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 CreateConfigurationDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateConfigurationDetails. Details about the configuration set.
- Returns
The description of this CreateConfigurationDetails.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this CreateConfigurationDetails. A user-friendly display name for the configuration. Avoid entering confidential information.
- Returns
The display_name of this CreateConfigurationDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateConfigurationDetails. 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 CreateConfigurationDetails.
- Return type
dict(str, str)
- property instance_memory_size_in_gbs¶
Gets the instance_memory_size_in_gbs of this CreateConfigurationDetails. Memory size in gigabytes with 1GB increment.
Skip or set it’s value to 0 if configuration is for a flexible shape.
- Returns
The instance_memory_size_in_gbs of this CreateConfigurationDetails.
- Return type
int
- property instance_ocpu_count¶
Gets the instance_ocpu_count of this CreateConfigurationDetails. CPU core count.
Skip or set it’s value to 0 if configuration is for a flexible shape.
- Returns
The instance_ocpu_count of this CreateConfigurationDetails.
- Return type
int
- property is_flexible¶
Gets the is_flexible of this CreateConfigurationDetails. Whether the configuration supports flexible shapes.
- Returns
The is_flexible of this CreateConfigurationDetails.
- Return type
bool
- property shape¶
Gets the shape of this CreateConfigurationDetails. The name of the shape for the configuration.
For multi-shape enabled configurations, it is set to PostgreSQL.X86 or similar. Please use compatibleShapes property to set the list of supported shapes.
- Returns
The shape of this CreateConfigurationDetails.
- Return type
str
- property system_tags¶
Gets the system_tags of this CreateConfigurationDetails. 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 CreateConfigurationDetails.
- Return type
dict(str, dict(str, object))