RestartDbInstanceInDbSystemDetails

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

Bases: object

Database instance node restart parameters.

Attributes

RESTART_TYPE_NODE_REBOOT A constant which can be used with the restart_type property of a RestartDbInstanceInDbSystemDetails.
RESTART_TYPE_NORMAL A constant which can be used with the restart_type property of a RestartDbInstanceInDbSystemDetails.
db_instance_id [Required] Gets the db_instance_id of this RestartDbInstanceInDbSystemDetails.
restart_type [Required] Gets the restart_type of this RestartDbInstanceInDbSystemDetails.

Methods

__init__(**kwargs) Initializes a new RestartDbInstanceInDbSystemDetails object with values from keyword arguments.
RESTART_TYPE_NODE_REBOOT = 'NODE_REBOOT'

A constant which can be used with the restart_type property of a RestartDbInstanceInDbSystemDetails. This constant has a value of “NODE_REBOOT”

RESTART_TYPE_NORMAL = 'NORMAL'

A constant which can be used with the restart_type property of a RestartDbInstanceInDbSystemDetails. This constant has a value of “NORMAL”

__init__(**kwargs)

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

Parameters:
  • db_instance_id (str) – The value to assign to the db_instance_id property of this RestartDbInstanceInDbSystemDetails.
  • restart_type (str) – The value to assign to the restart_type property of this RestartDbInstanceInDbSystemDetails. Allowed values for this property are: “NORMAL”, “NODE_REBOOT”
db_instance_id

[Required] Gets the db_instance_id of this RestartDbInstanceInDbSystemDetails. A unique identifier for the database instance, or node.

Returns:The db_instance_id of this RestartDbInstanceInDbSystemDetails.
Return type:str
restart_type

[Required] Gets the restart_type of this RestartDbInstanceInDbSystemDetails. The restart type for the database instance.

Allowed values for this property are: “NORMAL”, “NODE_REBOOT”

Returns:The restart_type of this RestartDbInstanceInDbSystemDetails.
Return type:str