Class HealthStatus (1.2.0)

HealthStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

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

Classes

AnnotationsEntry

AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
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 mapping is a mapping type or there are keyword parameters.

HealthState

HealthState(value)

Health state of the instance.

WeightError

WeightError(value)

API documentation for compute_v1.types.HealthStatus.WeightError class.