InboundNatPool Class

  • java.lang.Object
    • com.microsoft.azure.SubResource
      • com.microsoft.azure.management.network.InboundNatPool

public class InboundNatPool
extends com.microsoft.azure.SubResource

Inbound NAT pool of the load balancer.

Constructor Summary

Constructor Description
InboundNatPool()

Method Summary

Modifier and Type Method and Description
int backendPort()

Get the port used for internal connections on the endpoint.

java.lang.Boolean enableFloatingIP()

Get configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group.

java.lang.Boolean enableTcpReset()

Get receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination.

java.lang.String etag()

Get a unique read-only string that changes whenever the resource is updated.

com.microsoft.azure.SubResource frontendIPConfiguration()

Get a reference to frontend IP addresses.

int frontendPortRangeEnd()

Get the last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer.

int frontendPortRangeStart()

Get the first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer.

java.lang.Integer idleTimeoutInMinutes()

Get the timeout for the TCP idle connection.

java.lang.String name()

Get the name of the resource that is unique within the set of inbound NAT pools used by the load balancer.

TransportProtocol protocol()

Get the reference to the transport protocol used by the inbound NAT pool.

ProvisioningState provisioningState()

Get the provisioning state of the inbound NAT pool resource.

java.lang.String type()

Get type of the resource.

InboundNatPool withBackendPort(int backendPort)

Set the port used for internal connections on the endpoint.

InboundNatPool withEnableFloatingIP(Boolean enableFloatingIP)

Set configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group.

InboundNatPool withEnableTcpReset(Boolean enableTcpReset)

Set receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination.

InboundNatPool withFrontendIPConfiguration(SubResource frontendIPConfiguration)

Set a reference to frontend IP addresses.

InboundNatPool withFrontendPortRangeEnd(int frontendPortRangeEnd)

Set the last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer.

InboundNatPool withFrontendPortRangeStart(int frontendPortRangeStart)

Set the first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer.

InboundNatPool withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)

Set the timeout for the TCP idle connection.

InboundNatPool withName(String name)

Set the name of the resource that is unique within the set of inbound NAT pools used by the load balancer.

InboundNatPool withProtocol(TransportProtocol protocol)

Set the reference to the transport protocol used by the inbound NAT pool.

Methods inherited from com.microsoft.azure.SubResource

com.microsoft.azure.SubResource.id com.microsoft.azure.SubResource.withId

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

InboundNatPool

public InboundNatPool()

Method Details

backendPort

public int backendPort()

Get the port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.

Returns:

the backendPort value

enableFloatingIP

public Boolean enableFloatingIP()

Get configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.

Returns:

the enableFloatingIP value

enableTcpReset

public Boolean enableTcpReset()

Get receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.

Returns:

the enableTcpReset value

etag

public String etag()

Get a unique read-only string that changes whenever the resource is updated.

Returns:

the etag value

frontendIPConfiguration

public SubResource frontendIPConfiguration()

Get a reference to frontend IP addresses.

Returns:

the frontendIPConfiguration value

frontendPortRangeEnd

public int frontendPortRangeEnd()

Get the last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.

Returns:

the frontendPortRangeEnd value

frontendPortRangeStart

public int frontendPortRangeStart()

Get the first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.

Returns:

the frontendPortRangeStart value

idleTimeoutInMinutes

public Integer idleTimeoutInMinutes()

Get the timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.

Returns:

the idleTimeoutInMinutes value

name

public String name()

Get the name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.

Returns:

the name value

protocol

public TransportProtocol protocol()

Get the reference to the transport protocol used by the inbound NAT pool. Possible values include: 'Udp', 'Tcp', 'All'.

Returns:

the protocol value

provisioningState

public ProvisioningState provisioningState()

Get the provisioning state of the inbound NAT pool resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.

Returns:

the provisioningState value

type

public String type()

Get type of the resource.

Returns:

the type value

withBackendPort

public InboundNatPool withBackendPort(int backendPort)

Set the port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.

Parameters:

backendPort - the backendPort value to set

Returns:

the InboundNatPool object itself.

withEnableFloatingIP

public InboundNatPool withEnableFloatingIP(Boolean enableFloatingIP)

Set configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.

Parameters:

enableFloatingIP - the enableFloatingIP value to set

Returns:

the InboundNatPool object itself.

withEnableTcpReset

public InboundNatPool withEnableTcpReset(Boolean enableTcpReset)

Set receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.

Parameters:

enableTcpReset - the enableTcpReset value to set

Returns:

the InboundNatPool object itself.

withFrontendIPConfiguration

public InboundNatPool withFrontendIPConfiguration(SubResource frontendIPConfiguration)

Set a reference to frontend IP addresses.

Parameters:

frontendIPConfiguration - the frontendIPConfiguration value to set

Returns:

the InboundNatPool object itself.

withFrontendPortRangeEnd

public InboundNatPool withFrontendPortRangeEnd(int frontendPortRangeEnd)

Set the last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.

Parameters:

frontendPortRangeEnd - the frontendPortRangeEnd value to set

Returns:

the InboundNatPool object itself.

withFrontendPortRangeStart

public InboundNatPool withFrontendPortRangeStart(int frontendPortRangeStart)

Set the first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.

Parameters:

frontendPortRangeStart - the frontendPortRangeStart value to set

Returns:

the InboundNatPool object itself.

withIdleTimeoutInMinutes

public InboundNatPool withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)

Set the timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.

Parameters:

idleTimeoutInMinutes - the idleTimeoutInMinutes value to set

Returns:

the InboundNatPool object itself.

withName

public InboundNatPool withName(String name)

Set the name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.

Parameters:

name - the name value to set

Returns:

the InboundNatPool object itself.

withProtocol

public InboundNatPool withProtocol(TransportProtocol protocol)

Set the reference to the transport protocol used by the inbound NAT pool. Possible values include: 'Udp', 'Tcp', 'All'.

Parameters:

protocol - the protocol value to set

Returns:

the InboundNatPool object itself.

Applies to