LoadBalancerHealthPerRuleInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. LoadBalancerHealthPerRuleInner
- com.
Implements
public final class LoadBalancerHealthPerRuleInner
implements JsonSerializable<LoadBalancerHealthPerRuleInner>
The response for a Health API.
Constructor Summary
Constructor | Description |
---|---|
LoadBalancerHealthPerRuleInner() |
Creates an instance of Load |
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
Load |
fromJson(JsonReader jsonReader)
Reads an instance of Load |
List<Load |
loadBalancerBackendAddresses()
Get the load |
Json |
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. |
Load |
withDown(Integer down)
Set the down property: Number of backend instances associated to the LB rule that are considered unhealthy. |
Load |
withLoadBalancerBackendAddresses(List<LoadBalancerHealthPerRulePerBackendAddressInner> loadBalancerBackendAddresses)
Set the load |
Load |
withUp(Integer up)
Set the up property: Number of backend instances associated to the LB rule that are considered healthy. |
Methods inherited from java.lang.Object
Constructor Details
LoadBalancerHealthPerRuleInner
public LoadBalancerHealthPerRuleInner()
Creates an instance of LoadBalancerHealthPerRuleInner class.
Method Details
down
public Integer down()
Get the down property: Number of backend instances associated to the LB rule that are considered unhealthy.
Returns:
fromJson
public static LoadBalancerHealthPerRuleInner fromJson(JsonReader jsonReader)
Reads an instance of LoadBalancerHealthPerRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
loadBalancerBackendAddresses
public List
Get the loadBalancerBackendAddresses property: Information about the health per rule of the backend addresses.
Returns:
toJson
up
public Integer up()
Get the up property: Number of backend instances associated to the LB rule that are considered healthy.
Returns:
validate
public void validate()
Validates the instance.
withDown
public LoadBalancerHealthPerRuleInner withDown(Integer down)
Set the down property: Number of backend instances associated to the LB rule that are considered unhealthy.
Parameters:
Returns:
withLoadBalancerBackendAddresses
public LoadBalancerHealthPerRuleInner withLoadBalancerBackendAddresses(List
Set the loadBalancerBackendAddresses property: Information about the health per rule of the backend addresses.
Parameters:
Returns:
withUp
public LoadBalancerHealthPerRuleInner withUp(Integer up)
Set the up property: Number of backend instances associated to the LB rule that are considered healthy.
Parameters:
Returns:
Applies to
Azure SDK for Java