Class BackendAddressPoolInner
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner
-
public final class BackendAddressPoolInner extends com.azure.core.management.SubResourcePool of backend IP addresses.
-
-
Constructor Summary
Constructors Constructor Description BackendAddressPoolInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NetworkInterfaceIpConfigurationInner>backendIpConfigurations()Get the backendIpConfigurations property: An array of references to IP addresses defined in network interfaces.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.List<com.azure.core.management.SubResource>inboundNatRules()Get the inboundNatRules property: An array of references to inbound NAT rules that use this backend address pool.List<LoadBalancerBackendAddress>loadBalancerBackendAddresses()Get the loadBalancerBackendAddresses property: An array of backend addresses.List<com.azure.core.management.SubResource>loadBalancingRules()Get the loadBalancingRules property: An array of references to load balancing rules that use this backend address pool.Stringlocation()Get the location property: The location of the backend address pool.Stringname()Get the name property: The name of the resource that is unique within the set of backend address pools used by the load balancer.com.azure.core.management.SubResourceoutboundRule()Get the outboundRule property: A reference to an outbound rule that uses this backend address pool.List<com.azure.core.management.SubResource>outboundRules()Get the outboundRules property: An array of references to outbound rules that use this backend address pool.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the backend address pool resource.List<GatewayLoadBalancerTunnelInterface>tunnelInterfaces()Get the tunnelInterfaces property: An array of gateway load balancer tunnel interfaces.Stringtype()Get the type property: Type of the resource.voidvalidate()Validates the instance.BackendAddressPoolInnerwithId(String id)BackendAddressPoolInnerwithLoadBalancerBackendAddresses(List<LoadBalancerBackendAddress> loadBalancerBackendAddresses)Set the loadBalancerBackendAddresses property: An array of backend addresses.BackendAddressPoolInnerwithLocation(String location)Set the location property: The location of the backend address pool.BackendAddressPoolInnerwithName(String name)Set the name property: The name of the resource that is unique within the set of backend address pools used by the load balancer.BackendAddressPoolInnerwithTunnelInterfaces(List<GatewayLoadBalancerTunnelInterface> tunnelInterfaces)Set the tunnelInterfaces property: An array of gateway load balancer tunnel interfaces.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.- Returns:
- the name value.
-
withName
public BackendAddressPoolInner withName(String name)
Set the name property: The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.- Parameters:
name- the name value to set.- Returns:
- the BackendAddressPoolInner object itself.
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
public String type()
Get the type property: Type of the resource.- Returns:
- the type value.
-
withId
public BackendAddressPoolInner withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
location
public String location()
Get the location property: The location of the backend address pool.- Returns:
- the location value.
-
withLocation
public BackendAddressPoolInner withLocation(String location)
Set the location property: The location of the backend address pool.- Parameters:
location- the location value to set.- Returns:
- the BackendAddressPoolInner object itself.
-
tunnelInterfaces
public List<GatewayLoadBalancerTunnelInterface> tunnelInterfaces()
Get the tunnelInterfaces property: An array of gateway load balancer tunnel interfaces.- Returns:
- the tunnelInterfaces value.
-
withTunnelInterfaces
public BackendAddressPoolInner withTunnelInterfaces(List<GatewayLoadBalancerTunnelInterface> tunnelInterfaces)
Set the tunnelInterfaces property: An array of gateway load balancer tunnel interfaces.- Parameters:
tunnelInterfaces- the tunnelInterfaces value to set.- Returns:
- the BackendAddressPoolInner object itself.
-
loadBalancerBackendAddresses
public List<LoadBalancerBackendAddress> loadBalancerBackendAddresses()
Get the loadBalancerBackendAddresses property: An array of backend addresses.- Returns:
- the loadBalancerBackendAddresses value.
-
withLoadBalancerBackendAddresses
public BackendAddressPoolInner withLoadBalancerBackendAddresses(List<LoadBalancerBackendAddress> loadBalancerBackendAddresses)
Set the loadBalancerBackendAddresses property: An array of backend addresses.- Parameters:
loadBalancerBackendAddresses- the loadBalancerBackendAddresses value to set.- Returns:
- the BackendAddressPoolInner object itself.
-
backendIpConfigurations
public List<NetworkInterfaceIpConfigurationInner> backendIpConfigurations()
Get the backendIpConfigurations property: An array of references to IP addresses defined in network interfaces.- Returns:
- the backendIpConfigurations value.
-
loadBalancingRules
public List<com.azure.core.management.SubResource> loadBalancingRules()
Get the loadBalancingRules property: An array of references to load balancing rules that use this backend address pool.- Returns:
- the loadBalancingRules value.
-
outboundRule
public com.azure.core.management.SubResource outboundRule()
Get the outboundRule property: A reference to an outbound rule that uses this backend address pool.- Returns:
- the outboundRule value.
-
outboundRules
public List<com.azure.core.management.SubResource> outboundRules()
Get the outboundRules property: An array of references to outbound rules that use this backend address pool.- Returns:
- the outboundRules value.
-
inboundNatRules
public List<com.azure.core.management.SubResource> inboundNatRules()
Get the inboundNatRules property: An array of references to inbound NAT rules that use this backend address pool.- Returns:
- the inboundNatRules value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the backend address pool resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-