CompliancePolicyRuleSummary¶
- class oci.fleet_apps_management.models.CompliancePolicyRuleSummary(**kwargs)¶
Bases:
objectSummary information about a CompliancePolicyRule.
Attributes:
A constant which can be used with the severity property of a CompliancePolicyRuleSummary.
A constant which can be used with the severity property of a CompliancePolicyRuleSummary.
A constant which can be used with the severity property of a CompliancePolicyRuleSummary.
A constant which can be used with the severity property of a CompliancePolicyRuleSummary.
[Required] Gets the compartment_id of this CompliancePolicyRuleSummary.
[Required] Gets the compliance_policy_id of this CompliancePolicyRuleSummary.
Gets the defined_tags of this CompliancePolicyRuleSummary.
[Required] Gets the display_name of this CompliancePolicyRuleSummary.
Gets the freeform_tags of this CompliancePolicyRuleSummary.
Gets the grace_period of this CompliancePolicyRuleSummary.
[Required] Gets the id of this CompliancePolicyRuleSummary.
Gets the lifecycle_details of this CompliancePolicyRuleSummary.
[Required] Gets the lifecycle_state of this CompliancePolicyRuleSummary.
[Required] Gets the patch_selection of this CompliancePolicyRuleSummary.
[Required] Gets the patch_type_id of this CompliancePolicyRuleSummary.
[Required] Gets the product_version of this CompliancePolicyRuleSummary.
Gets the severity of this CompliancePolicyRuleSummary.
Gets the system_tags of this CompliancePolicyRuleSummary.
[Required] Gets the time_created of this CompliancePolicyRuleSummary.
Gets the time_updated of this CompliancePolicyRuleSummary.
Methods:
__init__(**kwargs)Initializes a new CompliancePolicyRuleSummary object with values from keyword arguments.
- SEVERITY_CRITICAL = 'CRITICAL'¶
A constant which can be used with the severity property of a CompliancePolicyRuleSummary. This constant has a value of “CRITICAL”
- SEVERITY_HIGH = 'HIGH'¶
A constant which can be used with the severity property of a CompliancePolicyRuleSummary. This constant has a value of “HIGH”
- SEVERITY_LOW = 'LOW'¶
A constant which can be used with the severity property of a CompliancePolicyRuleSummary. This constant has a value of “LOW”
- SEVERITY_MEDIUM = 'MEDIUM'¶
A constant which can be used with the severity property of a CompliancePolicyRuleSummary. This constant has a value of “MEDIUM”
- __init__(**kwargs)¶
Initializes a new CompliancePolicyRuleSummary 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 CompliancePolicyRuleSummary.
display_name (str) – The value to assign to the display_name property of this CompliancePolicyRuleSummary.
compliance_policy_id (str) – The value to assign to the compliance_policy_id property of this CompliancePolicyRuleSummary.
product_version (oci.fleet_apps_management.models.ProductVersionDetails) – The value to assign to the product_version property of this CompliancePolicyRuleSummary.
patch_type_id (list[str]) – The value to assign to the patch_type_id property of this CompliancePolicyRuleSummary.
severity (list[str]) – The value to assign to the severity property of this CompliancePolicyRuleSummary. Allowed values for items in this list are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
patch_selection (oci.fleet_apps_management.models.PatchSelectionDetails) – The value to assign to the patch_selection property of this CompliancePolicyRuleSummary.
grace_period (str) – The value to assign to the grace_period property of this CompliancePolicyRuleSummary.
compartment_id (str) – The value to assign to the compartment_id property of this CompliancePolicyRuleSummary.
time_created (datetime) – The value to assign to the time_created property of this CompliancePolicyRuleSummary.
time_updated (datetime) – The value to assign to the time_updated property of this CompliancePolicyRuleSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this CompliancePolicyRuleSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this CompliancePolicyRuleSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CompliancePolicyRuleSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CompliancePolicyRuleSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CompliancePolicyRuleSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this CompliancePolicyRuleSummary. The OCID of the compartment the CompliancePolicyRule belongs to.
- Returns
The compartment_id of this CompliancePolicyRuleSummary.
- Return type
str
- property compliance_policy_id¶
[Required] Gets the compliance_policy_id of this CompliancePolicyRuleSummary. Unique OCID of the CompliancePolicy.
- Returns
The compliance_policy_id of this CompliancePolicyRuleSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CompliancePolicyRuleSummary. 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 CompliancePolicyRuleSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this CompliancePolicyRuleSummary. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
- Returns
The display_name of this CompliancePolicyRuleSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CompliancePolicyRuleSummary. 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 CompliancePolicyRuleSummary.
- Return type
dict(str, str)
- property grace_period¶
Gets the grace_period of this CompliancePolicyRuleSummary. 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 CompliancePolicyRuleSummary.
- Return type
str
- property id¶
[Required] Gets the id of this CompliancePolicyRuleSummary. Unique OCID of the CompliancePolicyRule.
- Returns
The id of this CompliancePolicyRuleSummary.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this CompliancePolicyRuleSummary. A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Returns
The lifecycle_details of this CompliancePolicyRuleSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this CompliancePolicyRuleSummary. The current state of the CompliancePolicyRule.
- Returns
The lifecycle_state of this CompliancePolicyRuleSummary.
- Return type
str
- property patch_selection¶
[Required] Gets the patch_selection of this CompliancePolicyRuleSummary.
- Returns
The patch_selection of this CompliancePolicyRuleSummary.
- Return type
- property patch_type_id¶
[Required] Gets the patch_type_id of this CompliancePolicyRuleSummary. PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- Returns
The patch_type_id of this CompliancePolicyRuleSummary.
- Return type
list[str]
- property product_version¶
[Required] Gets the product_version of this CompliancePolicyRuleSummary.
- Returns
The product_version of this CompliancePolicyRuleSummary.
- Return type
- property severity¶
Gets the severity of this CompliancePolicyRuleSummary. Severity to which this CompliancePolicyRule applies.
Allowed values for items in this list 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 CompliancePolicyRuleSummary.
- Return type
list[str]
- property system_tags¶
Gets the system_tags of this CompliancePolicyRuleSummary. 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 CompliancePolicyRuleSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this CompliancePolicyRuleSummary. The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z
- Returns
The time_created of this CompliancePolicyRuleSummary.
- Return type
datetime