Class LoadBalancerBackendAddressPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.LoadBalancerBackendAddressPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<LoadBalancerBackendAddressPropertiesFormat>
public final class LoadBalancerBackendAddressPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<LoadBalancerBackendAddressPropertiesFormat>
Properties of the load balancer backend addresses.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LoadBalancerBackendAddressPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet 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.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of LoadBalancerBackendAddressPropertiesFormat from the JsonReader.Get the inboundNatRulesPortMapping property: Collection of inbound NAT rule port mappings.Get the ipAddress property: IP Address belonging to the referenced virtual network.com.azure.core.management.SubResourceGet the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.com.azure.core.management.SubResourceGet the networkInterfaceIpConfiguration property: Reference to IP address defined in network interfaces.com.azure.core.management.SubResourcesubnet()Get the subnet property: Reference to an existing subnet.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.com.azure.core.management.SubResourceGet the virtualNetwork property: Reference to an existing virtual network.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.withIpAddress(String ipAddress) Set the ipAddress property: IP Address belonging to the referenced virtual network.withLoadBalancerFrontendIpConfiguration(com.azure.core.management.SubResource loadBalancerFrontendIpConfiguration) Set the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.withSubnet(com.azure.core.management.SubResource subnet) Set the subnet property: Reference to an existing subnet.withVirtualNetwork(com.azure.core.management.SubResource virtualNetwork) Set the virtualNetwork property: Reference to an existing virtual network.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
LoadBalancerBackendAddressPropertiesFormat
public LoadBalancerBackendAddressPropertiesFormat()Creates an instance of LoadBalancerBackendAddressPropertiesFormat class.
-
-
Method Details
-
virtualNetwork
public com.azure.core.management.SubResource virtualNetwork()Get the virtualNetwork property: Reference to an existing virtual network.- Returns:
- the virtualNetwork value.
-
withVirtualNetwork
public LoadBalancerBackendAddressPropertiesFormat withVirtualNetwork(com.azure.core.management.SubResource virtualNetwork) Set the virtualNetwork property: Reference to an existing virtual network.- Parameters:
virtualNetwork- the virtualNetwork value to set.- Returns:
- the LoadBalancerBackendAddressPropertiesFormat object itself.
-
subnet
public com.azure.core.management.SubResource subnet()Get the subnet property: Reference to an existing subnet.- Returns:
- the subnet value.
-
withSubnet
public LoadBalancerBackendAddressPropertiesFormat withSubnet(com.azure.core.management.SubResource subnet) Set the subnet property: Reference to an existing subnet.- Parameters:
subnet- the subnet value to set.- Returns:
- the LoadBalancerBackendAddressPropertiesFormat object itself.
-
ipAddress
Get the ipAddress property: IP Address belonging to the referenced virtual network.- Returns:
- the ipAddress value.
-
withIpAddress
Set the ipAddress property: IP Address belonging to the referenced virtual network.- Parameters:
ipAddress- the ipAddress value to set.- Returns:
- the LoadBalancerBackendAddressPropertiesFormat object itself.
-
networkInterfaceIpConfiguration
public com.azure.core.management.SubResource networkInterfaceIpConfiguration()Get the networkInterfaceIpConfiguration property: Reference to IP address defined in network interfaces.- Returns:
- the networkInterfaceIpConfiguration value.
-
loadBalancerFrontendIpConfiguration
public com.azure.core.management.SubResource loadBalancerFrontendIpConfiguration()Get the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.- Returns:
- the loadBalancerFrontendIpConfiguration value.
-
withLoadBalancerFrontendIpConfiguration
public LoadBalancerBackendAddressPropertiesFormat withLoadBalancerFrontendIpConfiguration(com.azure.core.management.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.
-
inboundNatRulesPortMapping
Get the inboundNatRulesPortMapping property: Collection of inbound NAT rule port mappings.- Returns:
- the inboundNatRulesPortMapping value.
-
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.
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<LoadBalancerBackendAddressPropertiesFormat>- Throws:
IOException
-
fromJson
public static LoadBalancerBackendAddressPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-