BatchingBasedPatchingConfigs

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

Bases: oci.bds.models.patching_configs.PatchingConfigs

Configuration that applies the patch in batches, the batch size is a user defined parameter.

Attributes

PATCHING_CONFIG_STRATEGY_BATCHING_BASED str(object=’’) -> str
PATCHING_CONFIG_STRATEGY_DOMAIN_BASED str(object=’’) -> str
PATCHING_CONFIG_STRATEGY_DOWNTIME_BASED str(object=’’) -> str
batch_size [Required] Gets the batch_size of this BatchingBasedPatchingConfigs.
patching_config_strategy [Required] Gets the patching_config_strategy of this PatchingConfigs.
tolerance_threshold_per_batch [Required] Gets the tolerance_threshold_per_batch of this BatchingBasedPatchingConfigs.
wait_time_between_batch_in_seconds [Required] Gets the wait_time_between_batch_in_seconds of this BatchingBasedPatchingConfigs.

Methods

__init__(**kwargs) Initializes a new BatchingBasedPatchingConfigs object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
PATCHING_CONFIG_STRATEGY_BATCHING_BASED = 'BATCHING_BASED'
PATCHING_CONFIG_STRATEGY_DOMAIN_BASED = 'DOMAIN_BASED'
PATCHING_CONFIG_STRATEGY_DOWNTIME_BASED = 'DOWNTIME_BASED'
__init__(**kwargs)

Initializes a new BatchingBasedPatchingConfigs object with values from keyword arguments. The default value of the patching_config_strategy attribute of this class is BATCHING_BASED and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • patching_config_strategy (str) – The value to assign to the patching_config_strategy property of this BatchingBasedPatchingConfigs. Allowed values for this property are: “DOWNTIME_BASED”, “BATCHING_BASED”, “DOMAIN_BASED”
  • batch_size (int) – The value to assign to the batch_size property of this BatchingBasedPatchingConfigs.
  • wait_time_between_batch_in_seconds (int) – The value to assign to the wait_time_between_batch_in_seconds property of this BatchingBasedPatchingConfigs.
  • tolerance_threshold_per_batch (int) – The value to assign to the tolerance_threshold_per_batch property of this BatchingBasedPatchingConfigs.
batch_size

[Required] Gets the batch_size of this BatchingBasedPatchingConfigs. How many nodes to be patched and rebooted in each iteration.

Returns:The batch_size of this BatchingBasedPatchingConfigs.
Return type:int
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

patching_config_strategy

[Required] Gets the patching_config_strategy of this PatchingConfigs. Type of strategy used for detailed patching configuration

Allowed values for this property are: “DOWNTIME_BASED”, “BATCHING_BASED”, “DOMAIN_BASED”

Returns:The patching_config_strategy of this PatchingConfigs.
Return type:str
tolerance_threshold_per_batch

[Required] Gets the tolerance_threshold_per_batch of this BatchingBasedPatchingConfigs. Acceptable number of failed-to-be-patched nodes in each batch. The maximum number of failed-to-patch nodes cannot exceed 20% of the number of nodes.

Returns:The tolerance_threshold_per_batch of this BatchingBasedPatchingConfigs.
Return type:int
wait_time_between_batch_in_seconds

[Required] Gets the wait_time_between_batch_in_seconds of this BatchingBasedPatchingConfigs. The wait time between batches in seconds.

Returns:The wait_time_between_batch_in_seconds of this BatchingBasedPatchingConfigs.
Return type:int