PluginErrorAggregation

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

Bases: object

Aggregation of PluginErrors

Attributes:

REASON_LOG_RESOURCE_POLICY

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

REASON_NO_FLEET

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

REASON_REGISTRATION_POLICY

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

count

[Required] Gets the count of this PluginErrorAggregation.

reason

[Required] Gets the reason of this PluginErrorAggregation.

Methods:

__init__(**kwargs)

Initializes a new PluginErrorAggregation 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 PluginErrorAggregation. 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 PluginErrorAggregation. 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 PluginErrorAggregation. This constant has a value of “REGISTRATION_POLICY”

__init__(**kwargs)

Initializes a new PluginErrorAggregation 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 PluginErrorAggregation. 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’.

  • count (int) – The value to assign to the count property of this PluginErrorAggregation.

property count

[Required] Gets the count of this PluginErrorAggregation. Number of FleetErrors encountered for the specific reason.

Returns

The count of this PluginErrorAggregation.

Return type

int

property reason

[Required] Gets the reason of this PluginErrorAggregation. Enum that uniquely identifies the plugin error.

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 PluginErrorAggregation.

Return type

str