LoadBalancerHealthPerRulePerBackendAddress Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. LoadBalancerHealthPerRulePerBackendAddress
- com.
Implements
public final class LoadBalancerHealthPerRulePerBackendAddress
implements JsonSerializable<LoadBalancerHealthPerRulePerBackendAddress>
The information about health per rule per backend address.
Constructor Summary
| Constructor | Description |
|---|---|
| LoadBalancerHealthPerRulePerBackendAddress() |
Creates an instance of Load |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Load |
fromJson(JsonReader jsonReader)
Reads an instance of Load |
| String |
ipAddress()
Get the ip |
| String |
networkInterfaceIpConfigurationId()
Get the network |
| 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. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Load |
withIpAddress(String ipAddress)
Set the ip |
|
Load |
withNetworkInterfaceIpConfigurationId(String networkInterfaceIpConfigurationId)
Set the network |
|
Load |
withReason(String reason)
Set the reason property: The explanation of the State. |
|
Load |
withState(String state)
Set the state property: The current health of the backend instances that is associated to the LB rule. |
Methods inherited from java.lang.Object
Constructor Details
LoadBalancerHealthPerRulePerBackendAddress
public LoadBalancerHealthPerRulePerBackendAddress()
Creates an instance of LoadBalancerHealthPerRulePerBackendAddress class.
Method Details
fromJson
public static LoadBalancerHealthPerRulePerBackendAddress fromJson(JsonReader jsonReader)
Reads an instance of LoadBalancerHealthPerRulePerBackendAddress from the JsonReader.
Parameters:
Returns:
Throws:
ipAddress
public String ipAddress()
Get the ipAddress property: The IP address belonging to the backend address.
Returns:
networkInterfaceIpConfigurationId
public String networkInterfaceIpConfigurationId()
Get the networkInterfaceIpConfigurationId property: Resource ID of the Network Interface IP Configuration.
Returns:
reason
public String reason()
Get the reason property: The explanation of the State.
Returns:
state
public String state()
Get the state property: The current health of the backend instances that is associated to the LB rule.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIpAddress
public LoadBalancerHealthPerRulePerBackendAddress withIpAddress(String ipAddress)
Set the ipAddress property: The IP address belonging to the backend address.
Parameters:
Returns:
withNetworkInterfaceIpConfigurationId
public LoadBalancerHealthPerRulePerBackendAddress withNetworkInterfaceIpConfigurationId(String networkInterfaceIpConfigurationId)
Set the networkInterfaceIpConfigurationId property: Resource ID of the Network Interface IP Configuration.
Parameters:
Returns:
withReason
public LoadBalancerHealthPerRulePerBackendAddress withReason(String reason)
Set the reason property: The explanation of the State.
Parameters:
Returns:
withState
public LoadBalancerHealthPerRulePerBackendAddress withState(String state)
Set the state property: The current health of the backend instances that is associated to the LB rule.
Parameters:
Returns: