LoadBalancerHealthPerRulePerBackendAddressInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. LoadBalancerHealthPerRulePerBackendAddressInner
- com.
Implements
public final class LoadBalancerHealthPerRulePerBackendAddressInner
implements JsonSerializable<LoadBalancerHealthPerRulePerBackendAddressInner>
The information about health per rule per backend address.
Constructor Summary
Constructor | Description |
---|---|
LoadBalancerHealthPerRulePerBackendAddressInner() |
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 |
Network |
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(NetworkInterfaceIpConfigurationInner 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
LoadBalancerHealthPerRulePerBackendAddressInner
public LoadBalancerHealthPerRulePerBackendAddressInner()
Creates an instance of LoadBalancerHealthPerRulePerBackendAddressInner class.
Method Details
fromJson
public static LoadBalancerHealthPerRulePerBackendAddressInner fromJson(JsonReader jsonReader)
Reads an instance of LoadBalancerHealthPerRulePerBackendAddressInner 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 NetworkInterfaceIpConfigurationInner networkInterfaceIpConfigurationId()
Get the networkInterfaceIpConfigurationId property: The id of the network interface ip configuration belonging to the backend address.
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 LoadBalancerHealthPerRulePerBackendAddressInner withIpAddress(String ipAddress)
Set the ipAddress property: The IP address belonging to the backend address.
Parameters:
Returns:
withNetworkInterfaceIpConfigurationId
public LoadBalancerHealthPerRulePerBackendAddressInner withNetworkInterfaceIpConfigurationId(NetworkInterfaceIpConfigurationInner networkInterfaceIpConfigurationId)
Set the networkInterfaceIpConfigurationId property: The id of the network interface ip configuration belonging to the backend address.
Parameters:
Returns:
withReason
public LoadBalancerHealthPerRulePerBackendAddressInner withReason(String reason)
Set the reason property: The explanation of the State.
Parameters:
Returns:
withState
public LoadBalancerHealthPerRulePerBackendAddressInner withState(String state)
Set the state property: The current health of the backend instances that is associated to the LB rule.
Parameters:
Returns:
Applies to
Azure SDK for Java