DomainBasedOdhPatchingConfig¶
-
class
oci.bds.models.
DomainBasedOdhPatchingConfig
(**kwargs)¶ Bases:
oci.bds.models.odh_patching_config.OdhPatchingConfig
This patching config will patch all nodes in one AD/FD at a time.
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 patching_config_strategy
[Required] Gets the patching_config_strategy of this OdhPatchingConfig. tolerance_threshold_per_domain
Gets the tolerance_threshold_per_domain of this DomainBasedOdhPatchingConfig. wait_time_between_domain_in_seconds
[Required] Gets the wait_time_between_domain_in_seconds of this DomainBasedOdhPatchingConfig. Methods
__init__
(**kwargs)Initializes a new DomainBasedOdhPatchingConfig 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 DomainBasedOdhPatchingConfig object with values from keyword arguments. The default value of the
patching_config_strategy
attribute of this class isDOMAIN_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 DomainBasedOdhPatchingConfig. Allowed values for this property are: “DOWNTIME_BASED”, “BATCHING_BASED”, “DOMAIN_BASED”
- wait_time_between_domain_in_seconds (int) – The value to assign to the wait_time_between_domain_in_seconds property of this DomainBasedOdhPatchingConfig.
- tolerance_threshold_per_domain (int) – The value to assign to the tolerance_threshold_per_domain property of this DomainBasedOdhPatchingConfig.
-
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 OdhPatchingConfig. 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 OdhPatchingConfig. Return type: str
-
tolerance_threshold_per_domain
¶ Gets the tolerance_threshold_per_domain of this DomainBasedOdhPatchingConfig. Acceptable number of failed-to-be-patched nodes in each domain. The maximum number of failed-to-patch nodes cannot exceed 20% of the number of non-utility and non-master nodes.
Returns: The tolerance_threshold_per_domain of this DomainBasedOdhPatchingConfig. Return type: int
-
wait_time_between_domain_in_seconds
¶ [Required] Gets the wait_time_between_domain_in_seconds of this DomainBasedOdhPatchingConfig. The wait time between AD/FD in seconds.
Returns: The wait_time_between_domain_in_seconds of this DomainBasedOdhPatchingConfig. Return type: int
-