Class InboundNatPool
- java.lang.Object
-
- com.microsoft.azure.management.batch.InboundNatPool
-
public class InboundNatPool extends Object
A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally.
-
-
Constructor Summary
Constructors Constructor Description InboundNatPool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbackendPort()Get the backendPort value.intfrontendPortRangeEnd()Get the frontendPortRangeEnd value.intfrontendPortRangeStart()Get the frontendPortRangeStart value.Stringname()Get the name value.List<NetworkSecurityGroupRule>networkSecurityGroupRules()Get the networkSecurityGroupRules value.InboundEndpointProtocolprotocol()Get the protocol value.InboundNatPoolwithBackendPort(int backendPort)Set the backendPort value.InboundNatPoolwithFrontendPortRangeEnd(int frontendPortRangeEnd)Set the frontendPortRangeEnd value.InboundNatPoolwithFrontendPortRangeStart(int frontendPortRangeStart)Set the frontendPortRangeStart value.InboundNatPoolwithName(String name)Set the name value.InboundNatPoolwithNetworkSecurityGroupRules(List<NetworkSecurityGroupRule> networkSecurityGroupRules)Set the networkSecurityGroupRules value.InboundNatPoolwithProtocol(InboundEndpointProtocol protocol)Set the protocol value.
-
-
-
Method Detail
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public InboundNatPool withName(String name)
Set the name value.- Parameters:
name- the name value to set- Returns:
- the InboundNatPool object itself.
-
protocol
public InboundEndpointProtocol protocol()
Get the protocol value.- Returns:
- the protocol value
-
withProtocol
public InboundNatPool withProtocol(InboundEndpointProtocol protocol)
Set the protocol value.- Parameters:
protocol- the protocol value to set- Returns:
- the InboundNatPool object itself.
-
backendPort
public int backendPort()
Get the backendPort value.- Returns:
- the backendPort value
-
withBackendPort
public InboundNatPool withBackendPort(int backendPort)
Set the backendPort value.- Parameters:
backendPort- the backendPort value to set- Returns:
- the InboundNatPool object itself.
-
frontendPortRangeStart
public int frontendPortRangeStart()
Get the frontendPortRangeStart value.- Returns:
- the frontendPortRangeStart value
-
withFrontendPortRangeStart
public InboundNatPool withFrontendPortRangeStart(int frontendPortRangeStart)
Set the frontendPortRangeStart value.- Parameters:
frontendPortRangeStart- the frontendPortRangeStart value to set- Returns:
- the InboundNatPool object itself.
-
frontendPortRangeEnd
public int frontendPortRangeEnd()
Get the frontendPortRangeEnd value.- Returns:
- the frontendPortRangeEnd value
-
withFrontendPortRangeEnd
public InboundNatPool withFrontendPortRangeEnd(int frontendPortRangeEnd)
Set the frontendPortRangeEnd value.- Parameters:
frontendPortRangeEnd- the frontendPortRangeEnd value to set- Returns:
- the InboundNatPool object itself.
-
networkSecurityGroupRules
public List<NetworkSecurityGroupRule> networkSecurityGroupRules()
Get the networkSecurityGroupRules value.- Returns:
- the networkSecurityGroupRules value
-
withNetworkSecurityGroupRules
public InboundNatPool withNetworkSecurityGroupRules(List<NetworkSecurityGroupRule> networkSecurityGroupRules)
Set the networkSecurityGroupRules value.- Parameters:
networkSecurityGroupRules- the networkSecurityGroupRules value to set- Returns:
- the InboundNatPool object itself.
-
-