Class HaControllerStatus (1.56.0rc1)

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

Contains information about current status of the HaController.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
failover_progress google.cloud.compute_v1.types.HaControllerStatusFailoverProgress
Output only. [Output Only] Contains the details of the ongoing failover. This message is not displayed if failover is NOT in progress. This field is a member of oneof_ _failover_progress.
last_failover_info google.cloud.compute_v1.types.HaControllerStatusFailoverProgress
Output only. [Output Only] Contains the details of the last successful failover. This field is a member of oneof_ _last_failover_info.
ongoing_failover bool
Output only. [Output Only] Indicates if the failover is currently in-progress. This field is a member of oneof_ _ongoing_failover.
primary_instance str
Output only. [Output Only] The URL to the instance that is intended to be primary at this moment. Primary instance will be changed at the very beginning of a failover operation. This field is a member of oneof_ _primary_instance.
primary_zone str
Output only. [Output Only] The name of the zone that is intended to be primary at this moment. Primary zone will be changed at the very beginning of a failover operation. The zone may not be operational in the middle of a failover operation. This field is a member of oneof_ _primary_zone.
ready_for_failover bool
Output only. [Output Only] Indicates if the resource is ready for initiating a failover to the secondary zone. This field is a member of oneof_ _ready_for_failover.
zone_status MutableMapping[str, google.cloud.compute_v1.types.HaControllerStatusZoneStatus]
Output only. [Output Only] Map of zone statuses. Key: name of the zone Value: ZoneStatus

Classes

ZoneStatusEntry

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

The abstract base class for a message.

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