ComplianceReportResource

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

Bases: object

Details of the Resource

Attributes

COMPLIANCE_STATE_COMPLIANT A constant which can be used with the compliance_state property of a ComplianceReportResource.
COMPLIANCE_STATE_NON_COMPLIANT A constant which can be used with the compliance_state property of a ComplianceReportResource.
COMPLIANCE_STATE_UNKNOWN A constant which can be used with the compliance_state property of a ComplianceReportResource.
COMPLIANCE_STATE_WARNING A constant which can be used with the compliance_state property of a ComplianceReportResource.
compartment Gets the compartment of this ComplianceReportResource.
compliance_state [Required] Gets the compliance_state of this ComplianceReportResource.
products Gets the products of this ComplianceReportResource.
resource_id [Required] Gets the resource_id of this ComplianceReportResource.
resource_name [Required] Gets the resource_name of this ComplianceReportResource.
resource_region Gets the resource_region of this ComplianceReportResource.
resource_type [Required] Gets the resource_type of this ComplianceReportResource.
tenancy_id Gets the tenancy_id of this ComplianceReportResource.
tenancy_name Gets the tenancy_name of this ComplianceReportResource.

Methods

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

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

COMPLIANCE_STATE_WARNING = 'WARNING'

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

__init__(**kwargs)

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

Parameters:
  • resource_id (str) – The value to assign to the resource_id property of this ComplianceReportResource.
  • resource_name (str) – The value to assign to the resource_name property of this ComplianceReportResource.
  • resource_type (str) – The value to assign to the resource_type property of this ComplianceReportResource.
  • tenancy_id (str) – The value to assign to the tenancy_id property of this ComplianceReportResource.
  • tenancy_name (str) – The value to assign to the tenancy_name property of this ComplianceReportResource.
  • compartment (str) – The value to assign to the compartment property of this ComplianceReportResource.
  • resource_region (str) – The value to assign to the resource_region property of this ComplianceReportResource.
  • compliance_state (str) – The value to assign to the compliance_state property of this ComplianceReportResource. 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’.
  • products (list[oci.fleet_apps_management.models.ComplianceReportProduct]) – The value to assign to the products property of this ComplianceReportResource.
compartment

Gets the compartment of this ComplianceReportResource. Compartment the resource belongs to.

Returns:The compartment of this ComplianceReportResource.
Return type:str
compliance_state

[Required] Gets the compliance_state of this ComplianceReportResource. 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 ComplianceReportResource.
Return type:str
products

Gets the products of this ComplianceReportResource. Products assocaited with the Fleet.Only products belonging to managed targets will be shown.

Returns:The products of this ComplianceReportResource.
Return type:list[oci.fleet_apps_management.models.ComplianceReportProduct]
resource_id

[Required] Gets the resource_id of this ComplianceReportResource. The OCID to identify the resource.

Returns:The resource_id of this ComplianceReportResource.
Return type:str
resource_name

[Required] Gets the resource_name of this ComplianceReportResource. Display name of the resource.

Returns:The resource_name of this ComplianceReportResource.
Return type:str
resource_region

Gets the resource_region of this ComplianceReportResource. Region the resource belongs to.

Returns:The resource_region of this ComplianceReportResource.
Return type:str
resource_type

[Required] Gets the resource_type of this ComplianceReportResource. Type of the resource.

Returns:The resource_type of this ComplianceReportResource.
Return type:str
tenancy_id

Gets the tenancy_id of this ComplianceReportResource. TenancyId of the resource.

Returns:The tenancy_id of this ComplianceReportResource.
Return type:str
tenancy_name

Gets the tenancy_name of this ComplianceReportResource. Tenancy the resource belongs to.

Returns:The tenancy_name of this ComplianceReportResource.
Return type:str