Compute Engine v1 API - Class HealthStatus (2.8.0)

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

Inheritance

object > HealthStatus

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

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
MapFieldstringstring

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
bool

HasForwardingRuleIp

public bool HasForwardingRuleIp { get; }

Gets whether the "forwarding_rule_ip" field is set

Property Value
TypeDescription
bool

HasHealthState

public bool HasHealthState { get; }

Gets whether the "health_state" field is set

Property Value
TypeDescription
bool

HasInstance

public bool HasInstance { get; }

Gets whether the "instance" field is set

Property Value
TypeDescription
bool

HasIpAddress

public bool HasIpAddress { get; }

Gets whether the "ip_address" field is set

Property Value
TypeDescription
bool

HasPort

public bool HasPort { get; }

Gets whether the "port" field is set

Property Value
TypeDescription
bool

HasWeight

public bool HasWeight { get; }

Gets whether the "weight" field is set

Property Value
TypeDescription
bool

HasWeightError

public bool HasWeightError { get; }

Gets whether the "weight_error" field is set

Property Value
TypeDescription
bool

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
int

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