UpdateDbConfigParams

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

Bases: object

Configuration for the PostgreSQL database instance.

Attributes

APPLY_CONFIG_RELOAD A constant which can be used with the apply_config property of a UpdateDbConfigParams.
APPLY_CONFIG_RESTART A constant which can be used with the apply_config property of a UpdateDbConfigParams.
apply_config Gets the apply_config of this UpdateDbConfigParams.
config_id [Required] Gets the config_id of this UpdateDbConfigParams.

Methods

__init__(**kwargs) Initializes a new UpdateDbConfigParams object with values from keyword arguments.
APPLY_CONFIG_RELOAD = 'RELOAD'

A constant which can be used with the apply_config property of a UpdateDbConfigParams. This constant has a value of “RELOAD”

APPLY_CONFIG_RESTART = 'RESTART'

A constant which can be used with the apply_config property of a UpdateDbConfigParams. This constant has a value of “RESTART”

__init__(**kwargs)

Initializes a new UpdateDbConfigParams object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • apply_config (str) – The value to assign to the apply_config property of this UpdateDbConfigParams. Allowed values for this property are: “RESTART”, “RELOAD”
  • config_id (str) – The value to assign to the config_id property of this UpdateDbConfigParams.
apply_config

Gets the apply_config of this UpdateDbConfigParams. Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied.

Allowed values for this property are: “RESTART”, “RELOAD”

Returns:The apply_config of this UpdateDbConfigParams.
Return type:str
config_id

[Required] Gets the config_id of this UpdateDbConfigParams. The OCID of the configuration.

Returns:The config_id of this UpdateDbConfigParams.
Return type:str