LoadBalancerBackendAddressPropertiesFormat Class

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

Implements

public final class LoadBalancerBackendAddressPropertiesFormat
implements JsonSerializable<LoadBalancerBackendAddressPropertiesFormat>

Properties of the load balancer backend addresses.

Constructor Summary

Constructor Description
LoadBalancerBackendAddressPropertiesFormat()

Creates an instance of LoadBalancerBackendAddressPropertiesFormat class.

Method Summary

Modifier and Type Method and Description
LoadBalancerBackendAddressAdminState adminState()

Get the adminState property: A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.

static LoadBalancerBackendAddressPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of LoadBalancerBackendAddressPropertiesFormat from the JsonReader.

List<NatRulePortMapping> inboundNatRulesPortMapping()

Get the inboundNatRulesPortMapping property: Collection of inbound NAT rule port mappings.

String ipAddress()

Get the ipAddress property: IP Address belonging to the referenced virtual network.

SubResource loadBalancerFrontendIpConfiguration()

Get the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.

SubResource networkInterfaceIpConfiguration()

Get the networkInterfaceIpConfiguration property: Reference to IP address defined in network interfaces.

SubResource subnet()

Get the subnet property: Reference to an existing subnet.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SubResource virtualNetwork()

Get the virtualNetwork property: Reference to an existing virtual network.

LoadBalancerBackendAddressPropertiesFormat withAdminState(LoadBalancerBackendAddressAdminState adminState)

Set the adminState property: A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.

LoadBalancerBackendAddressPropertiesFormat withIpAddress(String ipAddress)

Set the ipAddress property: IP Address belonging to the referenced virtual network.

LoadBalancerBackendAddressPropertiesFormat withLoadBalancerFrontendIpConfiguration(SubResource loadBalancerFrontendIpConfiguration)

Set the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.

LoadBalancerBackendAddressPropertiesFormat withSubnet(SubResource subnet)

Set the subnet property: Reference to an existing subnet.

LoadBalancerBackendAddressPropertiesFormat withVirtualNetwork(SubResource virtualNetwork)

Set the virtualNetwork property: Reference to an existing virtual network.

Methods inherited from java.lang.Object

Constructor Details

LoadBalancerBackendAddressPropertiesFormat

public LoadBalancerBackendAddressPropertiesFormat()

Creates an instance of LoadBalancerBackendAddressPropertiesFormat class.

Method Details

adminState

public LoadBalancerBackendAddressAdminState adminState()

Get the adminState property: A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.

Returns:

the adminState value.

fromJson

public static LoadBalancerBackendAddressPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of LoadBalancerBackendAddressPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

inboundNatRulesPortMapping

public List<NatRulePortMapping> inboundNatRulesPortMapping()

Get the inboundNatRulesPortMapping property: Collection of inbound NAT rule port mappings.

Returns:

the inboundNatRulesPortMapping value.

ipAddress

public String ipAddress()

Get the ipAddress property: IP Address belonging to the referenced virtual network.

Returns:

the ipAddress value.

loadBalancerFrontendIpConfiguration

public SubResource loadBalancerFrontendIpConfiguration()

Get the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.

Returns:

the loadBalancerFrontendIpConfiguration value.

networkInterfaceIpConfiguration

public SubResource networkInterfaceIpConfiguration()

Get the networkInterfaceIpConfiguration property: Reference to IP address defined in network interfaces.

Returns:

the networkInterfaceIpConfiguration value.

subnet

public SubResource subnet()

Get the subnet property: Reference to an existing subnet.

Returns:

the subnet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualNetwork

public SubResource virtualNetwork()

Get the virtualNetwork property: Reference to an existing virtual network.

Returns:

the virtualNetwork value.

withAdminState

public LoadBalancerBackendAddressPropertiesFormat withAdminState(LoadBalancerBackendAddressAdminState adminState)

Set the adminState property: A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.

Parameters:

adminState - the adminState value to set.

Returns:

the LoadBalancerBackendAddressPropertiesFormat object itself.

withIpAddress

public LoadBalancerBackendAddressPropertiesFormat withIpAddress(String ipAddress)

Set the ipAddress property: IP Address belonging to the referenced virtual network.

Parameters:

ipAddress - the ipAddress value to set.

Returns:

the LoadBalancerBackendAddressPropertiesFormat object itself.

withLoadBalancerFrontendIpConfiguration

public LoadBalancerBackendAddressPropertiesFormat withLoadBalancerFrontendIpConfiguration(SubResource loadBalancerFrontendIpConfiguration)

Set the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.

Parameters:

loadBalancerFrontendIpConfiguration - the loadBalancerFrontendIpConfiguration value to set.

Returns:

the LoadBalancerBackendAddressPropertiesFormat object itself.

withSubnet

public LoadBalancerBackendAddressPropertiesFormat withSubnet(SubResource subnet)

Set the subnet property: Reference to an existing subnet.

Parameters:

subnet - the subnet value to set.

Returns:

the LoadBalancerBackendAddressPropertiesFormat object itself.

withVirtualNetwork

public LoadBalancerBackendAddressPropertiesFormat withVirtualNetwork(SubResource virtualNetwork)

Set the virtualNetwork property: Reference to an existing virtual network.

Parameters:

virtualNetwork - the virtualNetwork value to set.

Returns:

the LoadBalancerBackendAddressPropertiesFormat object itself.

Applies to