FleetTargetSummary

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

Bases: object

Summary of the FleetTarget.

Attributes

COMPLIANCE_STATE_COMPLIANT A constant which can be used with the compliance_state property of a FleetTargetSummary.
COMPLIANCE_STATE_NON_COMPLIANT A constant which can be used with the compliance_state property of a FleetTargetSummary.
COMPLIANCE_STATE_UNKNOWN A constant which can be used with the compliance_state property of a FleetTargetSummary.
COMPLIANCE_STATE_WARNING A constant which can be used with the compliance_state property of a FleetTargetSummary.
compartment_id Gets the compartment_id of this FleetTargetSummary.
compliance_state Gets the compliance_state of this FleetTargetSummary.
display_name [Required] Gets the display_name of this FleetTargetSummary.
id [Required] Gets the id of this FleetTargetSummary.
lifecycle_state Gets the lifecycle_state of this FleetTargetSummary.
product Gets the product of this FleetTargetSummary.
resource Gets the resource of this FleetTargetSummary.
system_tags Gets the system_tags of this FleetTargetSummary.
version Gets the version of this FleetTargetSummary.

Methods

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

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

COMPLIANCE_STATE_WARNING = 'WARNING'

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

__init__(**kwargs)

Initializes a new FleetTargetSummary 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 FleetTargetSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this FleetTargetSummary.
  • display_name (str) – The value to assign to the display_name property of this FleetTargetSummary.
  • version (str) – The value to assign to the version property of this FleetTargetSummary.
  • product (str) – The value to assign to the product property of this FleetTargetSummary.
  • resource (oci.fleet_apps_management.models.TargetResource) – The value to assign to the resource property of this FleetTargetSummary.
  • compliance_state (str) – The value to assign to the compliance_state property of this FleetTargetSummary. 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’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this FleetTargetSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this FleetTargetSummary.
compartment_id

Gets the compartment_id of this FleetTargetSummary. Tenancy OCID

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

Gets the compliance_state of this FleetTargetSummary. Last known compliance state of Target.

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 FleetTargetSummary.
Return type:str
display_name

[Required] Gets the display_name of this FleetTargetSummary. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Example: My new resource

Returns:The display_name of this FleetTargetSummary.
Return type:str
id

[Required] Gets the id of this FleetTargetSummary. The OCID of the resource.

Returns:The id of this FleetTargetSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this FleetTargetSummary. The current state of the FleetTarget.

Returns:The lifecycle_state of this FleetTargetSummary.
Return type:str
product

Gets the product of this FleetTargetSummary. Product to which the target belongs to.

Returns:The product of this FleetTargetSummary.
Return type:str
resource

Gets the resource of this FleetTargetSummary.

Returns:The resource of this FleetTargetSummary.
Return type:oci.fleet_apps_management.models.TargetResource
system_tags

Gets the system_tags of this FleetTargetSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this FleetTargetSummary.
Return type:dict(str, dict(str, object))
version

Gets the version of this FleetTargetSummary. Current version of Target

Returns:The version of this FleetTargetSummary.
Return type:str