UpdateCompliancePolicyRuleDetails¶
- class oci.fleet_apps_management.models.UpdateCompliancePolicyRuleDetails(**kwargs)¶
Bases:
objectThe data to update a CompliancePolicyRule.
Attributes:
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails.
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails.
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails.
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails.
Gets the defined_tags of this UpdateCompliancePolicyRuleDetails.
Gets the freeform_tags of this UpdateCompliancePolicyRuleDetails.
Gets the grace_period of this UpdateCompliancePolicyRuleDetails.
Gets the patch_selection of this UpdateCompliancePolicyRuleDetails.
Gets the patch_type_id of this UpdateCompliancePolicyRuleDetails.
Gets the product_version of this UpdateCompliancePolicyRuleDetails.
Gets the severity of this UpdateCompliancePolicyRuleDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateCompliancePolicyRuleDetails object with values from keyword arguments.
- SEVERITY_CRITICAL = 'CRITICAL'¶
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails. This constant has a value of “CRITICAL”
- SEVERITY_HIGH = 'HIGH'¶
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails. This constant has a value of “HIGH”
- SEVERITY_LOW = 'LOW'¶
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails. This constant has a value of “LOW”
- SEVERITY_MEDIUM = 'MEDIUM'¶
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails. This constant has a value of “MEDIUM”
- __init__(**kwargs)¶
Initializes a new UpdateCompliancePolicyRuleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
product_version (oci.fleet_apps_management.models.ProductVersionDetails) – The value to assign to the product_version property of this UpdateCompliancePolicyRuleDetails.
patch_type_id (list[str]) – The value to assign to the patch_type_id property of this UpdateCompliancePolicyRuleDetails.
severity (list[str]) – The value to assign to the severity property of this UpdateCompliancePolicyRuleDetails. Allowed values for items in this list are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”
patch_selection (oci.fleet_apps_management.models.PatchSelectionDetails) – The value to assign to the patch_selection property of this UpdateCompliancePolicyRuleDetails.
grace_period (str) – The value to assign to the grace_period property of this UpdateCompliancePolicyRuleDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateCompliancePolicyRuleDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateCompliancePolicyRuleDetails.
- property defined_tags¶
Gets the defined_tags of this UpdateCompliancePolicyRuleDetails. 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 UpdateCompliancePolicyRuleDetails.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this UpdateCompliancePolicyRuleDetails. 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 UpdateCompliancePolicyRuleDetails.
- Return type
dict(str, str)
- property grace_period¶
Gets the grace_period of this UpdateCompliancePolicyRuleDetails. Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn’t report the product as noncompliant when patch is not applied.
- Returns
The grace_period of this UpdateCompliancePolicyRuleDetails.
- Return type
str
- property patch_selection¶
Gets the patch_selection of this UpdateCompliancePolicyRuleDetails.
- Returns
The patch_selection of this UpdateCompliancePolicyRuleDetails.
- Return type
- property patch_type_id¶
Gets the patch_type_id of this UpdateCompliancePolicyRuleDetails. PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- Returns
The patch_type_id of this UpdateCompliancePolicyRuleDetails.
- Return type
list[str]
- property product_version¶
Gets the product_version of this UpdateCompliancePolicyRuleDetails.
- Returns
The product_version of this UpdateCompliancePolicyRuleDetails.
- Return type
- property severity¶
Gets the severity of this UpdateCompliancePolicyRuleDetails. Severity to which this CompliancePolicyRule applies.
Allowed values for items in this list are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”
- Returns
The severity of this UpdateCompliancePolicyRuleDetails.
- Return type
list[str]