UpdateCompliancePolicyRuleDetails¶
-
class
oci.fleet_apps_management.models.
UpdateCompliancePolicyRuleDetails
(**kwargs)¶ Bases:
object
The data to update a CompliancePolicyRule.
Attributes
SEVERITY_CRITICAL
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails. SEVERITY_HIGH
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails. SEVERITY_LOW
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails. SEVERITY_MEDIUM
A constant which can be used with the severity property of a UpdateCompliancePolicyRuleDetails. defined_tags
Gets the defined_tags of this UpdateCompliancePolicyRuleDetails. freeform_tags
Gets the freeform_tags of this UpdateCompliancePolicyRuleDetails. grace_period
Gets the grace_period of this UpdateCompliancePolicyRuleDetails. patch_selection
Gets the patch_selection of this UpdateCompliancePolicyRuleDetails. patch_type
Gets the patch_type of this UpdateCompliancePolicyRuleDetails. product_version
Gets the product_version of this UpdateCompliancePolicyRuleDetails. severity
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 (list[str]) – The value to assign to the patch_type 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.
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))
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)
-
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
-
patch_selection
¶ Gets the patch_selection of this UpdateCompliancePolicyRuleDetails.
Returns: The patch_selection of this UpdateCompliancePolicyRuleDetails. Return type: oci.fleet_apps_management.models.PatchSelectionDetails
-
patch_type
¶ Gets the patch_type of this UpdateCompliancePolicyRuleDetails. PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
Returns: The patch_type of this UpdateCompliancePolicyRuleDetails. Return type: list[str]
-
product_version
¶ Gets the product_version of this UpdateCompliancePolicyRuleDetails.
Returns: The product_version of this UpdateCompliancePolicyRuleDetails. Return type: oci.fleet_apps_management.models.ProductVersionDetails
-
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]
-