public class InboundNatRuleInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
InboundNatRuleInner() |
| Modifier and Type | Method and Description |
|---|---|
NetworkInterfaceIpConfigurationInner |
backendIpConfiguration()
Get the backendIpConfiguration property: A reference to a private IP address defined on a network interface of a
VM.
|
Integer |
backendPort()
Get the backendPort property: The port used for the internal endpoint.
|
Boolean |
enableFloatingIp()
Get the enableFloatingIp property: Configures a virtual machine's endpoint for the floating IP capability
required to configure a SQL AlwaysOn Availability Group.
|
Boolean |
enableTcpReset()
Get the enableTcpReset property: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected
connection termination.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
com.azure.core.management.SubResource |
frontendIpConfiguration()
Get the frontendIpConfiguration property: A reference to frontend IP addresses.
|
Integer |
frontendPort()
Get the frontendPort property: The port for the external endpoint.
|
Integer |
idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: The timeout for the TCP idle connection.
|
String |
name()
Get the name property: The name of the resource that is unique within the set of inbound NAT rules used by the
load balancer.
|
TransportProtocol |
protocol()
Get the protocol property: The reference to the transport protocol used by the load balancing rule.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the inbound NAT rule resource.
|
String |
type()
Get the type property: Type of the resource.
|
void |
validate()
Validates the instance.
|
InboundNatRuleInner |
withBackendPort(Integer backendPort)
Set the backendPort property: The port used for the internal endpoint.
|
InboundNatRuleInner |
withEnableFloatingIp(Boolean enableFloatingIp)
Set the enableFloatingIp property: Configures a virtual machine's endpoint for the floating IP capability
required to configure a SQL AlwaysOn Availability Group.
|
InboundNatRuleInner |
withEnableTcpReset(Boolean enableTcpReset)
Set the enableTcpReset property: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected
connection termination.
|
InboundNatRuleInner |
withFrontendIpConfiguration(com.azure.core.management.SubResource frontendIpConfiguration)
Set the frontendIpConfiguration property: A reference to frontend IP addresses.
|
InboundNatRuleInner |
withFrontendPort(Integer frontendPort)
Set the frontendPort property: The port for the external endpoint.
|
InboundNatRuleInner |
withId(String id) |
InboundNatRuleInner |
withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The timeout for the TCP idle connection.
|
InboundNatRuleInner |
withName(String name)
Set the name property: The name of the resource that is unique within the set of inbound NAT rules used by the
load balancer.
|
InboundNatRuleInner |
withProtocol(TransportProtocol protocol)
Set the protocol property: The reference to the transport protocol used by the load balancing rule.
|
public String name()
public InboundNatRuleInner withName(String name)
name - the name value to set.public String etag()
public String type()
public com.azure.core.management.SubResource frontendIpConfiguration()
public InboundNatRuleInner withFrontendIpConfiguration(com.azure.core.management.SubResource frontendIpConfiguration)
frontendIpConfiguration - the frontendIpConfiguration value to set.public NetworkInterfaceIpConfigurationInner backendIpConfiguration()
public TransportProtocol protocol()
public InboundNatRuleInner withProtocol(TransportProtocol protocol)
protocol - the protocol value to set.public Integer frontendPort()
public InboundNatRuleInner withFrontendPort(Integer frontendPort)
frontendPort - the frontendPort value to set.public Integer backendPort()
public InboundNatRuleInner withBackendPort(Integer backendPort)
backendPort - the backendPort value to set.public Integer idleTimeoutInMinutes()
public InboundNatRuleInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
idleTimeoutInMinutes - the idleTimeoutInMinutes value to set.public Boolean enableFloatingIp()
public InboundNatRuleInner withEnableFloatingIp(Boolean enableFloatingIp)
enableFloatingIp - the enableFloatingIp value to set.public Boolean enableTcpReset()
public InboundNatRuleInner withEnableTcpReset(Boolean enableTcpReset)
enableTcpReset - the enableTcpReset value to set.public ProvisioningState provisioningState()
public InboundNatRuleInner withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.