UpdatePatchDetails¶
-
class
oci.fleet_apps_management.models.
UpdatePatchDetails
(**kwargs)¶ Bases:
object
The patch information to be updated.
Attributes
SEVERITY_CRITICAL
A constant which can be used with the severity property of a UpdatePatchDetails. SEVERITY_HIGH
A constant which can be used with the severity property of a UpdatePatchDetails. SEVERITY_LOW
A constant which can be used with the severity property of a UpdatePatchDetails. SEVERITY_MEDIUM
A constant which can be used with the severity property of a UpdatePatchDetails. artifact_details
Gets the artifact_details of this UpdatePatchDetails. compartment_id
Gets the compartment_id of this UpdatePatchDetails. defined_tags
Gets the defined_tags of this UpdatePatchDetails. dependent_patches
Gets the dependent_patches of this UpdatePatchDetails. description
Gets the description of this UpdatePatchDetails. freeform_tags
Gets the freeform_tags of this UpdatePatchDetails. patch_type
Gets the patch_type of this UpdatePatchDetails. product
Gets the product of this UpdatePatchDetails. severity
Gets the severity of this UpdatePatchDetails. time_released
Gets the time_released of this UpdatePatchDetails. Methods
__init__
(**kwargs)Initializes a new UpdatePatchDetails object with values from keyword arguments. -
SEVERITY_CRITICAL
= 'CRITICAL'¶ A constant which can be used with the severity property of a UpdatePatchDetails. This constant has a value of “CRITICAL”
-
SEVERITY_HIGH
= 'HIGH'¶ A constant which can be used with the severity property of a UpdatePatchDetails. This constant has a value of “HIGH”
-
SEVERITY_LOW
= 'LOW'¶ A constant which can be used with the severity property of a UpdatePatchDetails. This constant has a value of “LOW”
-
SEVERITY_MEDIUM
= 'MEDIUM'¶ A constant which can be used with the severity property of a UpdatePatchDetails. This constant has a value of “MEDIUM”
-
__init__
(**kwargs)¶ Initializes a new UpdatePatchDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - description (str) – The value to assign to the description property of this UpdatePatchDetails.
- patch_type (oci.fleet_apps_management.models.PatchType) – The value to assign to the patch_type property of this UpdatePatchDetails.
- severity (str) – The value to assign to the severity property of this UpdatePatchDetails. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”
- time_released (datetime) – The value to assign to the time_released property of this UpdatePatchDetails.
- artifact_details (oci.fleet_apps_management.models.ArtifactDetails) – The value to assign to the artifact_details property of this UpdatePatchDetails.
- product (oci.fleet_apps_management.models.PatchProduct) – The value to assign to the product property of this UpdatePatchDetails.
- dependent_patches (list[oci.fleet_apps_management.models.DependentPatchDetails]) – The value to assign to the dependent_patches property of this UpdatePatchDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this UpdatePatchDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdatePatchDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdatePatchDetails.
-
artifact_details
¶ Gets the artifact_details of this UpdatePatchDetails.
Returns: The artifact_details of this UpdatePatchDetails. Return type: oci.fleet_apps_management.models.ArtifactDetails
-
compartment_id
¶ Gets the compartment_id of this UpdatePatchDetails. OCID of the compartment to which the resource belongs to.
Returns: The compartment_id of this UpdatePatchDetails. Return type: str
Gets the defined_tags of this UpdatePatchDetails. 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 UpdatePatchDetails. Return type: dict(str, dict(str, object))
-
dependent_patches
¶ Gets the dependent_patches of this UpdatePatchDetails. Dependent Patches.
Returns: The dependent_patches of this UpdatePatchDetails. Return type: list[oci.fleet_apps_management.models.DependentPatchDetails]
-
description
¶ Gets the description of this UpdatePatchDetails. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
Returns: The description of this UpdatePatchDetails. Return type: str
Gets the freeform_tags of this UpdatePatchDetails. 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 UpdatePatchDetails. Return type: dict(str, str)
-
patch_type
¶ Gets the patch_type of this UpdatePatchDetails.
Returns: The patch_type of this UpdatePatchDetails. Return type: oci.fleet_apps_management.models.PatchType
-
product
¶ Gets the product of this UpdatePatchDetails.
Returns: The product of this UpdatePatchDetails. Return type: oci.fleet_apps_management.models.PatchProduct
-
severity
¶ Gets the severity of this UpdatePatchDetails. Patch Severity.
Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”
Returns: The severity of this UpdatePatchDetails. Return type: str
-
time_released
¶ Gets the time_released of this UpdatePatchDetails. Date when the patch was released.
Returns: The time_released of this UpdatePatchDetails. Return type: datetime
-