NetworkLoadBalancerHealthSummary¶
-
class
oci.network_load_balancer.models.
NetworkLoadBalancerHealthSummary
(**kwargs)¶ Bases:
object
A health status summary for the specified network load balancer
Attributes
STATUS_CRITICAL
A constant which can be used with the status property of a NetworkLoadBalancerHealthSummary. STATUS_OK
A constant which can be used with the status property of a NetworkLoadBalancerHealthSummary. STATUS_UNKNOWN
A constant which can be used with the status property of a NetworkLoadBalancerHealthSummary. STATUS_WARNING
A constant which can be used with the status property of a NetworkLoadBalancerHealthSummary. network_load_balancer_id
[Required] Gets the network_load_balancer_id of this NetworkLoadBalancerHealthSummary. status
[Required] Gets the status of this NetworkLoadBalancerHealthSummary. Methods
__init__
(**kwargs)Initializes a new NetworkLoadBalancerHealthSummary object with values from keyword arguments. -
STATUS_CRITICAL
= 'CRITICAL'¶ A constant which can be used with the status property of a NetworkLoadBalancerHealthSummary. This constant has a value of “CRITICAL”
-
STATUS_OK
= 'OK'¶ A constant which can be used with the status property of a NetworkLoadBalancerHealthSummary. This constant has a value of “OK”
-
STATUS_UNKNOWN
= 'UNKNOWN'¶ A constant which can be used with the status property of a NetworkLoadBalancerHealthSummary. This constant has a value of “UNKNOWN”
-
STATUS_WARNING
= 'WARNING'¶ A constant which can be used with the status property of a NetworkLoadBalancerHealthSummary. This constant has a value of “WARNING”
-
__init__
(**kwargs)¶ Initializes a new NetworkLoadBalancerHealthSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - network_load_balancer_id (str) – The value to assign to the network_load_balancer_id property of this NetworkLoadBalancerHealthSummary.
- status (str) – The value to assign to the status property of this NetworkLoadBalancerHealthSummary. Allowed values for this property are: “OK”, “WARNING”, “CRITICAL”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
network_load_balancer_id
¶ [Required] Gets the network_load_balancer_id of this NetworkLoadBalancerHealthSummary. The OCID of the network load balancer with which the health status is associated.
Returns: The network_load_balancer_id of this NetworkLoadBalancerHealthSummary. Return type: str
-
status
¶ [Required] Gets the status of this NetworkLoadBalancerHealthSummary. The overall health status of the network load balancer.
- OK: All backend sets associated with the network load balancer return a status of OK.
- WARNING: At least one of the backend sets associated with the network load balancer returns a status of WARNING,
no backend sets return a status of CRITICAL, and the network load balancer life cycle state is ACTIVE.
CRITICAL: One or more of the backend sets associated with the network load balancer returns a status of CRITICAL.
UNKNOWN: If any one of the following conditions is true:
- The network load balancer life cycle state is not ACTIVE.
- No backend sets are defined for the network load balancer.
- More than half of the backend sets associated with the network load balancer return a status of UNKNOWN, none of the backend sets returns a status of WARNING or CRITICAL, and the network load balancer life cycle state is ACTIVE.
- The system could not retrieve metrics for any reason.
Allowed values for this property are: “OK”, “WARNING”, “CRITICAL”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this NetworkLoadBalancerHealthSummary. Return type: str
-