FleetErrorDetails

class oci.jms.models.FleetErrorDetails(**kwargs)

Bases: object

Details of a fleet error.

Attributes

REASON_INVENTORY_LOG A constant which can be used with the reason property of a FleetErrorDetails.
REASON_NO_MANAGED_INSTANCES A constant which can be used with the reason property of a FleetErrorDetails.
details Gets the details of this FleetErrorDetails.
reason [Required] Gets the reason of this FleetErrorDetails.
time_last_seen [Required] Gets the time_last_seen of this FleetErrorDetails.

Methods

__init__(**kwargs) Initializes a new FleetErrorDetails object with values from keyword arguments.
REASON_INVENTORY_LOG = 'INVENTORY_LOG'

A constant which can be used with the reason property of a FleetErrorDetails. This constant has a value of “INVENTORY_LOG”

REASON_NO_MANAGED_INSTANCES = 'NO_MANAGED_INSTANCES'

A constant which can be used with the reason property of a FleetErrorDetails. This constant has a value of “NO_MANAGED_INSTANCES”

__init__(**kwargs)

Initializes a new FleetErrorDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • reason (str) – The value to assign to the reason property of this FleetErrorDetails. Allowed values for this property are: “NO_MANAGED_INSTANCES”, “INVENTORY_LOG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • details (str) – The value to assign to the details property of this FleetErrorDetails.
  • time_last_seen (datetime) – The value to assign to the time_last_seen property of this FleetErrorDetails.
details

Gets the details of this FleetErrorDetails. Optional string containing additional details.

Returns:The details of this FleetErrorDetails.
Return type:str
reason

[Required] Gets the reason of this FleetErrorDetails. The fleet error reason.

Allowed values for this property are: “NO_MANAGED_INSTANCES”, “INVENTORY_LOG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The reason of this FleetErrorDetails.
Return type:str
time_last_seen

[Required] Gets the time_last_seen of this FleetErrorDetails. The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.

Returns:The time_last_seen of this FleetErrorDetails.
Return type:datetime