ComplianceRecordSummary¶
-
class
oci.fleet_apps_management.models.ComplianceRecordSummary(**kwargs)¶ Bases:
objectSummary information about a ComplianceDetail.
Attributes
COMPLIANCE_STATE_COMPLIANTA constant which can be used with the compliance_state property of a ComplianceRecordSummary. COMPLIANCE_STATE_NON_COMPLIANTA constant which can be used with the compliance_state property of a ComplianceRecordSummary. COMPLIANCE_STATE_UNKNOWNA constant which can be used with the compliance_state property of a ComplianceRecordSummary. COMPLIANCE_STATE_WARNINGA constant which can be used with the compliance_state property of a ComplianceRecordSummary. compartment_idGets the compartment_id of this ComplianceRecordSummary. compliance_stateGets the compliance_state of this ComplianceRecordSummary. defined_tagsGets the defined_tags of this ComplianceRecordSummary. entity_display_name[Required] Gets the entity_display_name of this ComplianceRecordSummary. entity_id[Required] Gets the entity_id of this ComplianceRecordSummary. freeform_tagsGets the freeform_tags of this ComplianceRecordSummary. id[Required] Gets the id of this ComplianceRecordSummary. lifecycle_stateGets the lifecycle_state of this ComplianceRecordSummary. patchGets the patch of this ComplianceRecordSummary. policyGets the policy of this ComplianceRecordSummary. resource[Required] Gets the resource of this ComplianceRecordSummary. system_tagsGets the system_tags of this ComplianceRecordSummary. target[Required] Gets the target of this ComplianceRecordSummary. time_createdGets the time_created of this ComplianceRecordSummary. time_updatedGets the time_updated of this ComplianceRecordSummary. Methods
__init__(**kwargs)Initializes a new ComplianceRecordSummary object with values from keyword arguments. -
COMPLIANCE_STATE_COMPLIANT= 'COMPLIANT'¶ A constant which can be used with the compliance_state property of a ComplianceRecordSummary. This constant has a value of “COMPLIANT”
-
COMPLIANCE_STATE_NON_COMPLIANT= 'NON_COMPLIANT'¶ A constant which can be used with the compliance_state property of a ComplianceRecordSummary. This constant has a value of “NON_COMPLIANT”
-
COMPLIANCE_STATE_UNKNOWN= 'UNKNOWN'¶ A constant which can be used with the compliance_state property of a ComplianceRecordSummary. This constant has a value of “UNKNOWN”
-
COMPLIANCE_STATE_WARNING= 'WARNING'¶ A constant which can be used with the compliance_state property of a ComplianceRecordSummary. This constant has a value of “WARNING”
-
__init__(**kwargs)¶ Initializes a new ComplianceRecordSummary 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 ComplianceRecordSummary.
- entity_id (str) – The value to assign to the entity_id property of this ComplianceRecordSummary.
- entity_display_name (str) – The value to assign to the entity_display_name property of this ComplianceRecordSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this ComplianceRecordSummary.
- policy (oci.fleet_apps_management.models.ComplianceDetailPolicy) – The value to assign to the policy property of this ComplianceRecordSummary.
- resource (oci.fleet_apps_management.models.ComplianceDetailResource) – The value to assign to the resource property of this ComplianceRecordSummary.
- target (oci.fleet_apps_management.models.ComplianceDetailTarget) – The value to assign to the target property of this ComplianceRecordSummary.
- patch (oci.fleet_apps_management.models.CompliancePatchDetail) – The value to assign to the patch property of this ComplianceRecordSummary.
- compliance_state (str) – The value to assign to the compliance_state property of this ComplianceRecordSummary. Allowed values for this property are: “UNKNOWN”, “COMPLIANT”, “NON_COMPLIANT”, “WARNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this ComplianceRecordSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this ComplianceRecordSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ComplianceRecordSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ComplianceRecordSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ComplianceRecordSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ComplianceRecordSummary.
-
compartment_id¶ Gets the compartment_id of this ComplianceRecordSummary. The OCID of the compartment.
Returns: The compartment_id of this ComplianceRecordSummary. Return type: str
-
compliance_state¶ Gets the compliance_state of this ComplianceRecordSummary. Last known compliance state of target.
Allowed values for this property are: “UNKNOWN”, “COMPLIANT”, “NON_COMPLIANT”, “WARNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The compliance_state of this ComplianceRecordSummary. Return type: str
Gets the defined_tags of this ComplianceRecordSummary. 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 ComplianceRecordSummary. Return type: dict(str, dict(str, object))
-
entity_display_name¶ [Required] Gets the entity_display_name of this ComplianceRecordSummary. The displayName of the entity for which the compliance is calculated.Ex.DisplayName for the Fleet
Returns: The entity_display_name of this ComplianceRecordSummary. Return type: str
-
entity_id¶ [Required] Gets the entity_id of this ComplianceRecordSummary. The OCID of the entity for which the compliance is calculated.Ex.FleetId
Returns: The entity_id of this ComplianceRecordSummary. Return type: str
Gets the freeform_tags of this ComplianceRecordSummary. 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 ComplianceRecordSummary. Return type: dict(str, str)
-
id¶ [Required] Gets the id of this ComplianceRecordSummary. The OCID of the ComplianceRecord.
Returns: The id of this ComplianceRecordSummary. Return type: str
-
lifecycle_state¶ Gets the lifecycle_state of this ComplianceRecordSummary. The current state of the ComplianceRecord.
Returns: The lifecycle_state of this ComplianceRecordSummary. Return type: str
-
patch¶ Gets the patch of this ComplianceRecordSummary.
Returns: The patch of this ComplianceRecordSummary. Return type: oci.fleet_apps_management.models.CompliancePatchDetail
-
policy¶ Gets the policy of this ComplianceRecordSummary.
Returns: The policy of this ComplianceRecordSummary. Return type: oci.fleet_apps_management.models.ComplianceDetailPolicy
-
resource¶ [Required] Gets the resource of this ComplianceRecordSummary.
Returns: The resource of this ComplianceRecordSummary. Return type: oci.fleet_apps_management.models.ComplianceDetailResource
Gets the system_tags of this ComplianceRecordSummary. 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 ComplianceRecordSummary. Return type: dict(str, dict(str, object))
-
target¶ [Required] Gets the target of this ComplianceRecordSummary.
Returns: The target of this ComplianceRecordSummary. Return type: oci.fleet_apps_management.models.ComplianceDetailTarget
-