StationHealth

class oci.os_management_hub.models.StationHealth(**kwargs)

Bases: object

Overall health information of the management station.

Attributes

STATE_HEALTHY A constant which can be used with the state property of a StationHealth.
STATE_UNHEALTHY A constant which can be used with the state property of a StationHealth.
description Gets the description of this StationHealth.
state [Required] Gets the state of this StationHealth.

Methods

__init__(**kwargs) Initializes a new StationHealth object with values from keyword arguments.
STATE_HEALTHY = 'HEALTHY'

A constant which can be used with the state property of a StationHealth. This constant has a value of “HEALTHY”

STATE_UNHEALTHY = 'UNHEALTHY'

A constant which can be used with the state property of a StationHealth. This constant has a value of “UNHEALTHY”

__init__(**kwargs)

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

Parameters:
  • state (str) – The value to assign to the state property of this StationHealth. Allowed values for this property are: “HEALTHY”, “UNHEALTHY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • description (str) – The value to assign to the description property of this StationHealth.
description

Gets the description of this StationHealth. Explanation of the health status.

Returns:The description of this StationHealth.
Return type:str
state

[Required] Gets the state of this StationHealth. Overall health status of the management station.

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

Returns:The state of this StationHealth.
Return type:str