ExportComplianceReportDetails

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

Bases: object

Details for generating Compliance Report.

Attributes

COMPLIANCE_STATE_COMPLIANT A constant which can be used with the compliance_state property of a ExportComplianceReportDetails.
COMPLIANCE_STATE_NON_COMPLIANT A constant which can be used with the compliance_state property of a ExportComplianceReportDetails.
COMPLIANCE_STATE_UNKNOWN A constant which can be used with the compliance_state property of a ExportComplianceReportDetails.
COMPLIANCE_STATE_WARNING A constant which can be used with the compliance_state property of a ExportComplianceReportDetails.
compartment_id [Required] Gets the compartment_id of this ExportComplianceReportDetails.
compliance_state Gets the compliance_state of this ExportComplianceReportDetails.
entity_id Gets the entity_id of this ExportComplianceReportDetails.
product_name Gets the product_name of this ExportComplianceReportDetails.
product_stack Gets the product_stack of this ExportComplianceReportDetails.
resource_id Gets the resource_id of this ExportComplianceReportDetails.

Methods

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

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

COMPLIANCE_STATE_WARNING = 'WARNING'

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

__init__(**kwargs)

Initializes a new ExportComplianceReportDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this ExportComplianceReportDetails.
  • entity_id (str) – The value to assign to the entity_id property of this ExportComplianceReportDetails.
  • resource_id (str) – The value to assign to the resource_id property of this ExportComplianceReportDetails.
  • product_stack (str) – The value to assign to the product_stack property of this ExportComplianceReportDetails.
  • product_name (str) – The value to assign to the product_name property of this ExportComplianceReportDetails.
  • compliance_state (str) – The value to assign to the compliance_state property of this ExportComplianceReportDetails. Allowed values for this property are: “UNKNOWN”, “COMPLIANT”, “NON_COMPLIANT”, “WARNING”
compartment_id

[Required] Gets the compartment_id of this ExportComplianceReportDetails. The OCID of the compartment.

Returns:The compartment_id of this ExportComplianceReportDetails.
Return type:str
compliance_state

Gets the compliance_state of this ExportComplianceReportDetails. Last known compliance state of target.

Allowed values for this property are: “UNKNOWN”, “COMPLIANT”, “NON_COMPLIANT”, “WARNING”

Returns:The compliance_state of this ExportComplianceReportDetails.
Return type:str
entity_id

Gets the entity_id of this ExportComplianceReportDetails. The OCID of the entity for which the compliance is calculated.Ex.FleetId

Returns:The entity_id of this ExportComplianceReportDetails.
Return type:str
product_name

Gets the product_name of this ExportComplianceReportDetails. Product Name.

Returns:The product_name of this ExportComplianceReportDetails.
Return type:str
product_stack

Gets the product_stack of this ExportComplianceReportDetails. Product Stack.

Returns:The product_stack of this ExportComplianceReportDetails.
Return type:str
resource_id

Gets the resource_id of this ExportComplianceReportDetails. The OCID to identify the resource.

Returns:The resource_id of this ExportComplianceReportDetails.
Return type:str