OutboundRuleInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. SubResourceModel - com.
azure. resourcemanager. network. fluent. models. OutboundRuleInner
- com.
- com.
- com.
public final class OutboundRuleInner
extends SubResourceModel
Outbound rule of the load balancer.
Constructor Summary
| Constructor | Description |
|---|---|
| OutboundRuleInner() |
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 |
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
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) |
| String |
type()
Get the type property: Resource type. |
| 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 |
withId(String id) |
|
Outbound |
withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idle |
|
Outbound |
withName(String name)
Set the name property: Name of the resource. |
|
Outbound |
withProtocol(LoadBalancerOutboundRuleProtocol protocol)
Set the protocol property: The protocol for the outbound rule in load balancer. |
Methods inherited from SubResource
Methods inherited from SubResourceModel
Methods inherited from java.lang.Object
Constructor Details
OutboundRuleInner
public OutboundRuleInner()
Creates an instance of OutboundRuleInner 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:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static OutboundRuleInner fromJson(JsonReader jsonReader)
Reads an instance of OutboundRuleInner 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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
OutboundRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Overrides:
OutboundRuleInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
OutboundRuleInner.validate()withAllocatedOutboundPorts
public OutboundRuleInner withAllocatedOutboundPorts(Integer allocatedOutboundPorts)
Set the allocatedOutboundPorts property: The number of outbound ports to be used for NAT.
Parameters:
Returns:
withBackendAddressPool
public OutboundRuleInner 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 OutboundRuleInner 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 OutboundRuleInner withFrontendIpConfigurations(List<SubResource> frontendIpConfigurations)
Set the frontendIpConfigurations property: The Frontend IP addresses of the load balancer.
Parameters:
Returns:
withId
public OutboundRuleInner withId(String id)
Overrides:
OutboundRuleInner.withId(String id)Parameters:
withIdleTimeoutInMinutes
public OutboundRuleInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The timeout for the TCP idle connection.
Parameters:
Returns:
withName
public OutboundRuleInner withName(String name)
Set the name property: Name of the resource.
Overrides:
OutboundRuleInner.withName(String name)Parameters:
withProtocol
public OutboundRuleInner withProtocol(LoadBalancerOutboundRuleProtocol protocol)
Set the protocol property: The protocol for the outbound rule in load balancer.
Parameters:
Returns: