PluginErrorDetails

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

Bases: object

Details of a plugin error.

Attributes:

REASON_LOG_RESOURCE_POLICY

A constant which can be used with the reason property of a PluginErrorDetails.

REASON_NO_FLEET

A constant which can be used with the reason property of a PluginErrorDetails.

REASON_REGISTRATION_POLICY

A constant which can be used with the reason property of a PluginErrorDetails.

details

Gets the details of this PluginErrorDetails.

reason

[Required] Gets the reason of this PluginErrorDetails.

time_last_seen

[Required] Gets the time_last_seen of this PluginErrorDetails.

Methods:

__init__(**kwargs)

Initializes a new PluginErrorDetails object with values from keyword arguments.

REASON_LOG_RESOURCE_POLICY = 'LOG_RESOURCE_POLICY'

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

REASON_NO_FLEET = 'NO_FLEET'

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

REASON_REGISTRATION_POLICY = 'REGISTRATION_POLICY'

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

__init__(**kwargs)

Initializes a new PluginErrorDetails 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 PluginErrorDetails. Allowed values for this property are: “REGISTRATION_POLICY”, “LOG_RESOURCE_POLICY”, “NO_FLEET”, ‘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 PluginErrorDetails.

  • time_last_seen (datetime) – The value to assign to the time_last_seen property of this PluginErrorDetails.

property details

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

Returns

The details of this PluginErrorDetails.

Return type

str

property reason

[Required] Gets the reason of this PluginErrorDetails. The plugin error reason.

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

Returns

The reason of this PluginErrorDetails.

Return type

str

property time_last_seen

[Required] Gets the time_last_seen of this PluginErrorDetails. 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 PluginErrorDetails.

Return type

datetime