DbServerPatchingDetails

class oci.database.models.DbServerPatchingDetails(**kwargs)

Bases: object

The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.

Attributes

PATCHING_STATUS_COMPLETE A constant which can be used with the patching_status property of a DbServerPatchingDetails.
PATCHING_STATUS_FAILED A constant which can be used with the patching_status property of a DbServerPatchingDetails.
PATCHING_STATUS_MAINTENANCE_IN_PROGRESS A constant which can be used with the patching_status property of a DbServerPatchingDetails.
PATCHING_STATUS_SCHEDULED A constant which can be used with the patching_status property of a DbServerPatchingDetails.
estimated_patch_duration Gets the estimated_patch_duration of this DbServerPatchingDetails.
patching_status Gets the patching_status of this DbServerPatchingDetails.
time_patching_ended Gets the time_patching_ended of this DbServerPatchingDetails.
time_patching_started Gets the time_patching_started of this DbServerPatchingDetails.

Methods

__init__(**kwargs) Initializes a new DbServerPatchingDetails object with values from keyword arguments.
PATCHING_STATUS_COMPLETE = 'COMPLETE'

A constant which can be used with the patching_status property of a DbServerPatchingDetails. This constant has a value of “COMPLETE”

PATCHING_STATUS_FAILED = 'FAILED'

A constant which can be used with the patching_status property of a DbServerPatchingDetails. This constant has a value of “FAILED”

PATCHING_STATUS_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS'

A constant which can be used with the patching_status property of a DbServerPatchingDetails. This constant has a value of “MAINTENANCE_IN_PROGRESS”

PATCHING_STATUS_SCHEDULED = 'SCHEDULED'

A constant which can be used with the patching_status property of a DbServerPatchingDetails. This constant has a value of “SCHEDULED”

__init__(**kwargs)

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

Parameters:
  • estimated_patch_duration (int) – The value to assign to the estimated_patch_duration property of this DbServerPatchingDetails.
  • patching_status (str) – The value to assign to the patching_status property of this DbServerPatchingDetails. Allowed values for this property are: “SCHEDULED”, “MAINTENANCE_IN_PROGRESS”, “FAILED”, “COMPLETE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_patching_started (datetime) – The value to assign to the time_patching_started property of this DbServerPatchingDetails.
  • time_patching_ended (datetime) – The value to assign to the time_patching_ended property of this DbServerPatchingDetails.
estimated_patch_duration

Gets the estimated_patch_duration of this DbServerPatchingDetails. Estimated time, in minutes, to patch one database server.

Returns:The estimated_patch_duration of this DbServerPatchingDetails.
Return type:int
patching_status

Gets the patching_status of this DbServerPatchingDetails. The status of the patching operation.

Allowed values for this property are: “SCHEDULED”, “MAINTENANCE_IN_PROGRESS”, “FAILED”, “COMPLETE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The patching_status of this DbServerPatchingDetails.
Return type:str
time_patching_ended

Gets the time_patching_ended of this DbServerPatchingDetails. The time when the patching operation ended.

Returns:The time_patching_ended of this DbServerPatchingDetails.
Return type:datetime
time_patching_started

Gets the time_patching_started of this DbServerPatchingDetails. The time when the patching operation started.

Returns:The time_patching_started of this DbServerPatchingDetails.
Return type:datetime