public class InboundNatPool extends ChildResource
| Constructor and Description |
|---|
InboundNatPool()
Initializes a new instance of the InboundNatPool class.
|
InboundNatPool(String protocol,
int frontendPortRangeStart,
int frontendPortRangeEnd)
Initializes a new instance of the InboundNatPool class with required
arguments.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBackendPort()
Optional.
|
ResourceId |
getFrontendIPConfiguration()
Optional.
|
int |
getFrontendPortRangeEnd()
Required.
|
int |
getFrontendPortRangeStart()
Required.
|
String |
getProtocol()
Required.
|
String |
getProvisioningState()
Optional.
|
void |
setBackendPort(int backendPortValue)
Optional.
|
void |
setFrontendIPConfiguration(ResourceId frontendIPConfigurationValue)
Optional.
|
void |
setFrontendPortRangeEnd(int frontendPortRangeEndValue)
Required.
|
void |
setFrontendPortRangeStart(int frontendPortRangeStartValue)
Required.
|
void |
setProtocol(String protocolValue)
Required.
|
void |
setProvisioningState(String provisioningStateValue)
Optional.
|
getEtag, getName, setEtag, setNamegetId, setIdpublic InboundNatPool()
public InboundNatPool(String protocol, int frontendPortRangeStart, int frontendPortRangeEnd)
protocol - Gets or sets the transport potocol for the external
endpoint. Possible values are Udp or TcpfrontendPortRangeStart - Gets or sets the starting port range for
the NAT pool. You can spcify any port number you choose, but the port
numbers specified for each role in the service must be unique. Possible
values range between 1 and 65535, inclusivefrontendPortRangeEnd - Gets or sets the ending port range for the
NAT pool. You can spcify any port number you choose, but the port
numbers specified for each role in the service must be unique. Possible
values range between 1 and 65535, inclusivepublic int getBackendPort()
public void setBackendPort(int backendPortValue)
backendPortValue - The BackendPort value.public ResourceId getFrontendIPConfiguration()
public void setFrontendIPConfiguration(ResourceId frontendIPConfigurationValue)
frontendIPConfigurationValue - The FrontendIPConfiguration value.public int getFrontendPortRangeEnd()
public void setFrontendPortRangeEnd(int frontendPortRangeEndValue)
frontendPortRangeEndValue - The FrontendPortRangeEnd value.public int getFrontendPortRangeStart()
public void setFrontendPortRangeStart(int frontendPortRangeStartValue)
frontendPortRangeStartValue - The FrontendPortRangeStart value.public String getProtocol()
public void setProtocol(String protocolValue)
protocolValue - The Protocol value.public String getProvisioningState()
public void setProvisioningState(String provisioningStateValue)
provisioningStateValue - The ProvisioningState value./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/