UpdatePatchDetails¶
- class oci.fleet_apps_management.models.UpdatePatchDetails(**kwargs)¶
Bases:
objectThe patch information to be updated.
Attributes:
A constant which can be used with the severity property of a UpdatePatchDetails.
A constant which can be used with the severity property of a UpdatePatchDetails.
A constant which can be used with the severity property of a UpdatePatchDetails.
A constant which can be used with the severity property of a UpdatePatchDetails.
Gets the artifact_details of this UpdatePatchDetails.
Gets the defined_tags of this UpdatePatchDetails.
Gets the dependent_patches of this UpdatePatchDetails.
Gets the description of this UpdatePatchDetails.
Gets the freeform_tags of this UpdatePatchDetails.
Gets the patch_type of this UpdatePatchDetails.
Gets the product of this UpdatePatchDetails.
Gets the severity of this UpdatePatchDetails.
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.
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.
- property artifact_details¶
Gets the artifact_details of this UpdatePatchDetails.
- Returns
The artifact_details of this UpdatePatchDetails.
- Return type
- property defined_tags¶
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))
- property 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]
- property 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
- property freeform_tags¶
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)
- property patch_type¶
Gets the patch_type of this UpdatePatchDetails.
- Returns
The patch_type of this UpdatePatchDetails.
- Return type
- property product¶
Gets the product of this UpdatePatchDetails.
- Returns
The product of this UpdatePatchDetails.
- Return type
- property 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
- property 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