PatchSummary¶
-
class
oci.fleet_apps_management.models.
PatchSummary
(**kwargs)¶ Bases:
object
Summary of the Patch.
Attributes
SEVERITY_CRITICAL
A constant which can be used with the severity property of a PatchSummary. SEVERITY_HIGH
A constant which can be used with the severity property of a PatchSummary. SEVERITY_LOW
A constant which can be used with the severity property of a PatchSummary. SEVERITY_MEDIUM
A constant which can be used with the severity property of a PatchSummary. artifact_details
Gets the artifact_details of this PatchSummary. compartment_id
[Required] Gets the compartment_id of this PatchSummary. defined_tags
Gets the defined_tags of this PatchSummary. description
Gets the description of this PatchSummary. freeform_tags
Gets the freeform_tags of this PatchSummary. id
[Required] Gets the id of this PatchSummary. lifecycle_details
Gets the lifecycle_details of this PatchSummary. lifecycle_state
[Required] Gets the lifecycle_state of this PatchSummary. name
[Required] Gets the name of this PatchSummary. patch_type
[Required] Gets the patch_type of this PatchSummary. product
[Required] Gets the product of this PatchSummary. resource_region
Gets the resource_region of this PatchSummary. severity
[Required] Gets the severity of this PatchSummary. system_tags
Gets the system_tags of this PatchSummary. time_created
[Required] Gets the time_created of this PatchSummary. time_released
[Required] Gets the time_released of this PatchSummary. time_updated
[Required] Gets the time_updated of this PatchSummary. type
Gets the type of this PatchSummary. Methods
__init__
(**kwargs)Initializes a new PatchSummary object with values from keyword arguments. -
SEVERITY_CRITICAL
= 'CRITICAL'¶ A constant which can be used with the severity property of a PatchSummary. This constant has a value of “CRITICAL”
-
SEVERITY_HIGH
= 'HIGH'¶ A constant which can be used with the severity property of a PatchSummary. This constant has a value of “HIGH”
-
SEVERITY_LOW
= 'LOW'¶ A constant which can be used with the severity property of a PatchSummary. This constant has a value of “LOW”
-
SEVERITY_MEDIUM
= 'MEDIUM'¶ A constant which can be used with the severity property of a PatchSummary. This constant has a value of “MEDIUM”
-
__init__
(**kwargs)¶ Initializes a new PatchSummary 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 PatchSummary.
- name (str) – The value to assign to the name property of this PatchSummary.
- description (str) – The value to assign to the description property of this PatchSummary.
- type (str) – The value to assign to the type property of this PatchSummary.
- patch_type (oci.fleet_apps_management.models.PatchType) – The value to assign to the patch_type property of this PatchSummary.
- severity (str) – The value to assign to the severity property of this PatchSummary. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, ‘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 PatchSummary.
- artifact_details (oci.fleet_apps_management.models.ArtifactDetails) – The value to assign to the artifact_details property of this PatchSummary.
- product (oci.fleet_apps_management.models.PatchProduct) – The value to assign to the product property of this PatchSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this PatchSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this PatchSummary.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this PatchSummary.
- time_created (datetime) – The value to assign to the time_created property of this PatchSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this PatchSummary.
- resource_region (str) – The value to assign to the resource_region property of this PatchSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this PatchSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this PatchSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this PatchSummary.
-
artifact_details
¶ Gets the artifact_details of this PatchSummary.
Returns: The artifact_details of this PatchSummary. Return type: oci.fleet_apps_management.models.ArtifactDetails
-
compartment_id
¶ [Required] Gets the compartment_id of this PatchSummary. OCID of the compartment to which the resource belongs to.
Returns: The compartment_id of this PatchSummary. Return type: str
Gets the defined_tags of this PatchSummary. 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 PatchSummary. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this PatchSummary. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
Returns: The description of this PatchSummary. Return type: str
Gets the freeform_tags of this PatchSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this PatchSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this PatchSummary. The OCID of the resource.
Returns: The id of this PatchSummary. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this PatchSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
Returns: The lifecycle_details of this PatchSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this PatchSummary. The current state of the Patch.
Returns: The lifecycle_state of this PatchSummary. Return type: str
-
name
¶ [Required] Gets the name of this PatchSummary. A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
Returns: The name of this PatchSummary. Return type: str
-
patch_type
¶ [Required] Gets the patch_type of this PatchSummary.
Returns: The patch_type of this PatchSummary. Return type: oci.fleet_apps_management.models.PatchType
-
product
¶ [Required] Gets the product of this PatchSummary.
Returns: The product of this PatchSummary. Return type: oci.fleet_apps_management.models.PatchProduct
-
resource_region
¶ Gets the resource_region of this PatchSummary. Associated region
Returns: The resource_region of this PatchSummary. Return type: str
-
severity
¶ [Required] Gets the severity of this PatchSummary. Patch Severity.
Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The severity of this PatchSummary. Return type: str
Gets the system_tags of this PatchSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this PatchSummary. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this PatchSummary. The time this resource was created. An RFC3339 formatted datetime string.
Returns: The time_created of this PatchSummary. Return type: datetime
-
time_released
¶ [Required] Gets the time_released of this PatchSummary. Date when the patch was released.
Returns: The time_released of this PatchSummary. Return type: datetime
-
time_updated
¶ [Required] Gets the time_updated of this PatchSummary. The time this resource was last updated. An RFC3339 formatted datetime string.
Returns: The time_updated of this PatchSummary. Return type: datetime
-
type
¶ Gets the type of this PatchSummary. Provide information on who defined the patch. Example: For Custom Patches the value will be USER_DEFINED For Oracle Defined Patches the value will be ORACLE_DEFINED
Returns: The type of this PatchSummary. Return type: str
-