UpdateMaintenanceRunDetails

class oci.datacc.models.UpdateMaintenanceRunDetails(**kwargs)

Bases: object

Request to update maintenance run resource.

Attributes

PATCHING_MODE_NONROLLING A constant which can be used with the patching_mode property of a UpdateMaintenanceRunDetails.
PATCHING_MODE_ROLLING A constant which can be used with the patching_mode property of a UpdateMaintenanceRunDetails.
custom_action_timeout_in_mins [Required] Gets the custom_action_timeout_in_mins of this UpdateMaintenanceRunDetails.
defined_tags Gets the defined_tags of this UpdateMaintenanceRunDetails.
freeform_tags Gets the freeform_tags of this UpdateMaintenanceRunDetails.
is_custom_action_timeout_enabled Gets the is_custom_action_timeout_enabled of this UpdateMaintenanceRunDetails.
patching_mode [Required] Gets the patching_mode of this UpdateMaintenanceRunDetails.

Methods

__init__(**kwargs) Initializes a new UpdateMaintenanceRunDetails object with values from keyword arguments.
PATCHING_MODE_NONROLLING = 'NONROLLING'

A constant which can be used with the patching_mode property of a UpdateMaintenanceRunDetails. This constant has a value of “NONROLLING”

PATCHING_MODE_ROLLING = 'ROLLING'

A constant which can be used with the patching_mode property of a UpdateMaintenanceRunDetails. This constant has a value of “ROLLING”

__init__(**kwargs)

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

Parameters:
  • patching_mode (str) – The value to assign to the patching_mode property of this UpdateMaintenanceRunDetails. Allowed values for this property are: “ROLLING”, “NONROLLING”
  • is_custom_action_timeout_enabled (bool) – The value to assign to the is_custom_action_timeout_enabled property of this UpdateMaintenanceRunDetails.
  • custom_action_timeout_in_mins (int) – The value to assign to the custom_action_timeout_in_mins property of this UpdateMaintenanceRunDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateMaintenanceRunDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateMaintenanceRunDetails.
custom_action_timeout_in_mins

[Required] Gets the custom_action_timeout_in_mins of this UpdateMaintenanceRunDetails. Determines the amount of time the system will wait before the start of each compute server patching operation. Supported values are 15 to 120 minutes.

Returns:The custom_action_timeout_in_mins of this UpdateMaintenanceRunDetails.
Return type:int
defined_tags

Gets the defined_tags of this UpdateMaintenanceRunDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateMaintenanceRunDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this UpdateMaintenanceRunDetails. Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateMaintenanceRunDetails.
Return type:dict(str, str)
is_custom_action_timeout_enabled

Gets the is_custom_action_timeout_enabled of this UpdateMaintenanceRunDetails. If true, enables configuration of customActionTimeoutInMins for this maintenance run update request.

Returns:The is_custom_action_timeout_enabled of this UpdateMaintenanceRunDetails.
Return type:bool
patching_mode

[Required] Gets the patching_mode of this UpdateMaintenanceRunDetails. Database Infrastructure patching mode, either “ROLLING” or “NONROLLING”. Default value is ROLLING.

Allowed values for this property are: “ROLLING”, “NONROLLING”

Returns:The patching_mode of this UpdateMaintenanceRunDetails.
Return type:str