FleetTarget¶
-
class
oci.fleet_apps_management.models.FleetTarget(**kwargs)¶ Bases:
objectA confirmed target within a fleet.
Attributes
COMPLIANCE_STATE_COMPLIANTA constant which can be used with the compliance_state property of a FleetTarget. COMPLIANCE_STATE_NON_COMPLIANTA constant which can be used with the compliance_state property of a FleetTarget. COMPLIANCE_STATE_UNKNOWNA constant which can be used with the compliance_state property of a FleetTarget. COMPLIANCE_STATE_WARNINGA constant which can be used with the compliance_state property of a FleetTarget. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a FleetTarget. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a FleetTarget. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a FleetTarget. compartment_idGets the compartment_id of this FleetTarget. compliance_stateGets the compliance_state of this FleetTarget. display_name[Required] Gets the display_name of this FleetTarget. id[Required] Gets the id of this FleetTarget. is_last_discovery_attempt_successfulGets the is_last_discovery_attempt_successful of this FleetTarget. lifecycle_stateGets the lifecycle_state of this FleetTarget. productGets the product of this FleetTarget. resourceGets the resource of this FleetTarget. system_tagsGets the system_tags of this FleetTarget. time_createdGets the time_created of this FleetTarget. time_of_last_discovery_attemptGets the time_of_last_discovery_attempt of this FleetTarget. time_of_last_successful_discoveryGets the time_of_last_successful_discovery of this FleetTarget. versionGets the version of this FleetTarget. Methods
__init__(**kwargs)Initializes a new FleetTarget object with values from keyword arguments. -
COMPLIANCE_STATE_COMPLIANT= 'COMPLIANT'¶ A constant which can be used with the compliance_state property of a FleetTarget. 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 FleetTarget. 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 FleetTarget. This constant has a value of “UNKNOWN”
-
COMPLIANCE_STATE_WARNING= 'WARNING'¶ A constant which can be used with the compliance_state property of a FleetTarget. This constant has a value of “WARNING”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a FleetTarget. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a FleetTarget. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a FleetTarget. This constant has a value of “FAILED”
-
__init__(**kwargs)¶ Initializes a new FleetTarget 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 FleetTarget.
- compartment_id (str) – The value to assign to the compartment_id property of this FleetTarget.
- display_name (str) – The value to assign to the display_name property of this FleetTarget.
- time_created (datetime) – The value to assign to the time_created property of this FleetTarget.
- version (str) – The value to assign to the version property of this FleetTarget.
- product (str) – The value to assign to the product property of this FleetTarget.
- resource (oci.fleet_apps_management.models.TargetResource) – The value to assign to the resource property of this FleetTarget.
- compliance_state (str) – The value to assign to the compliance_state property of this FleetTarget. 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 FleetTarget.
- time_of_last_discovery_attempt (datetime) – The value to assign to the time_of_last_discovery_attempt property of this FleetTarget.
- is_last_discovery_attempt_successful (bool) – The value to assign to the is_last_discovery_attempt_successful property of this FleetTarget.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this FleetTarget. Allowed values for this property are: “ACTIVE”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this FleetTarget.
-
compartment_id¶ Gets the compartment_id of this FleetTarget. compartment OCID
Returns: The compartment_id of this FleetTarget. Return type: str
-
compliance_state¶ Gets the compliance_state of this FleetTarget. 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 FleetTarget. Return type: str
-
display_name¶ [Required] Gets the display_name of this FleetTarget. 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 FleetTarget. Return type: str
-
id¶ [Required] Gets the id of this FleetTarget. The OCID of the resource.
Returns: The id of this FleetTarget. Return type: str
-
is_last_discovery_attempt_successful¶ Gets the is_last_discovery_attempt_successful of this FleetTarget. A boolean flag that represents whether the last discovery attempt was successful.
Returns: The is_last_discovery_attempt_successful of this FleetTarget. Return type: bool
-
lifecycle_state¶ Gets the lifecycle_state of this FleetTarget. The current state of the FleetTarget.
Allowed values for this property are: “ACTIVE”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this FleetTarget. Return type: str
-
product¶ Gets the product of this FleetTarget. Product to which the target belongs to.
Returns: The product of this FleetTarget. Return type: str
-
resource¶ Gets the resource of this FleetTarget.
Returns: The resource of this FleetTarget. Return type: oci.fleet_apps_management.models.TargetResource
Gets the system_tags of this FleetTarget. 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 FleetTarget. Return type: dict(str, dict(str, object))
-
time_created¶ Gets the time_created of this FleetTarget. The time this resource was created. An RFC3339 formatted datetime string.
Returns: The time_created of this FleetTarget. Return type: datetime
-
time_of_last_discovery_attempt¶ Gets the time_of_last_discovery_attempt of this FleetTarget. The time when last discovery was attempted.
Returns: The time_of_last_discovery_attempt of this FleetTarget. Return type: datetime
-
time_of_last_successful_discovery¶ Gets the time_of_last_successful_discovery of this FleetTarget. The time when the last successful discovery was made.
Returns: The time_of_last_successful_discovery of this FleetTarget. Return type: datetime
-
version¶ Gets the version of this FleetTarget. Current version of target.
Returns: The version of this FleetTarget. Return type: str
-