CreateConfigurationDetails

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

Bases: object

The information to create a new configuration.

Methods

__init__(**kwargs) Initializes a new CreateConfigurationDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateConfigurationDetails.
db_configuration_overrides [Required] Gets the db_configuration_overrides of this CreateConfigurationDetails.
db_version [Required] Gets the db_version of this CreateConfigurationDetails.
defined_tags Gets the defined_tags of this CreateConfigurationDetails.
description Gets the description of this CreateConfigurationDetails.
display_name [Required] Gets the display_name of this CreateConfigurationDetails.
freeform_tags Gets the freeform_tags of this CreateConfigurationDetails.
instance_memory_size_in_gbs Gets the instance_memory_size_in_gbs of this CreateConfigurationDetails.
instance_ocpu_count Gets the instance_ocpu_count of this CreateConfigurationDetails.
is_flexible Gets the is_flexible of this CreateConfigurationDetails.
shape [Required] Gets the shape of this CreateConfigurationDetails.
system_tags 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.
  • 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.
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
db_configuration_overrides

[Required] Gets the db_configuration_overrides of this CreateConfigurationDetails.

Returns:The db_configuration_overrides of this CreateConfigurationDetails.
Return type:oci.psql.models.DbConfigurationOverrideCollection
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
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))
description

Gets the description of this CreateConfigurationDetails. Details about the configuration set.

Returns:The description of this CreateConfigurationDetails.
Return type:str
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
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)
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
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
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
shape

[Required] Gets the shape of this CreateConfigurationDetails. The name of the shape for the configuration. Example: VM.Standard.E4.Flex

Returns:The shape of this CreateConfigurationDetails.
Return type:str
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))