AutonomousPatchSummary¶
- class oci.database.models.AutonomousPatchSummary(**kwargs)¶
Bases:
objectA patch for an Autonomous Exadata Infrastructure or Autonomous Container Database.
To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.
Attributes:
A constant which can be used with the autonomous_patch_type property of a AutonomousPatchSummary.
A constant which can be used with the autonomous_patch_type property of a AutonomousPatchSummary.
A constant which can be used with the lifecycle_state property of a AutonomousPatchSummary.
A constant which can be used with the lifecycle_state property of a AutonomousPatchSummary.
A constant which can be used with the lifecycle_state property of a AutonomousPatchSummary.
A constant which can be used with the lifecycle_state property of a AutonomousPatchSummary.
A constant which can be used with the patch_model property of a AutonomousPatchSummary.
A constant which can be used with the patch_model property of a AutonomousPatchSummary.
Gets the autonomous_patch_type of this AutonomousPatchSummary.
[Required] Gets the description of this AutonomousPatchSummary.
[Required] Gets the id of this AutonomousPatchSummary.
Gets the lifecycle_details of this AutonomousPatchSummary.
Gets the lifecycle_state of this AutonomousPatchSummary.
Gets the patch_model of this AutonomousPatchSummary.
Gets the quarter of this AutonomousPatchSummary.
[Required] Gets the time_released of this AutonomousPatchSummary.
[Required] Gets the type of this AutonomousPatchSummary.
[Required] Gets the version of this AutonomousPatchSummary.
Gets the year of this AutonomousPatchSummary.
Methods:
__init__(**kwargs)Initializes a new AutonomousPatchSummary 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 AutonomousPatchSummary. 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 AutonomousPatchSummary. This constant has a value of “TIMEZONE”
- LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'¶
A constant which can be used with the lifecycle_state property of a AutonomousPatchSummary. This constant has a value of “AVAILABLE”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a AutonomousPatchSummary. 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 AutonomousPatchSummary. 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 AutonomousPatchSummary. 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 AutonomousPatchSummary. 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 AutonomousPatchSummary. This constant has a value of “RELEASE_UPDATE_REVISIONS”
- __init__(**kwargs)¶
Initializes a new AutonomousPatchSummary 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 AutonomousPatchSummary.
description (str) – The value to assign to the description property of this AutonomousPatchSummary.
type (str) – The value to assign to the type property of this AutonomousPatchSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this AutonomousPatchSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutonomousPatchSummary. 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 AutonomousPatchSummary.
version (str) – The value to assign to the version property of this AutonomousPatchSummary.
patch_model (str) – The value to assign to the patch_model property of this AutonomousPatchSummary. 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 AutonomousPatchSummary.
year (str) – The value to assign to the year property of this AutonomousPatchSummary.
autonomous_patch_type (str) – The value to assign to the autonomous_patch_type property of this AutonomousPatchSummary. 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’.
- property autonomous_patch_type¶
Gets the autonomous_patch_type of this AutonomousPatchSummary. 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 AutonomousPatchSummary.
- Return type
str
- property description¶
[Required] Gets the description of this AutonomousPatchSummary. The text describing this patch package.
- Returns
The description of this AutonomousPatchSummary.
- Return type
str
- property id¶
[Required] Gets the id of this AutonomousPatchSummary. The OCID of the patch.
- Returns
The id of this AutonomousPatchSummary.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this AutonomousPatchSummary. A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
- Returns
The lifecycle_details of this AutonomousPatchSummary.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this AutonomousPatchSummary. 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 AutonomousPatchSummary.
- Return type
str
- property patch_model¶
Gets the patch_model of this AutonomousPatchSummary. 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 AutonomousPatchSummary.
- Return type
str
- property quarter¶
Gets the quarter of this AutonomousPatchSummary. First month of the quarter in which the patch was released.
- Returns
The quarter of this AutonomousPatchSummary.
- Return type
str
- property time_released¶
[Required] Gets the time_released of this AutonomousPatchSummary. The date and time that the patch was released.
- Returns
The time_released of this AutonomousPatchSummary.
- Return type
datetime
- property type¶
[Required] Gets the type of this AutonomousPatchSummary. The type of patch. BUNDLE is one example.
- Returns
The type of this AutonomousPatchSummary.
- Return type
str
- property version¶
[Required] Gets the version of this AutonomousPatchSummary. The version of this patch package.
- Returns
The version of this AutonomousPatchSummary.
- Return type
str
- property year¶
Gets the year of this AutonomousPatchSummary. Year in which the patch was released.
- Returns
The year of this AutonomousPatchSummary.
- Return type
str