ComplianceRecord¶
- 
class oci.fleet_apps_management.models.ComplianceRecord(**kwargs)¶
- Bases: - object- The compliance status reports. - Attributes - COMPLIANCE_STATE_COMPLIANT- A constant which can be used with the compliance_state property of a ComplianceRecord. - COMPLIANCE_STATE_NON_COMPLIANT- A constant which can be used with the compliance_state property of a ComplianceRecord. - COMPLIANCE_STATE_UNKNOWN- A constant which can be used with the compliance_state property of a ComplianceRecord. - COMPLIANCE_STATE_WARNING- A constant which can be used with the compliance_state property of a ComplianceRecord. - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a ComplianceRecord. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a ComplianceRecord. - LIFECYCLE_STATE_FAILED- A constant which can be used with the lifecycle_state property of a ComplianceRecord. - compartment_id- Gets the compartment_id of this ComplianceRecord. - compliance_state- Gets the compliance_state of this ComplianceRecord. - defined_tags- Gets the defined_tags of this ComplianceRecord. - entity_display_name- [Required] Gets the entity_display_name of this ComplianceRecord. - entity_id- [Required] Gets the entity_id of this ComplianceRecord. - freeform_tags- Gets the freeform_tags of this ComplianceRecord. - id- [Required] Gets the id of this ComplianceRecord. - lifecycle_state- Gets the lifecycle_state of this ComplianceRecord. - patch- Gets the patch of this ComplianceRecord. - policy- Gets the policy of this ComplianceRecord. - resource- [Required] Gets the resource of this ComplianceRecord. - system_tags- Gets the system_tags of this ComplianceRecord. - target- [Required] Gets the target of this ComplianceRecord. - time_created- Gets the time_created of this ComplianceRecord. - time_updated- Gets the time_updated of this ComplianceRecord. - Methods - __init__(**kwargs)- Initializes a new ComplianceRecord object with values from keyword arguments. - 
COMPLIANCE_STATE_COMPLIANT= 'COMPLIANT'¶
- A constant which can be used with the compliance_state property of a ComplianceRecord. 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 ComplianceRecord. 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 ComplianceRecord. This constant has a value of “UNKNOWN” 
 - 
COMPLIANCE_STATE_WARNING= 'WARNING'¶
- A constant which can be used with the compliance_state property of a ComplianceRecord. This constant has a value of “WARNING” 
 - 
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶
- A constant which can be used with the lifecycle_state property of a ComplianceRecord. This constant has a value of “ACTIVE” 
 - 
LIFECYCLE_STATE_DELETED= 'DELETED'¶
- A constant which can be used with the lifecycle_state property of a ComplianceRecord. This constant has a value of “DELETED” 
 - 
LIFECYCLE_STATE_FAILED= 'FAILED'¶
- A constant which can be used with the lifecycle_state property of a ComplianceRecord. This constant has a value of “FAILED” 
 - 
__init__(**kwargs)¶
- Initializes a new ComplianceRecord 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 ComplianceRecord.
- entity_id (str) – The value to assign to the entity_id property of this ComplianceRecord.
- entity_display_name (str) – The value to assign to the entity_display_name property of this ComplianceRecord.
- compartment_id (str) – The value to assign to the compartment_id property of this ComplianceRecord.
- policy (oci.fleet_apps_management.models.ComplianceDetailPolicy) – The value to assign to the policy property of this ComplianceRecord.
- resource (oci.fleet_apps_management.models.ComplianceDetailResource) – The value to assign to the resource property of this ComplianceRecord.
- target (oci.fleet_apps_management.models.ComplianceDetailTarget) – The value to assign to the target property of this ComplianceRecord.
- patch (oci.fleet_apps_management.models.CompliancePatchDetail) – The value to assign to the patch property of this ComplianceRecord.
- compliance_state (str) – The value to assign to the compliance_state property of this ComplianceRecord. 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 ComplianceRecord.
- time_updated (datetime) – The value to assign to the time_updated property of this ComplianceRecord.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ComplianceRecord. Allowed values for this property are: “ACTIVE”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ComplianceRecord.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ComplianceRecord.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ComplianceRecord.
 
 - 
compartment_id¶
- Gets the compartment_id of this ComplianceRecord. The OCID of the compartment. - Returns: - The compartment_id of this ComplianceRecord. - Return type: - str 
 - 
compliance_state¶
- Gets the compliance_state of this ComplianceRecord. 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 ComplianceRecord. - Return type: - str 
 - Gets the defined_tags of this ComplianceRecord. 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 ComplianceRecord. - Return type: - dict(str, dict(str, object)) 
 - 
entity_display_name¶
- [Required] Gets the entity_display_name of this ComplianceRecord. The displayName of the entity for which the compliance is calculated.Ex.DisplayName for the Fleet - Returns: - The entity_display_name of this ComplianceRecord. - Return type: - str 
 - 
entity_id¶
- [Required] Gets the entity_id of this ComplianceRecord. The OCID of the entity for which the compliance is calculated.Ex.FleetId - Returns: - The entity_id of this ComplianceRecord. - Return type: - str 
 - Gets the freeform_tags of this ComplianceRecord. 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 ComplianceRecord. - Return type: - dict(str, str) 
 - 
id¶
- [Required] Gets the id of this ComplianceRecord. The OCID of the ComplianceRecord. - Returns: - The id of this ComplianceRecord. - Return type: - str 
 - 
lifecycle_state¶
- Gets the lifecycle_state of this ComplianceRecord. The current state of the ComplianceRecord. - Allowed values for this property are: “ACTIVE”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The lifecycle_state of this ComplianceRecord. - Return type: - str 
 - 
patch¶
- Gets the patch of this ComplianceRecord. - Returns: - The patch of this ComplianceRecord. - Return type: - oci.fleet_apps_management.models.CompliancePatchDetail 
 - 
policy¶
- Gets the policy of this ComplianceRecord. - Returns: - The policy of this ComplianceRecord. - Return type: - oci.fleet_apps_management.models.ComplianceDetailPolicy 
 - 
resource¶
- [Required] Gets the resource of this ComplianceRecord. - Returns: - The resource of this ComplianceRecord. - Return type: - oci.fleet_apps_management.models.ComplianceDetailResource 
 - Gets the system_tags of this ComplianceRecord. 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 ComplianceRecord. - Return type: - dict(str, dict(str, object)) 
 - 
target¶
- [Required] Gets the target of this ComplianceRecord. - Returns: - The target of this ComplianceRecord. - Return type: - oci.fleet_apps_management.models.ComplianceDetailTarget 
 
-