Partager via


LoadBalancerHealthPerRulePerBackendAddressInner Class

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

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 LoadBalancerHealthPerRulePerBackendAddressInner class.

Method Summary

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

Reads an instance of LoadBalancerHealthPerRulePerBackendAddressInner from the JsonReader.

String ipAddress()

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

NetworkInterfaceIpConfigurationInner networkInterfaceIpConfigurationId()

Get the networkInterfaceIpConfigurationId property: The id of the network interface ip configuration belonging to the backend address.

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.

LoadBalancerHealthPerRulePerBackendAddressInner withIpAddress(String ipAddress)

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

LoadBalancerHealthPerRulePerBackendAddressInner withNetworkInterfaceIpConfigurationId(NetworkInterfaceIpConfigurationInner networkInterfaceIpConfigurationId)

Set the networkInterfaceIpConfigurationId property: The id of the network interface ip configuration belonging to the backend address.

LoadBalancerHealthPerRulePerBackendAddressInner withReason(String reason)

Set the reason property: The explanation of the State.

LoadBalancerHealthPerRulePerBackendAddressInner 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:

jsonReader - The JsonReader being read.

Returns:

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

ipAddress

public String ipAddress()

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

Returns:

the ipAddress value.

networkInterfaceIpConfigurationId

public NetworkInterfaceIpConfigurationInner networkInterfaceIpConfigurationId()

Get the networkInterfaceIpConfigurationId property: The id of the network interface ip configuration belonging to the backend address.

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.

withIpAddress

public LoadBalancerHealthPerRulePerBackendAddressInner withIpAddress(String ipAddress)

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

Parameters:

ipAddress - the ipAddress value to set.

Returns:

the LoadBalancerHealthPerRulePerBackendAddressInner object itself.

withNetworkInterfaceIpConfigurationId

public LoadBalancerHealthPerRulePerBackendAddressInner withNetworkInterfaceIpConfigurationId(NetworkInterfaceIpConfigurationInner networkInterfaceIpConfigurationId)

Set the networkInterfaceIpConfigurationId property: The id of the network interface ip configuration belonging to the backend address.

Parameters:

networkInterfaceIpConfigurationId - the networkInterfaceIpConfigurationId value to set.

Returns:

the LoadBalancerHealthPerRulePerBackendAddressInner object itself.

withReason

public LoadBalancerHealthPerRulePerBackendAddressInner withReason(String reason)

Set the reason property: The explanation of the State.

Parameters:

reason - the reason value to set.

Returns:

the LoadBalancerHealthPerRulePerBackendAddressInner object itself.

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:

state - the state value to set.

Returns:

the LoadBalancerHealthPerRulePerBackendAddressInner object itself.

Applies to