FleetTargetSummary

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

Bases: object

Summary of a confirmed target within a fleet.

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.
is_last_discovery_attempt_successful Gets the is_last_discovery_attempt_successful 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.
time_of_last_discovery_attempt Gets the time_of_last_discovery_attempt of this FleetTargetSummary.
time_of_last_successful_discovery Gets the time_of_last_successful_discovery 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’.
  • time_of_last_successful_discovery (datetime) – The value to assign to the time_of_last_successful_discovery property of this FleetTargetSummary.
  • time_of_last_discovery_attempt (datetime) – The value to assign to the time_of_last_discovery_attempt property of this FleetTargetSummary.
  • is_last_discovery_attempt_successful (bool) – The value to assign to the is_last_discovery_attempt_successful property of this FleetTargetSummary.
  • 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. The last known compliance state of the 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
is_last_discovery_attempt_successful

Gets the is_last_discovery_attempt_successful of this FleetTargetSummary. A boolean flag that represents whether the last discovery attempt was successful.

Returns:The is_last_discovery_attempt_successful of this FleetTargetSummary.
Return type:bool
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))
time_of_last_discovery_attempt

Gets the time_of_last_discovery_attempt of this FleetTargetSummary. The time when last discovery was attempted.

Returns:The time_of_last_discovery_attempt of this FleetTargetSummary.
Return type:datetime
time_of_last_successful_discovery

Gets the time_of_last_successful_discovery of this FleetTargetSummary. The time when the last successful discovery was made.

Returns:The time_of_last_successful_discovery of this FleetTargetSummary.
Return type:datetime
version

Gets the version of this FleetTargetSummary. Current version of target.

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