ComplianceReportTarget¶
-
class
oci.fleet_apps_management.models.
ComplianceReportTarget
(**kwargs)¶ Bases:
object
Details of the target and patches.
Attributes
COMPLIANCE_STATE_COMPLIANT
A constant which can be used with the compliance_state property of a ComplianceReportTarget. COMPLIANCE_STATE_NON_COMPLIANT
A constant which can be used with the compliance_state property of a ComplianceReportTarget. COMPLIANCE_STATE_UNKNOWN
A constant which can be used with the compliance_state property of a ComplianceReportTarget. COMPLIANCE_STATE_WARNING
A constant which can be used with the compliance_state property of a ComplianceReportTarget. compliance_state
[Required] Gets the compliance_state of this ComplianceReportTarget. installed_patches
Gets the installed_patches of this ComplianceReportTarget. recommended_patches
Gets the recommended_patches of this ComplianceReportTarget. target_id
[Required] Gets the target_id of this ComplianceReportTarget. target_name
[Required] Gets the target_name of this ComplianceReportTarget. version
Gets the version of this ComplianceReportTarget. Methods
__init__
(**kwargs)Initializes a new ComplianceReportTarget object with values from keyword arguments. -
COMPLIANCE_STATE_COMPLIANT
= 'COMPLIANT'¶ A constant which can be used with the compliance_state property of a ComplianceReportTarget. 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 ComplianceReportTarget. 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 ComplianceReportTarget. This constant has a value of “UNKNOWN”
-
COMPLIANCE_STATE_WARNING
= 'WARNING'¶ A constant which can be used with the compliance_state property of a ComplianceReportTarget. This constant has a value of “WARNING”
-
__init__
(**kwargs)¶ Initializes a new ComplianceReportTarget object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - target_id (str) – The value to assign to the target_id property of this ComplianceReportTarget.
- target_name (str) – The value to assign to the target_name property of this ComplianceReportTarget.
- version (str) – The value to assign to the version property of this ComplianceReportTarget.
- compliance_state (str) – The value to assign to the compliance_state property of this ComplianceReportTarget. 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’.
- installed_patches (list[oci.fleet_apps_management.models.ComplianceReportPatchDetail]) – The value to assign to the installed_patches property of this ComplianceReportTarget.
- recommended_patches (list[oci.fleet_apps_management.models.ComplianceReportPatchDetail]) – The value to assign to the recommended_patches property of this ComplianceReportTarget.
-
compliance_state
¶ [Required] Gets the compliance_state of this ComplianceReportTarget. The last known compliance state of the 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 ComplianceReportTarget. Return type: str
-
installed_patches
¶ Gets the installed_patches of this ComplianceReportTarget. Installed Patches for the Target.
Returns: The installed_patches of this ComplianceReportTarget. Return type: list[oci.fleet_apps_management.models.ComplianceReportPatchDetail]
-
recommended_patches
¶ Gets the recommended_patches of this ComplianceReportTarget. Recommended Patches for the Target.
Returns: The recommended_patches of this ComplianceReportTarget. Return type: list[oci.fleet_apps_management.models.ComplianceReportPatchDetail]
-
target_id
¶ [Required] Gets the target_id of this ComplianceReportTarget. Target Identifier.Can be the target name if a separate ID is not available.
Returns: The target_id of this ComplianceReportTarget. Return type: str
-
target_name
¶ [Required] Gets the target_name of this ComplianceReportTarget. Target Name.
Returns: The target_name of this ComplianceReportTarget. Return type: str
-
version
¶ Gets the version of this ComplianceReportTarget. Current version of the target.
Returns: The version of this ComplianceReportTarget. Return type: str
-