BackendAddressPoolInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. BackendAddressPoolInner
- com.
- com.
public final class BackendAddressPoolInner
extends SubResource
Pool of backend IP addresses.
Constructor Summary
Constructor | Description |
---|---|
BackendAddressPoolInner() |
Creates an instance of Backend |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Network |
backendIpConfigurations()
Get the backend |
Integer |
drainPeriodInSeconds()
Get the drain |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Backend |
fromJson(JsonReader jsonReader)
Reads an instance of Backend |
List<Sub |
inboundNatRules()
Get the inbound |
List<Load |
loadBalancerBackendAddresses()
Get the load |
List<Sub |
loadBalancingRules()
Get the load |
String |
location()
Get the location property: The location of the backend address pool. |
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. |
Sub |
outboundRule()
Get the outbound |
List<Sub |
outboundRules()
Get the outbound |
Provisioning |
provisioningState()
Get the provisioning |
Sync |
syncMode()
Get the sync |
Json |
toJson(JsonWriter jsonWriter) |
List<Gateway |
tunnelInterfaces()
Get the tunnel |
String |
type()
Get the type property: Type of the resource. |
void |
validate()
Validates the instance. |
Sub |
virtualNetwork()
Get the virtual |
Backend |
withDrainPeriodInSeconds(Integer drainPeriodInSeconds)
Set the drain |
Backend |
withId(String id) |
Backend |
withLoadBalancerBackendAddresses(List<LoadBalancerBackendAddress> loadBalancerBackendAddresses)
Set the load |
Backend |
withLocation(String location)
Set the location property: The location of the backend address pool. |
Backend |
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. |
Backend |
withSyncMode(SyncMode syncMode)
Set the sync |
Backend |
withTunnelInterfaces(List<GatewayLoadBalancerTunnelInterface> tunnelInterfaces)
Set the tunnel |
Backend |
withVirtualNetwork(SubResource virtualNetwork)
Set the virtual |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
BackendAddressPoolInner
public BackendAddressPoolInner()
Creates an instance of BackendAddressPoolInner class.
Method Details
backendIpConfigurations
public List
Get the backendIpConfigurations property: An array of references to IP addresses defined in network interfaces.
Returns:
drainPeriodInSeconds
public Integer drainPeriodInSeconds()
Get the drainPeriodInSeconds property: Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static BackendAddressPoolInner fromJson(JsonReader jsonReader)
Reads an instance of BackendAddressPoolInner from the JsonReader.
Parameters:
Returns:
Throws:
inboundNatRules
public List
Get the inboundNatRules property: An array of references to inbound NAT rules that use this backend address pool.
Returns:
loadBalancerBackendAddresses
public List
Get the loadBalancerBackendAddresses property: An array of backend addresses.
Returns:
loadBalancingRules
public List
Get the loadBalancingRules property: An array of references to load balancing rules that use this backend address pool.
Returns:
location
public String location()
Get the location property: The location of the backend address pool.
Returns:
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:
outboundRule
public SubResource outboundRule()
Get the outboundRule property: A reference to an outbound rule that uses this backend address pool.
Returns:
outboundRules
public List
Get the outboundRules property: An array of references to outbound rules that use this backend address pool.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the backend address pool resource.
Returns:
syncMode
public SyncMode syncMode()
Get the syncMode property: Backend address synchronous mode for the backend pool.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BackendAddressPoolInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
tunnelInterfaces
public List
Get the tunnelInterfaces property: An array of gateway load balancer tunnel interfaces.
Returns:
type
public String type()
Get the type property: Type of the resource.
Returns:
validate
public void validate()
Validates the instance.
virtualNetwork
public SubResource virtualNetwork()
Get the virtualNetwork property: A reference to a virtual network.
Returns:
withDrainPeriodInSeconds
public BackendAddressPoolInner withDrainPeriodInSeconds(Integer drainPeriodInSeconds)
Set the drainPeriodInSeconds property: Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
Parameters:
Returns:
withId
public BackendAddressPoolInner withId(String id)
Overrides:
BackendAddressPoolInner.withId(String id)Parameters:
withLoadBalancerBackendAddresses
public BackendAddressPoolInner withLoadBalancerBackendAddresses(List
Set the loadBalancerBackendAddresses property: An array of backend addresses.
Parameters:
Returns:
withLocation
public BackendAddressPoolInner withLocation(String location)
Set the location property: The location of the backend address pool.
Parameters:
Returns:
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:
Returns:
withSyncMode
public BackendAddressPoolInner withSyncMode(SyncMode syncMode)
Set the syncMode property: Backend address synchronous mode for the backend pool.
Parameters:
Returns:
withTunnelInterfaces
public BackendAddressPoolInner withTunnelInterfaces(List
Set the tunnelInterfaces property: An array of gateway load balancer tunnel interfaces.
Parameters:
Returns:
withVirtualNetwork
public BackendAddressPoolInner withVirtualNetwork(SubResource virtualNetwork)
Set the virtualNetwork property: A reference to a virtual network.
Parameters:
Returns:
Applies to
Azure SDK for Java