HealthStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Attributes
Name | Description |
annotations |
Mapping[str, str]
Metadata defined as annotations for network endpoint. |
forwarding_rule |
str
URL of the forwarding rule associated with the health status of the instance. This field is a member of `oneof`_ ``_forwarding_rule``. |
forwarding_rule_ip |
str
A forwarding rule IP address assigned to this instance. This field is a member of `oneof`_ ``_forwarding_rule_ip``. |
health_state |
str
Health state of the instance. Check the HealthState enum for the list of possible values. This field is a member of `oneof`_ ``_health_state``. |
instance |
str
URL of the instance resource. This field is a member of `oneof`_ ``_instance``. |
ip_address |
str
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip. This field is a member of `oneof`_ ``_ip_address``. |
port |
int
The named port of the instance group, not necessarily the port that is health-checked. This field is a member of `oneof`_ ``_port``. |
weight |
str
This field is a member of `oneof`_ ``_weight``. |
weight_error |
str
Check the WeightError enum for the list of possible values. This field is a member of `oneof`_ ``_weight_error``. |
Inheritance
builtins.object > proto.message.Message > HealthStatusClasses
AnnotationsEntry
AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict, `.Message`]
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
HealthState
HealthState(value)
Health state of the instance.
WeightError
WeightError(value)
API documentation for compute_v1.types.HealthStatus.WeightError
class.