LoadBalancerHealthPerRuleInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.LoadBalancerHealthPerRuleInner

Implements

public final class LoadBalancerHealthPerRuleInner
implements JsonSerializable<LoadBalancerHealthPerRuleInner>

The response for a Health API.

Method Summary

Modifier and Type Method and Description
Integer down()

Get the down property: Number of backend instances associated to the LB rule that are considered unhealthy.

static LoadBalancerHealthPerRuleInner fromJson(JsonReader jsonReader)

Reads an instance of LoadBalancerHealthPerRuleInner from the JsonReader.

List<LoadBalancerHealthPerRulePerBackendAddress> loadBalancerBackendAddresses()

Get the loadBalancerBackendAddresses property: Information about the health per rule of the backend addresses.

JsonWriter toJson(JsonWriter jsonWriter)
Integer up()

Get the up property: Number of backend instances associated to the LB rule that are considered healthy.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

down

public Integer down()

Get the down property: Number of backend instances associated to the LB rule that are considered unhealthy.

Returns:

the down value.

fromJson

public static LoadBalancerHealthPerRuleInner fromJson(JsonReader jsonReader)

Reads an instance of LoadBalancerHealthPerRuleInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LoadBalancerHealthPerRuleInner 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 LoadBalancerHealthPerRuleInner.

loadBalancerBackendAddresses

public List<LoadBalancerHealthPerRulePerBackendAddress> loadBalancerBackendAddresses()

Get the loadBalancerBackendAddresses property: Information about the health per rule of the backend addresses.

Returns:

the loadBalancerBackendAddresses value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

up

public Integer up()

Get the up property: Number of backend instances associated to the LB rule that are considered healthy.

Returns:

the up value.

validate

public void validate()

Validates the instance.

Applies to