public class InboundNatPool extends Object
| Constructor and Description |
|---|
InboundNatPool() |
| Modifier and Type | Method and Description |
|---|---|
int |
backendPort()
Get this must be unique within a Batch pool.
|
int |
frontendPortRangeEnd()
Get acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service.
|
int |
frontendPortRangeStart()
Get acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved.
|
String |
name()
Get the name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens.
|
List<NetworkSecurityGroupRule> |
networkSecurityGroupRules()
Get the maximum number of rules that can be specified across all the endpoints on a Batch pool is 25.
|
InboundEndpointProtocol |
protocol()
Get possible values include: 'TCP', 'UDP'.
|
InboundNatPool |
withBackendPort(int backendPort)
Set this must be unique within a Batch pool.
|
InboundNatPool |
withFrontendPortRangeEnd(int frontendPortRangeEnd)
Set acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service.
|
InboundNatPool |
withFrontendPortRangeStart(int frontendPortRangeStart)
Set acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved.
|
InboundNatPool |
withName(String name)
Set the name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens.
|
InboundNatPool |
withNetworkSecurityGroupRules(List<NetworkSecurityGroupRule> networkSecurityGroupRules)
Set the maximum number of rules that can be specified across all the endpoints on a Batch pool is 25.
|
InboundNatPool |
withProtocol(InboundEndpointProtocol protocol)
Set possible values include: 'TCP', 'UDP'.
|
public String name()
public InboundNatPool withName(String name)
name - the name value to setpublic InboundEndpointProtocol protocol()
public InboundNatPool withProtocol(InboundEndpointProtocol protocol)
protocol - the protocol value to setpublic int backendPort()
public InboundNatPool withBackendPort(int backendPort)
backendPort - the backendPort value to setpublic int frontendPortRangeStart()
public InboundNatPool withFrontendPortRangeStart(int frontendPortRangeStart)
frontendPortRangeStart - the frontendPortRangeStart value to setpublic int frontendPortRangeEnd()
public InboundNatPool withFrontendPortRangeEnd(int frontendPortRangeEnd)
frontendPortRangeEnd - the frontendPortRangeEnd value to setpublic List<NetworkSecurityGroupRule> networkSecurityGroupRules()
public InboundNatPool withNetworkSecurityGroupRules(List<NetworkSecurityGroupRule> networkSecurityGroupRules)
networkSecurityGroupRules - the networkSecurityGroupRules value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/