ComplianceDetailResource

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

Bases: object

Details of the Resource

Methods

__init__(**kwargs) Initializes a new ComplianceDetailResource object with values from keyword arguments.

Attributes

compartment Gets the compartment of this ComplianceDetailResource.
compartment_id Gets the compartment_id of this ComplianceDetailResource.
resource_id [Required] Gets the resource_id of this ComplianceDetailResource.
resource_name [Required] Gets the resource_name of this ComplianceDetailResource.
resource_region Gets the resource_region of this ComplianceDetailResource.
__init__(**kwargs)

Initializes a new ComplianceDetailResource 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 ComplianceDetailResource.
  • resource_name (str) – The value to assign to the resource_name property of this ComplianceDetailResource.
  • compartment_id (str) – The value to assign to the compartment_id property of this ComplianceDetailResource.
  • compartment (str) – The value to assign to the compartment property of this ComplianceDetailResource.
  • resource_region (str) – The value to assign to the resource_region property of this ComplianceDetailResource.
compartment

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

Returns:The compartment of this ComplianceDetailResource.
Return type:str
compartment_id

Gets the compartment_id of this ComplianceDetailResource. TenancyId of the resource.

Returns:The compartment_id of this ComplianceDetailResource.
Return type:str
resource_id

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

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

[Required] Gets the resource_name of this ComplianceDetailResource. Name of the resource.

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

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

Returns:The resource_region of this ComplianceDetailResource.
Return type:str