Compute Engine v1 API - Class HealthStatus (2.16.0)

public sealed class HealthStatus : IMessage<HealthStatus>, IEquatable<HealthStatus>, IDeepCloneable<HealthStatus>, IBufferMessage, IMessage

Inheritance

object > HealthStatus

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

HealthStatus()

public HealthStatus()

HealthStatus(HealthStatus)

public HealthStatus(HealthStatus other)
Parameter
Name Description
other HealthStatus

Properties

Annotations

public MapField<string, string> Annotations { get; }

Metadata defined as annotations for network endpoint.

Property Value
Type Description
MapFieldstringstring

ForwardingRule

public string ForwardingRule { get; set; }

URL of the forwarding rule associated with the health status of the instance.

Property Value
Type Description
string

ForwardingRuleIp

public string ForwardingRuleIp { get; set; }

A forwarding rule IP address assigned to this instance.

Property Value
Type Description
string

HasForwardingRule

public bool HasForwardingRule { get; }

Gets whether the "forwarding_rule" field is set

Property Value
Type Description
bool

HasForwardingRuleIp

public bool HasForwardingRuleIp { get; }

Gets whether the "forwarding_rule_ip" field is set

Property Value
Type Description
bool

HasHealthState

public bool HasHealthState { get; }

Gets whether the "health_state" field is set

Property Value
Type Description
bool

HasInstance

public bool HasInstance { get; }

Gets whether the "instance" field is set

Property Value
Type Description
bool

HasIpAddress

public bool HasIpAddress { get; }

Gets whether the "ip_address" field is set

Property Value
Type Description
bool

HasPort

public bool HasPort { get; }

Gets whether the "port" field is set

Property Value
Type Description
bool

HasWeight

public bool HasWeight { get; }

Gets whether the "weight" field is set

Property Value
Type Description
bool

HasWeightError

public bool HasWeightError { get; }

Gets whether the "weight_error" field is set

Property Value
Type Description
bool

HealthState

public string HealthState { get; set; }

Health state of the IPv4 address of the instance. Check the HealthState enum for the list of possible values.

Property Value
Type Description
string

Instance

public string Instance { get; set; }

URL of the instance resource.

Property Value
Type Description
string

IpAddress

public string IpAddress { get; set; }

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.

Property Value
Type Description
string

Port

public int Port { get; set; }

The named port of the instance group, not necessarily the port that is health-checked.

Property Value
Type Description
int

Weight

public string Weight { get; set; }
Property Value
Type Description
string

WeightError

public string WeightError { get; set; }

Check the WeightError enum for the list of possible values.

Property Value
Type Description
string