ComplianceReport

class oci.fleet_apps_management.models.ComplianceReport(**kwargs)

Bases: object

Summary of a compliance report.

Attributes

COMPLIANCE_STATE_COMPLIANT A constant which can be used with the compliance_state property of a ComplianceReport.
COMPLIANCE_STATE_NON_COMPLIANT A constant which can be used with the compliance_state property of a ComplianceReport.
COMPLIANCE_STATE_UNKNOWN A constant which can be used with the compliance_state property of a ComplianceReport.
COMPLIANCE_STATE_WARNING A constant which can be used with the compliance_state property of a ComplianceReport.
compliance_state [Required] Gets the compliance_state of this ComplianceReport.
fleet_id [Required] Gets the fleet_id of this ComplianceReport.
id [Required] Gets the id of this ComplianceReport.
resources Gets the resources of this ComplianceReport.

Methods

__init__(**kwargs) Initializes a new ComplianceReport object with values from keyword arguments.
COMPLIANCE_STATE_COMPLIANT = 'COMPLIANT'

A constant which can be used with the compliance_state property of a ComplianceReport. 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 ComplianceReport. 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 ComplianceReport. This constant has a value of “UNKNOWN”

COMPLIANCE_STATE_WARNING = 'WARNING'

A constant which can be used with the compliance_state property of a ComplianceReport. This constant has a value of “WARNING”

__init__(**kwargs)

Initializes a new ComplianceReport 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 ComplianceReport.
  • fleet_id (str) – The value to assign to the fleet_id property of this ComplianceReport.
  • compliance_state (str) – The value to assign to the compliance_state property of this ComplianceReport. 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’.
  • resources (list[oci.fleet_apps_management.models.ComplianceReportResource]) – The value to assign to the resources property of this ComplianceReport.
compliance_state

[Required] Gets the compliance_state of this ComplianceReport. Last known compliance state of fleet.

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 ComplianceReport.
Return type:str
fleet_id

[Required] Gets the fleet_id of this ComplianceReport. The fleet OCID.

Returns:The fleet_id of this ComplianceReport.
Return type:str
id

[Required] Gets the id of this ComplianceReport. Compliance Report Identifier

Returns:The id of this ComplianceReport.
Return type:str
resources

Gets the resources of this ComplianceReport. Resources assocaited with the Fleet.

Returns:The resources of this ComplianceReport.
Return type:list[oci.fleet_apps_management.models.ComplianceReportResource]