public class OutboundNatRule extends ChildResource
| Constructor and Description |
|---|
OutboundNatRule()
Initializes a new instance of the OutboundNatRule class.
|
OutboundNatRule(int allocatedOutboundPorts,
ResourceId backendAddressPool)
Initializes a new instance of the OutboundNatRule class with required
arguments.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAllocatedOutboundPorts()
Required.
|
ResourceId |
getBackendAddressPool()
Required.
|
ArrayList<ResourceId> |
getFrontendIpConfigurations()
Optional.
|
String |
getProvisioningState()
Optional.
|
void |
setAllocatedOutboundPorts(int allocatedOutboundPortsValue)
Required.
|
void |
setBackendAddressPool(ResourceId backendAddressPoolValue)
Required.
|
void |
setFrontendIpConfigurations(ArrayList<ResourceId> frontendIpConfigurationsValue)
Optional.
|
void |
setProvisioningState(String provisioningStateValue)
Optional.
|
getEtag, getName, setEtag, setNamegetId, setIdpublic OutboundNatRule()
public OutboundNatRule(int allocatedOutboundPorts,
ResourceId backendAddressPool)
allocatedOutboundPorts - Gets or sets the number of outbound ports
to be used for SNATbackendAddressPool - Gets or sets a reference to a pool of DIPs.
Outbound traffic is randomly load balanced across IPs in the backend IPspublic int getAllocatedOutboundPorts()
public void setAllocatedOutboundPorts(int allocatedOutboundPortsValue)
allocatedOutboundPortsValue - The AllocatedOutboundPorts value.public ResourceId getBackendAddressPool()
public void setBackendAddressPool(ResourceId backendAddressPoolValue)
backendAddressPoolValue - The BackendAddressPool value.public ArrayList<ResourceId> getFrontendIpConfigurations()
public void setFrontendIpConfigurations(ArrayList<ResourceId> frontendIpConfigurationsValue)
frontendIpConfigurationsValue - The FrontendIpConfigurations 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.
*/