AutonomousPatch

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

Bases: object

AutonomousPatch model.

Attributes

AUTONOMOUS_PATCH_TYPE_QUARTERLY A constant which can be used with the autonomous_patch_type property of a AutonomousPatch.
AUTONOMOUS_PATCH_TYPE_TIMEZONE A constant which can be used with the autonomous_patch_type property of a AutonomousPatch.
LIFECYCLE_STATE_AVAILABLE A constant which can be used with the lifecycle_state property of a AutonomousPatch.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a AutonomousPatch.
LIFECYCLE_STATE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousPatch.
LIFECYCLE_STATE_SUCCESS A constant which can be used with the lifecycle_state property of a AutonomousPatch.
PATCH_MODEL_RELEASE_UPDATES A constant which can be used with the patch_model property of a AutonomousPatch.
PATCH_MODEL_RELEASE_UPDATE_REVISIONS A constant which can be used with the patch_model property of a AutonomousPatch.
autonomous_patch_type Gets the autonomous_patch_type of this AutonomousPatch.
description [Required] Gets the description of this AutonomousPatch.
id [Required] Gets the id of this AutonomousPatch.
lifecycle_details Gets the lifecycle_details of this AutonomousPatch.
lifecycle_state Gets the lifecycle_state of this AutonomousPatch.
patch_model Gets the patch_model of this AutonomousPatch.
quarter Gets the quarter of this AutonomousPatch.
time_released [Required] Gets the time_released of this AutonomousPatch.
type [Required] Gets the type of this AutonomousPatch.
version [Required] Gets the version of this AutonomousPatch.
year Gets the year of this AutonomousPatch.

Methods

__init__(**kwargs) Initializes a new AutonomousPatch object with values from keyword arguments.
AUTONOMOUS_PATCH_TYPE_QUARTERLY = 'QUARTERLY'

A constant which can be used with the autonomous_patch_type property of a AutonomousPatch. This constant has a value of “QUARTERLY”

AUTONOMOUS_PATCH_TYPE_TIMEZONE = 'TIMEZONE'

A constant which can be used with the autonomous_patch_type property of a AutonomousPatch. This constant has a value of “TIMEZONE”

LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

A constant which can be used with the lifecycle_state property of a AutonomousPatch. This constant has a value of “AVAILABLE”

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousPatch. This constant has a value of “IN_PROGRESS”

LIFECYCLE_STATE_SUCCESS = 'SUCCESS'

A constant which can be used with the lifecycle_state property of a AutonomousPatch. This constant has a value of “SUCCESS”

PATCH_MODEL_RELEASE_UPDATES = 'RELEASE_UPDATES'

A constant which can be used with the patch_model property of a AutonomousPatch. This constant has a value of “RELEASE_UPDATES”

PATCH_MODEL_RELEASE_UPDATE_REVISIONS = 'RELEASE_UPDATE_REVISIONS'

A constant which can be used with the patch_model property of a AutonomousPatch. This constant has a value of “RELEASE_UPDATE_REVISIONS”

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this AutonomousPatch.
  • description (str) – The value to assign to the description property of this AutonomousPatch.
  • type (str) – The value to assign to the type property of this AutonomousPatch.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this AutonomousPatch.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutonomousPatch. Allowed values for this property are: “AVAILABLE”, “SUCCESS”, “IN_PROGRESS”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_released (datetime) – The value to assign to the time_released property of this AutonomousPatch.
  • version (str) – The value to assign to the version property of this AutonomousPatch.
  • patch_model (str) – The value to assign to the patch_model property of this AutonomousPatch. Allowed values for this property are: “RELEASE_UPDATES”, “RELEASE_UPDATE_REVISIONS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • quarter (str) – The value to assign to the quarter property of this AutonomousPatch.
  • year (str) – The value to assign to the year property of this AutonomousPatch.
  • autonomous_patch_type (str) – The value to assign to the autonomous_patch_type property of this AutonomousPatch. Allowed values for this property are: “QUARTERLY”, “TIMEZONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
autonomous_patch_type

Gets the autonomous_patch_type of this AutonomousPatch. Maintenance run type, either “QUARTERLY” or “TIMEZONE”.

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

Returns:The autonomous_patch_type of this AutonomousPatch.
Return type:str
description

[Required] Gets the description of this AutonomousPatch. The text describing this patch package.

Returns:The description of this AutonomousPatch.
Return type:str
id

[Required] Gets the id of this AutonomousPatch. The OCID of the patch.

Returns:The id of this AutonomousPatch.
Return type:str
lifecycle_details

Gets the lifecycle_details of this AutonomousPatch. A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.

Returns:The lifecycle_details of this AutonomousPatch.
Return type:str
lifecycle_state

Gets the lifecycle_state of this AutonomousPatch. The current state of the patch as a result of lastAction.

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

Returns:The lifecycle_state of this AutonomousPatch.
Return type:str
patch_model

Gets the patch_model of this AutonomousPatch. Database patching model preference. See My Oracle Support note 2285040.1 for information on the Release Update (RU) and Release Update Revision (RUR) patching models.

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

Returns:The patch_model of this AutonomousPatch.
Return type:str
quarter

Gets the quarter of this AutonomousPatch. First month of the quarter in which the patch was released.

Returns:The quarter of this AutonomousPatch.
Return type:str
time_released

[Required] Gets the time_released of this AutonomousPatch. The date and time that the patch was released.

Returns:The time_released of this AutonomousPatch.
Return type:datetime
type

[Required] Gets the type of this AutonomousPatch. The type of patch. BUNDLE is one example.

Returns:The type of this AutonomousPatch.
Return type:str
version

[Required] Gets the version of this AutonomousPatch. The version of this patch package.

Returns:The version of this AutonomousPatch.
Return type:str
year

Gets the year of this AutonomousPatch. Year in which the patch was released.

Returns:The year of this AutonomousPatch.
Return type:str