TimeAndVerticalScalingConfig¶
-
class
oci.bds.models.
TimeAndVerticalScalingConfig
(**kwargs)¶ Bases:
object
Time of day and vertical scaling configuration.
Methods
__init__
(**kwargs)Initializes a new TimeAndVerticalScalingConfig object with values from keyword arguments. Attributes
target_memory_per_node
Gets the target_memory_per_node of this TimeAndVerticalScalingConfig. target_ocpus_per_node
Gets the target_ocpus_per_node of this TimeAndVerticalScalingConfig. target_shape
Gets the target_shape of this TimeAndVerticalScalingConfig. time_recurrence
Gets the time_recurrence of this TimeAndVerticalScalingConfig. -
__init__
(**kwargs)¶ Initializes a new TimeAndVerticalScalingConfig 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 TimeAndVerticalScalingConfig.
- target_shape (str) – The value to assign to the target_shape property of this TimeAndVerticalScalingConfig.
- target_ocpus_per_node (int) – The value to assign to the target_ocpus_per_node property of this TimeAndVerticalScalingConfig.
- target_memory_per_node (int) – The value to assign to the target_memory_per_node property of this TimeAndVerticalScalingConfig.
-
target_memory_per_node
¶ Gets the target_memory_per_node of this TimeAndVerticalScalingConfig. For nodes with flexible compute shapes, this value is the desired memory in GBs on each node. This value is not used for nodes with fixed compute shapes.
Returns: The target_memory_per_node of this TimeAndVerticalScalingConfig. Return type: int
-
target_ocpus_per_node
¶ Gets the target_ocpus_per_node of this TimeAndVerticalScalingConfig. For nodes with flexible compute shapes, this value is the desired OCPUs count on each node. This value is not used for nodes with fixed compute shapes.
Returns: The target_ocpus_per_node of this TimeAndVerticalScalingConfig. Return type: int
-
target_shape
¶ Gets the target_shape of this TimeAndVerticalScalingConfig. For nodes with fixed compute shapes, this value is the desired shape of each node. This value is not used for nodes with flexible compute shapes.
Returns: The target_shape of this TimeAndVerticalScalingConfig. Return type: str
-
time_recurrence
¶ Gets the time_recurrence of this TimeAndVerticalScalingConfig. 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 TimeAndVerticalScalingConfig. Return type: str
-