FleetTargetSummary¶
- class oci.fleet_apps_management.models.FleetTargetSummary(**kwargs)¶
Bases:
objectSummary of a confirmed target within a fleet.
Attributes:
A constant which can be used with the compliance_state property of a FleetTargetSummary.
A constant which can be used with the compliance_state property of a FleetTargetSummary.
A constant which can be used with the compliance_state property of a FleetTargetSummary.
A constant which can be used with the compliance_state property of a FleetTargetSummary.
Gets the compartment_id of this FleetTargetSummary.
Gets the compliance_state of this FleetTargetSummary.
[Required] Gets the display_name of this FleetTargetSummary.
[Required] Gets the id of this FleetTargetSummary.
Gets the is_last_discovery_attempt_successful of this FleetTargetSummary.
Gets the lifecycle_state of this FleetTargetSummary.
Gets the parent_target_name of this FleetTargetSummary.
Gets the product of this FleetTargetSummary.
Gets the resource of this FleetTargetSummary.
Gets the system_tags of this FleetTargetSummary.
Gets the time_of_last_discovery_attempt of this FleetTargetSummary.
Gets the time_of_last_successful_discovery of this FleetTargetSummary.
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.
parent_target_name (str) – The value to assign to the parent_target_name property of this FleetTargetSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this FleetTargetSummary.
- property compartment_id¶
Gets the compartment_id of this FleetTargetSummary. compartment OCID
- Returns
The compartment_id of this FleetTargetSummary.
- Return type
str
- property 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
- property 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
- property id¶
[Required] Gets the id of this FleetTargetSummary. The OCID of the resource.
- Returns
The id of this FleetTargetSummary.
- Return type
str
- property 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
- property 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
- property parent_target_name¶
Gets the parent_target_name of this FleetTargetSummary. Name of the parent target.
- Returns
The parent_target_name of this FleetTargetSummary.
- Return type
str
- property product¶
Gets the product of this FleetTargetSummary. Product to which the target belongs to.
- Returns
The product of this FleetTargetSummary.
- Return type
str
- property resource¶
Gets the resource of this FleetTargetSummary.
- Returns
The resource of this FleetTargetSummary.
- Return type
- property 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))
- property 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
- property 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
- property version¶
Gets the version of this FleetTargetSummary. Current version of target.
- Returns
The version of this FleetTargetSummary.
- Return type
str