OutboundRulePropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. OutboundRulePropertiesFormat
- com.
Implements
public final class OutboundRulePropertiesFormat
implements JsonSerializable<OutboundRulePropertiesFormat>
Outbound rule of the load balancer.
Constructor Summary
| Constructor | Description |
|---|---|
| OutboundRulePropertiesFormat() |
Creates an instance of Outbound |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
allocatedOutboundPorts()
Get the allocated |
|
Sub |
backendAddressPool()
Get the backend |
| Boolean |
enableTcpReset()
Get the enable |
|
static
Outbound |
fromJson(JsonReader jsonReader)
Reads an instance of Outbound |
|
List<Sub |
frontendIpConfigurations()
Get the frontend |
| Integer |
idleTimeoutInMinutes()
Get the idle |
|
Load |
protocol()
Get the protocol property: The protocol for the outbound rule in load balancer. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Outbound |
withAllocatedOutboundPorts(Integer allocatedOutboundPorts)
Set the allocated |
|
Outbound |
withBackendAddressPool(SubResource backendAddressPool)
Set the backend |
|
Outbound |
withEnableTcpReset(Boolean enableTcpReset)
Set the enable |
|
Outbound |
withFrontendIpConfigurations(List<SubResource> frontendIpConfigurations)
Set the frontend |
|
Outbound |
withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idle |
|
Outbound |
withProtocol(LoadBalancerOutboundRuleProtocol protocol)
Set the protocol property: The protocol for the outbound rule in load balancer. |
Methods inherited from java.lang.Object
Constructor Details
OutboundRulePropertiesFormat
public OutboundRulePropertiesFormat()
Creates an instance of OutboundRulePropertiesFormat class.
Method Details
allocatedOutboundPorts
public Integer allocatedOutboundPorts()
Get the allocatedOutboundPorts property: The number of outbound ports to be used for NAT.
Returns:
backendAddressPool
public SubResource backendAddressPool()
Get the backendAddressPool property: A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
Returns:
enableTcpReset
public Boolean enableTcpReset()
Get the enableTcpReset property: 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:
fromJson
public static OutboundRulePropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of OutboundRulePropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
frontendIpConfigurations
public List<SubResource> frontendIpConfigurations()
Get the frontendIpConfigurations property: The Frontend IP addresses of the load balancer.
Returns:
idleTimeoutInMinutes
public Integer idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: The timeout for the TCP idle connection.
Returns:
protocol
public LoadBalancerOutboundRuleProtocol protocol()
Get the protocol property: The protocol for the outbound rule in load balancer.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the outbound rule resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAllocatedOutboundPorts
public OutboundRulePropertiesFormat withAllocatedOutboundPorts(Integer allocatedOutboundPorts)
Set the allocatedOutboundPorts property: The number of outbound ports to be used for NAT.
Parameters:
Returns:
withBackendAddressPool
public OutboundRulePropertiesFormat withBackendAddressPool(SubResource backendAddressPool)
Set the backendAddressPool property: A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
Parameters:
Returns:
withEnableTcpReset
public OutboundRulePropertiesFormat withEnableTcpReset(Boolean enableTcpReset)
Set the enableTcpReset property: 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:
Returns:
withFrontendIpConfigurations
public OutboundRulePropertiesFormat withFrontendIpConfigurations(List<SubResource> frontendIpConfigurations)
Set the frontendIpConfigurations property: The Frontend IP addresses of the load balancer.
Parameters:
Returns:
withIdleTimeoutInMinutes
public OutboundRulePropertiesFormat withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The timeout for the TCP idle connection.
Parameters:
Returns:
withProtocol
public OutboundRulePropertiesFormat withProtocol(LoadBalancerOutboundRuleProtocol protocol)
Set the protocol property: The protocol for the outbound rule in load balancer.
Parameters:
Returns: