StationHealth¶
- class oci.os_management_hub.models.StationHealth(**kwargs)¶
Bases:
objectOverall health information of the management station.
Attributes:
A constant which can be used with the state property of a StationHealth.
A constant which can be used with the state property of a StationHealth.
A constant which can be used with the state property of a StationHealth.
Gets the description of this StationHealth.
[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_UNAVAILABLE = 'UNAVAILABLE'¶
A constant which can be used with the state property of a StationHealth. This constant has a value of “UNAVAILABLE”
- 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”, “UNAVAILABLE”, ‘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.
- property description¶
Gets the description of this StationHealth. Explanation of the health status.
- Returns
The description of this StationHealth.
- Return type
str
- property state¶
[Required] Gets the state of this StationHealth. Overall health status of the management station.
Allowed values for this property are: “HEALTHY”, “UNHEALTHY”, “UNAVAILABLE”, ‘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