DistributedAutonomousDatabaseAutoResourceManagementDetails

class oci.distributed_database_v26.models.DistributedAutonomousDatabaseAutoResourceManagementDetails(**kwargs)

Bases: object

Automatic resource management configuration details for the Globally distributed autonomous database.

Attributes

ACTION_TYPE_MOVE A constant which can be used with the action_type property of a DistributedAutonomousDatabaseAutoResourceManagementDetails.
MAX_MOVE_RU_UNIT_DAY A constant which can be used with the max_move_ru_unit property of a DistributedAutonomousDatabaseAutoResourceManagementDetails.
MAX_MOVE_RU_UNIT_HOUR A constant which can be used with the max_move_ru_unit property of a DistributedAutonomousDatabaseAutoResourceManagementDetails.
MODE_AUTOMATIC A constant which can be used with the mode property of a DistributedAutonomousDatabaseAutoResourceManagementDetails.
MODE_RECOMMENDATION A constant which can be used with the mode property of a DistributedAutonomousDatabaseAutoResourceManagementDetails.
action_type Gets the action_type of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
cool_off_period_in_minutes Gets the cool_off_period_in_minutes of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
is_enabled [Required] Gets the is_enabled of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
max_move_ru_attempts Gets the max_move_ru_attempts of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
max_move_ru_unit Gets the max_move_ru_unit of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
mode Gets the mode of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
notification_topic_ids Gets the notification_topic_ids of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
stream_ids Gets the stream_ids of this DistributedAutonomousDatabaseAutoResourceManagementDetails.

Methods

__init__(**kwargs) Initializes a new DistributedAutonomousDatabaseAutoResourceManagementDetails object with values from keyword arguments.
ACTION_TYPE_MOVE = 'MOVE'

A constant which can be used with the action_type property of a DistributedAutonomousDatabaseAutoResourceManagementDetails. This constant has a value of “MOVE”

MAX_MOVE_RU_UNIT_DAY = 'DAY'

A constant which can be used with the max_move_ru_unit property of a DistributedAutonomousDatabaseAutoResourceManagementDetails. This constant has a value of “DAY”

MAX_MOVE_RU_UNIT_HOUR = 'HOUR'

A constant which can be used with the max_move_ru_unit property of a DistributedAutonomousDatabaseAutoResourceManagementDetails. This constant has a value of “HOUR”

MODE_AUTOMATIC = 'AUTOMATIC'

A constant which can be used with the mode property of a DistributedAutonomousDatabaseAutoResourceManagementDetails. This constant has a value of “AUTOMATIC”

MODE_RECOMMENDATION = 'RECOMMENDATION'

A constant which can be used with the mode property of a DistributedAutonomousDatabaseAutoResourceManagementDetails. This constant has a value of “RECOMMENDATION”

__init__(**kwargs)

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

Parameters:
  • is_enabled (bool) – The value to assign to the is_enabled property of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
  • cool_off_period_in_minutes (int) – The value to assign to the cool_off_period_in_minutes property of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
  • max_move_ru_attempts (int) – The value to assign to the max_move_ru_attempts property of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
  • max_move_ru_unit (str) – The value to assign to the max_move_ru_unit property of this DistributedAutonomousDatabaseAutoResourceManagementDetails. Allowed values for this property are: “HOUR”, “DAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • mode (str) – The value to assign to the mode property of this DistributedAutonomousDatabaseAutoResourceManagementDetails. Allowed values for this property are: “AUTOMATIC”, “RECOMMENDATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • action_type (str) – The value to assign to the action_type property of this DistributedAutonomousDatabaseAutoResourceManagementDetails. Allowed values for this property are: “MOVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • notification_topic_ids (list[str]) – The value to assign to the notification_topic_ids property of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
  • stream_ids (list[str]) – The value to assign to the stream_ids property of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
action_type

Gets the action_type of this DistributedAutonomousDatabaseAutoResourceManagementDetails. The action that will be taken when autoResourceManagement is triggered.

Allowed values for this property are: “MOVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The action_type of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
Return type:str
cool_off_period_in_minutes

Gets the cool_off_period_in_minutes of this DistributedAutonomousDatabaseAutoResourceManagementDetails. Time period to wait for the database to get stable after autoResourceManagement event.

Returns:The cool_off_period_in_minutes of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
Return type:int
is_enabled

[Required] Gets the is_enabled of this DistributedAutonomousDatabaseAutoResourceManagementDetails. Flag indicating if autoResourceManagement is enabled or disabled.

Returns:The is_enabled of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
Return type:bool
max_move_ru_attempts

Gets the max_move_ru_attempts of this DistributedAutonomousDatabaseAutoResourceManagementDetails. Maximum number of move replication unit attempts allowed within the configured period per database.

Returns:The max_move_ru_attempts of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
Return type:int
max_move_ru_unit

Gets the max_move_ru_unit of this DistributedAutonomousDatabaseAutoResourceManagementDetails. Time unit applicable to maxMoveRuAttempts.

Allowed values for this property are: “HOUR”, “DAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The max_move_ru_unit of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
Return type:str
mode

Gets the mode of this DistributedAutonomousDatabaseAutoResourceManagementDetails. Mode of autoResourceManagement execution.

Allowed values for this property are: “AUTOMATIC”, “RECOMMENDATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The mode of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
Return type:str
notification_topic_ids

Gets the notification_topic_ids of this DistributedAutonomousDatabaseAutoResourceManagementDetails. The list of notification topic ids OCIDs to receive autoResourceManagement events.

Returns:The notification_topic_ids of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
Return type:list[str]
stream_ids

Gets the stream_ids of this DistributedAutonomousDatabaseAutoResourceManagementDetails. The list of stream ids OCIDs that receive shard-related telemetry.

Returns:The stream_ids of this DistributedAutonomousDatabaseAutoResourceManagementDetails.
Return type:list[str]