TimeAndHorizontalScalingConfig

class oci.bds.models.TimeAndHorizontalScalingConfig(**kwargs)

Bases: object

Time of day and horizontal scaling configuration.

Methods

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

Attributes

target_node_count Gets the target_node_count of this TimeAndHorizontalScalingConfig.
time_recurrence Gets the time_recurrence of this TimeAndHorizontalScalingConfig.
__init__(**kwargs)

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

Parameters:
  • time_recurrence (str) – The value to assign to the time_recurrence property of this TimeAndHorizontalScalingConfig.
  • target_node_count (int) – The value to assign to the target_node_count property of this TimeAndHorizontalScalingConfig.
target_node_count

Gets the target_node_count of this TimeAndHorizontalScalingConfig. This value is the desired number of nodes in the cluster.

Returns:The target_node_count of this TimeAndHorizontalScalingConfig.
Return type:int
time_recurrence

Gets the time_recurrence of this TimeAndHorizontalScalingConfig. Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.

Returns:The time_recurrence of this TimeAndHorizontalScalingConfig.
Return type:str