ComplianceReportResource¶
- class oci.fleet_apps_management.models.ComplianceReportResource(**kwargs)¶
Bases:
objectDetails of the Resource
Attributes:
A constant which can be used with the compliance_state property of a ComplianceReportResource.
A constant which can be used with the compliance_state property of a ComplianceReportResource.
A constant which can be used with the compliance_state property of a ComplianceReportResource.
A constant which can be used with the compliance_state property of a ComplianceReportResource.
Gets the compartment of this ComplianceReportResource.
[Required] Gets the compliance_state of this ComplianceReportResource.
Gets the products of this ComplianceReportResource.
[Required] Gets the resource_id of this ComplianceReportResource.
[Required] Gets the resource_name of this ComplianceReportResource.
Gets the resource_region of this ComplianceReportResource.
[Required] Gets the resource_type of this ComplianceReportResource.
Gets the tenancy_id of this ComplianceReportResource.
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.
- property compartment¶
Gets the compartment of this ComplianceReportResource. Compartment the resource belongs to.
- Returns
The compartment of this ComplianceReportResource.
- Return type
str
- property compliance_state¶
[Required] Gets the compliance_state of this ComplianceReportResource. The last known compliance state of the 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
- property products¶
Gets the products of this ComplianceReportResource. Products associated with the Fleet. Only the products belonging to managed targets will be shown.
- Returns
The products of this ComplianceReportResource.
- Return type
list[oci.fleet_apps_management.models.ComplianceReportProduct]
- property 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
- property 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
- property resource_region¶
Gets the resource_region of this ComplianceReportResource. The region the resource belongs to.
- Returns
The resource_region of this ComplianceReportResource.
- Return type
str
- property resource_type¶
[Required] Gets the resource_type of this ComplianceReportResource. Type of the resource.
- Returns
The resource_type of this ComplianceReportResource.
- Return type
str
- property tenancy_id¶
Gets the tenancy_id of this ComplianceReportResource. TenancyId of the resource.
- Returns
The tenancy_id of this ComplianceReportResource.
- Return type
str
- property tenancy_name¶
Gets the tenancy_name of this ComplianceReportResource. Tenancy the resource belongs to.
- Returns
The tenancy_name of this ComplianceReportResource.
- Return type
str