PluginErrorSummary

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

Bases: object

Entity that represents an error identified in a plugin.

Attributes:

AGENT_TYPE_OCA

A constant which can be used with the agent_type property of a PluginErrorSummary.

AGENT_TYPE_OCMA

A constant which can be used with the agent_type property of a PluginErrorSummary.

AGENT_TYPE_OMA

A constant which can be used with the agent_type property of a PluginErrorSummary.

agent_type

Gets the agent_type of this PluginErrorSummary.

compartment_id

[Required] Gets the compartment_id of this PluginErrorSummary.

errors

[Required] Gets the errors of this PluginErrorSummary.

host_name

Gets the host_name of this PluginErrorSummary.

managed_instance_id

[Required] Gets the managed_instance_id of this PluginErrorSummary.

time_first_seen

[Required] Gets the time_first_seen of this PluginErrorSummary.

time_last_seen

[Required] Gets the time_last_seen of this PluginErrorSummary.

Methods:

__init__(**kwargs)

Initializes a new PluginErrorSummary object with values from keyword arguments.

AGENT_TYPE_OCA = 'OCA'

A constant which can be used with the agent_type property of a PluginErrorSummary. This constant has a value of “OCA”

AGENT_TYPE_OCMA = 'OCMA'

A constant which can be used with the agent_type property of a PluginErrorSummary. This constant has a value of “OCMA”

AGENT_TYPE_OMA = 'OMA'

A constant which can be used with the agent_type property of a PluginErrorSummary. This constant has a value of “OMA”

__init__(**kwargs)

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

Parameters
  • managed_instance_id (str) – The value to assign to the managed_instance_id property of this PluginErrorSummary.

  • agent_type (str) – The value to assign to the agent_type property of this PluginErrorSummary. Allowed values for this property are: “OMA”, “OCA”, “OCMA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • host_name (str) – The value to assign to the host_name property of this PluginErrorSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this PluginErrorSummary.

  • errors (list[oci.jms.models.PluginErrorDetails]) – The value to assign to the errors property of this PluginErrorSummary.

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

  • time_first_seen (datetime) – The value to assign to the time_first_seen property of this PluginErrorSummary.

property agent_type

Gets the agent_type of this PluginErrorSummary. The agent type.

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

Returns

The agent_type of this PluginErrorSummary.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this PluginErrorSummary. The compartment OCID of the Fleet.

Returns

The compartment_id of this PluginErrorSummary.

Return type

str

property errors

[Required] Gets the errors of this PluginErrorSummary. List of plugin error details.

Returns

The errors of this PluginErrorSummary.

Return type

list[oci.jms.models.PluginErrorDetails]

property host_name

Gets the host_name of this PluginErrorSummary. The HostName or Compute Instance name of the Managed Instance running the plugin.

Returns

The host_name of this PluginErrorSummary.

Return type

str

property managed_instance_id

[Required] Gets the managed_instance_id of this PluginErrorSummary. The OCID of the Managed Instance running the plugin.

Returns

The managed_instance_id of this PluginErrorSummary.

Return type

str

property time_first_seen

[Required] Gets the time_first_seen of this PluginErrorSummary. The timestamp of the first time an error was detected.

Returns

The time_first_seen of this PluginErrorSummary.

Return type

datetime

property time_last_seen

[Required] Gets the time_last_seen of this PluginErrorSummary. The timestamp of the last time an error was detected.

Returns

The time_last_seen of this PluginErrorSummary.

Return type

datetime