PatchingConfigs

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

Bases: object

Detailed configurations for defining the behavior when installing os patches. If not provided, nodes will be patched and rebooted AD/FD by AD/FD for regular patches or will be patched with down time if the patch is an emergent patch.

Attributes

PATCHING_CONFIG_STRATEGY_BATCHING_BASED A constant which can be used with the patching_config_strategy property of a PatchingConfigs.
PATCHING_CONFIG_STRATEGY_DOMAIN_BASED A constant which can be used with the patching_config_strategy property of a PatchingConfigs.
PATCHING_CONFIG_STRATEGY_DOWNTIME_BASED A constant which can be used with the patching_config_strategy property of a PatchingConfigs.
patching_config_strategy [Required] Gets the patching_config_strategy of this PatchingConfigs.

Methods

__init__(**kwargs) Initializes a new PatchingConfigs 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'

A constant which can be used with the patching_config_strategy property of a PatchingConfigs. This constant has a value of “BATCHING_BASED”

PATCHING_CONFIG_STRATEGY_DOMAIN_BASED = 'DOMAIN_BASED'

A constant which can be used with the patching_config_strategy property of a PatchingConfigs. This constant has a value of “DOMAIN_BASED”

PATCHING_CONFIG_STRATEGY_DOWNTIME_BASED = 'DOWNTIME_BASED'

A constant which can be used with the patching_config_strategy property of a PatchingConfigs. This constant has a value of “DOWNTIME_BASED”

__init__(**kwargs)

Initializes a new PatchingConfigs object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 PatchingConfigs. Allowed values for this property are: “DOWNTIME_BASED”, “BATCHING_BASED”, “DOMAIN_BASED”
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