LoadBalancerBackendAddress Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. LoadBalancerBackendAddress
- com.
Implements
public final class LoadBalancerBackendAddress
implements JsonSerializable<LoadBalancerBackendAddress>
Load balancer backend addresses.
Constructor Summary
Constructor | Description |
---|---|
LoadBalancerBackendAddress() |
Creates an instance of Load |
Method Summary
Modifier and Type | Method and Description |
---|---|
Load |
adminState()
Get the admin |
static
Load |
fromJson(JsonReader jsonReader)
Reads an instance of Load |
List<Nat |
inboundNatRulesPortMapping()
Get the inbound |
String |
ipAddress()
Get the ip |
Sub |
loadBalancerFrontendIpConfiguration()
Get the load |
String |
name()
Get the name property: Name of the backend address. |
Sub |
networkInterfaceIpConfiguration()
Get the network |
Sub |
subnet()
Get the subnet property: Reference to an existing subnet. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Sub |
virtualNetwork()
Get the virtual |
Load |
withAdminState(LoadBalancerBackendAddressAdminState adminState)
Set the admin |
Load |
withIpAddress(String ipAddress)
Set the ip |
Load |
withLoadBalancerFrontendIpConfiguration(SubResource loadBalancerFrontendIpConfiguration)
Set the load |
Load |
withName(String name)
Set the name property: Name of the backend address. |
Load |
withSubnet(SubResource subnet)
Set the subnet property: Reference to an existing subnet. |
Load |
withVirtualNetwork(SubResource virtualNetwork)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
LoadBalancerBackendAddress
public LoadBalancerBackendAddress()
Creates an instance of LoadBalancerBackendAddress 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:
fromJson
public static LoadBalancerBackendAddress fromJson(JsonReader jsonReader)
Reads an instance of LoadBalancerBackendAddress from the JsonReader.
Parameters:
Returns:
Throws:
inboundNatRulesPortMapping
public List
Get the inboundNatRulesPortMapping property: Collection of inbound NAT rule port mappings.
Returns:
ipAddress
public String ipAddress()
Get the ipAddress property: IP Address belonging to the referenced virtual network.
Returns:
loadBalancerFrontendIpConfiguration
public SubResource loadBalancerFrontendIpConfiguration()
Get the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.
Returns:
name
public String name()
Get the name property: Name of the backend address.
Returns:
networkInterfaceIpConfiguration
public SubResource networkInterfaceIpConfiguration()
Get the networkInterfaceIpConfiguration property: Reference to IP address defined in network interfaces.
Returns:
subnet
public SubResource subnet()
Get the subnet property: Reference to an existing subnet.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualNetwork
public SubResource virtualNetwork()
Get the virtualNetwork property: Reference to an existing virtual network.
Returns:
withAdminState
public LoadBalancerBackendAddress 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:
Returns:
withIpAddress
public LoadBalancerBackendAddress withIpAddress(String ipAddress)
Set the ipAddress property: IP Address belonging to the referenced virtual network.
Parameters:
Returns:
withLoadBalancerFrontendIpConfiguration
public LoadBalancerBackendAddress withLoadBalancerFrontendIpConfiguration(SubResource loadBalancerFrontendIpConfiguration)
Set the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.
Parameters:
Returns:
withName
public LoadBalancerBackendAddress withName(String name)
Set the name property: Name of the backend address.
Parameters:
Returns:
withSubnet
public LoadBalancerBackendAddress withSubnet(SubResource subnet)
Set the subnet property: Reference to an existing subnet.
Parameters:
Returns:
withVirtualNetwork
public LoadBalancerBackendAddress withVirtualNetwork(SubResource virtualNetwork)
Set the virtualNetwork property: Reference to an existing virtual network.
Parameters:
Returns:
Applies to
Azure SDK for Java