FleetErrorAggregation

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

Bases: object

Aggregation of FleetErrors

Attributes:

REASON_INVENTORY_LOG

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

REASON_NO_MANAGED_INSTANCES

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

count

[Required] Gets the count of this FleetErrorAggregation.

reason

[Required] Gets the reason of this FleetErrorAggregation.

Methods:

__init__(**kwargs)

Initializes a new FleetErrorAggregation object with values from keyword arguments.

REASON_INVENTORY_LOG = 'INVENTORY_LOG'

A constant which can be used with the reason property of a FleetErrorAggregation. 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 FleetErrorAggregation. This constant has a value of “NO_MANAGED_INSTANCES”

__init__(**kwargs)

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

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

property count

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

Returns

The count of this FleetErrorAggregation.

Return type

int

property reason

[Required] Gets the reason of this FleetErrorAggregation. Enum that uniquely identifies the fleet error.

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

Return type

str