다음을 통해 공유


BackendAddressPoolInner Class

public final class BackendAddressPoolInner
extends SubResource

Pool of backend IP addresses.

Constructor Summary

Constructor Description
BackendAddressPoolInner()

Creates an instance of BackendAddressPoolInner class.

Method Summary

Modifier and Type Method and Description
List<NetworkInterfaceIpConfigurationInner> backendIpConfigurations()

Get the backendIpConfigurations property: An array of references to IP addresses defined in network interfaces.

Integer drainPeriodInSeconds()

Get the drainPeriodInSeconds property: Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static BackendAddressPoolInner fromJson(JsonReader jsonReader)

Reads an instance of BackendAddressPoolInner from the JsonReader.

List<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<SubResource> loadBalancingRules()

Get the loadBalancingRules property: An array of references to load balancing rules that use this backend address pool.

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.

SubResource outboundRule()

Get the outboundRule property: A reference to an outbound rule that uses this backend address pool.

List<SubResource> outboundRules()

Get the outboundRules property: An array of references to outbound rules that use this backend address pool.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the backend address pool resource.

SyncMode syncMode()

Get the syncMode property: Backend address synchronous mode for the backend pool.

JsonWriter toJson(JsonWriter jsonWriter)
List<GatewayLoadBalancerTunnelInterface> tunnelInterfaces()

Get the tunnelInterfaces property: An array of gateway load balancer tunnel interfaces.

String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

SubResource virtualNetwork()

Get the virtualNetwork property: A reference to a virtual network.

BackendAddressPoolInner withDrainPeriodInSeconds(Integer drainPeriodInSeconds)

Set the drainPeriodInSeconds property: Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

BackendAddressPoolInner withId(String id)
BackendAddressPoolInner withLoadBalancerBackendAddresses(List<LoadBalancerBackendAddress> loadBalancerBackendAddresses)

Set the loadBalancerBackendAddresses property: An array of backend addresses.

BackendAddressPoolInner withLocation(String location)

Set the location property: The location of the backend address pool.

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.

BackendAddressPoolInner withSyncMode(SyncMode syncMode)

Set the syncMode property: Backend address synchronous mode for the backend pool.

BackendAddressPoolInner withTunnelInterfaces(List<GatewayLoadBalancerTunnelInterface> tunnelInterfaces)

Set the tunnelInterfaces property: An array of gateway load balancer tunnel interfaces.

BackendAddressPoolInner withVirtualNetwork(SubResource virtualNetwork)

Set the virtualNetwork property: A reference to a virtual network.

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 backendIpConfigurations()

Get the backendIpConfigurations property: An array of references to IP addresses defined in network interfaces.

Returns:

the backendIpConfigurations value.

drainPeriodInSeconds

public Integer drainPeriodInSeconds()

Get the drainPeriodInSeconds property: Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

Returns:

the drainPeriodInSeconds value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static BackendAddressPoolInner fromJson(JsonReader jsonReader)

Reads an instance of BackendAddressPoolInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

inboundNatRules

public List inboundNatRules()

Get the inboundNatRules property: An array of references to inbound NAT rules that use this backend address pool.

Returns:

the inboundNatRules value.

loadBalancerBackendAddresses

public List loadBalancerBackendAddresses()

Get the loadBalancerBackendAddresses property: An array of backend addresses.

Returns:

the loadBalancerBackendAddresses value.

loadBalancingRules

public List loadBalancingRules()

Get the loadBalancingRules property: An array of references to load balancing rules that use this backend address pool.

Returns:

the loadBalancingRules value.

location

public String location()

Get the location property: The location of the backend address pool.

Returns:

the location value.

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.

outboundRule

public 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 outboundRules()

Get the outboundRules property: An array of references to outbound rules that use this backend address pool.

Returns:

the outboundRules value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the backend address pool resource.

Returns:

the provisioningState value.

syncMode

public SyncMode syncMode()

Get the syncMode property: Backend address synchronous mode for the backend pool.

Returns:

the syncMode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BackendAddressPoolInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

tunnelInterfaces

public List tunnelInterfaces()

Get the tunnelInterfaces property: An array of gateway load balancer tunnel interfaces.

Returns:

the tunnelInterfaces value.

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

virtualNetwork

public SubResource virtualNetwork()

Get the virtualNetwork property: A reference to a virtual network.

Returns:

the virtualNetwork value.

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:

drainPeriodInSeconds - the drainPeriodInSeconds value to set.

Returns:

the BackendAddressPoolInner object itself.

withId

public BackendAddressPoolInner withId(String id)

Overrides:

BackendAddressPoolInner.withId(String id)

Parameters:

id

withLoadBalancerBackendAddresses

public BackendAddressPoolInner withLoadBalancerBackendAddresses(List loadBalancerBackendAddresses)

Set the loadBalancerBackendAddresses property: An array of backend addresses.

Parameters:

loadBalancerBackendAddresses - the loadBalancerBackendAddresses value to set.

Returns:

the BackendAddressPoolInner object itself.

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.

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.

withSyncMode

public BackendAddressPoolInner withSyncMode(SyncMode syncMode)

Set the syncMode property: Backend address synchronous mode for the backend pool.

Parameters:

syncMode - the syncMode value to set.

Returns:

the BackendAddressPoolInner object itself.

withTunnelInterfaces

public BackendAddressPoolInner withTunnelInterfaces(List 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.

withVirtualNetwork

public BackendAddressPoolInner withVirtualNetwork(SubResource virtualNetwork)

Set the virtualNetwork property: A reference to a virtual network.

Parameters:

virtualNetwork - the virtualNetwork value to set.

Returns:

the BackendAddressPoolInner object itself.

Applies to