Send feedback
Compute Engine v1 API - Class HealthStatus (2.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.16.0 keyboard_arrow_down
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()
HealthStatus(HealthStatus)
public HealthStatus(HealthStatus other)
Properties
Annotations
public MapField<string, string> Annotations { get; }
Metadata defined as annotations for network endpoint.
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-30 UTC."],[],[]]