Class HealthStatus (1.0.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
NameDescription
otherHealthStatus

Properties

Annotations

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

Metadata defined as annotations for network endpoint.

Property Value
TypeDescription
MapField<String, String>

ForwardingRule

public string ForwardingRule { get; set; }

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

Property Value
TypeDescription
String

ForwardingRuleIp

public string ForwardingRuleIp { get; set; }

A forwarding rule IP address assigned to this instance.

Property Value
TypeDescription
String

HasForwardingRule

public bool HasForwardingRule { get; }

Gets whether the "forwarding_rule" field is set

Property Value
TypeDescription
Boolean

HasForwardingRuleIp

public bool HasForwardingRuleIp { get; }

Gets whether the "forwarding_rule_ip" field is set

Property Value
TypeDescription
Boolean

HasHealthState

public bool HasHealthState { get; }

Gets whether the "health_state" field is set

Property Value
TypeDescription
Boolean

HasInstance

public bool HasInstance { get; }

Gets whether the "instance" field is set

Property Value
TypeDescription
Boolean

HasIpAddress

public bool HasIpAddress { get; }

Gets whether the "ip_address" field is set

Property Value
TypeDescription
Boolean

HasPort

public bool HasPort { get; }

Gets whether the "port" field is set

Property Value
TypeDescription
Boolean

HasWeight

public bool HasWeight { get; }

Gets whether the "weight" field is set

Property Value
TypeDescription
Boolean

HasWeightError

public bool HasWeightError { get; }

Gets whether the "weight_error" field is set

Property Value
TypeDescription
Boolean

HealthState

public string HealthState { get; set; }

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

Property Value
TypeDescription
String

Instance

public string Instance { get; set; }

URL of the instance resource.

Property Value
TypeDescription
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
TypeDescription
String

Port

public int Port { get; set; }

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

Property Value
TypeDescription
Int32

Weight

public string Weight { get; set; }
Property Value
TypeDescription
String

WeightError

public string WeightError { get; set; }

Check the WeightError enum for the list of possible values.

Property Value
TypeDescription
String