LoadBalancerHealthPerRulePerBackendAddress Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.LoadBalancerHealthPerRulePerBackendAddress

Implements

public final class LoadBalancerHealthPerRulePerBackendAddress
implements JsonSerializable<LoadBalancerHealthPerRulePerBackendAddress>

The information about health per rule per backend address.

Method Summary

Modifier and Type Method and Description
static LoadBalancerHealthPerRulePerBackendAddress fromJson(JsonReader jsonReader)

Reads an instance of LoadBalancerHealthPerRulePerBackendAddress from the JsonReader.

String ipAddress()

Get the ipAddress property: The IP address belonging to the backend address.

String networkInterfaceIpConfigurationId()

Get the networkInterfaceIpConfigurationId property: Resource ID of the Network Interface IP Configuration.

String reason()

Get the reason property: The explanation of the State.

String state()

Get the state property: The current health of the backend instances that is associated to the LB rule.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static LoadBalancerHealthPerRulePerBackendAddress fromJson(JsonReader jsonReader)

Reads an instance of LoadBalancerHealthPerRulePerBackendAddress from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LoadBalancerHealthPerRulePerBackendAddress if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the LoadBalancerHealthPerRulePerBackendAddress.

ipAddress

public String ipAddress()

Get the ipAddress property: The IP address belonging to the backend address.

Returns:

the ipAddress value.

networkInterfaceIpConfigurationId

public String networkInterfaceIpConfigurationId()

Get the networkInterfaceIpConfigurationId property: Resource ID of the Network Interface IP Configuration.

Returns:

the networkInterfaceIpConfigurationId value.

reason

public String reason()

Get the reason property: The explanation of the State.

Returns:

the reason value.

state

public String state()

Get the state property: The current health of the backend instances that is associated to the LB rule.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to