public class LoadBalancingRuleInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
LoadBalancingRuleInner() |
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.management.SubResource |
backendAddressPool()
Get the backendAddressPool property: A reference to a pool of DIPs.
|
Integer |
backendPort()
Get the backendPort property: The port used for internal connections on the endpoint.
|
Boolean |
disableOutboundSnat()
Get the disableOutboundSnat property: Configures SNAT for the VMs in the backend pool to use the publicIP address
specified in the frontend of the load balancing rule.
|
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.
|
LoadDistribution |
loadDistribution()
Get the loadDistribution property: The load distribution policy for this rule.
|
String |
name()
Get the name property: The name of the resource that is unique within the set of load balancing rules used by the
load balancer.
|
com.azure.core.management.SubResource |
probe()
Get the probe property: The reference to the load balancer probe used by the load balancing rule.
|
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 load balancing rule resource.
|
String |
type()
Get the type property: Type of the resource.
|
void |
validate()
Validates the instance.
|
LoadBalancingRuleInner |
withBackendAddressPool(com.azure.core.management.SubResource backendAddressPool)
Set the backendAddressPool property: A reference to a pool of DIPs.
|
LoadBalancingRuleInner |
withBackendPort(Integer backendPort)
Set the backendPort property: The port used for internal connections on the endpoint.
|
LoadBalancingRuleInner |
withDisableOutboundSnat(Boolean disableOutboundSnat)
Set the disableOutboundSnat property: Configures SNAT for the VMs in the backend pool to use the publicIP address
specified in the frontend of the load balancing rule.
|
LoadBalancingRuleInner |
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.
|
LoadBalancingRuleInner |
withEnableTcpReset(Boolean enableTcpReset)
Set the enableTcpReset property: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected
connection termination.
|
LoadBalancingRuleInner |
withFrontendIpConfiguration(com.azure.core.management.SubResource frontendIpConfiguration)
Set the frontendIpConfiguration property: A reference to frontend IP addresses.
|
LoadBalancingRuleInner |
withFrontendPort(Integer frontendPort)
Set the frontendPort property: The port for the external endpoint.
|
LoadBalancingRuleInner |
withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The timeout for the TCP idle connection.
|
LoadBalancingRuleInner |
withLoadDistribution(LoadDistribution loadDistribution)
Set the loadDistribution property: The load distribution policy for this rule.
|
LoadBalancingRuleInner |
withName(String name)
Set the name property: The name of the resource that is unique within the set of load balancing rules used by the
load balancer.
|
LoadBalancingRuleInner |
withProbe(com.azure.core.management.SubResource probe)
Set the probe property: The reference to the load balancer probe used by the load balancing rule.
|
LoadBalancingRuleInner |
withProtocol(TransportProtocol protocol)
Set the protocol property: The reference to the transport protocol used by the load balancing rule.
|
public String name()
public LoadBalancingRuleInner withName(String name)
name - the name value to set.public String etag()
public String type()
public com.azure.core.management.SubResource frontendIpConfiguration()
public LoadBalancingRuleInner withFrontendIpConfiguration(com.azure.core.management.SubResource frontendIpConfiguration)
frontendIpConfiguration - the frontendIpConfiguration value to set.public com.azure.core.management.SubResource backendAddressPool()
public LoadBalancingRuleInner withBackendAddressPool(com.azure.core.management.SubResource backendAddressPool)
backendAddressPool - the backendAddressPool value to set.public com.azure.core.management.SubResource probe()
public LoadBalancingRuleInner withProbe(com.azure.core.management.SubResource probe)
probe - the probe value to set.public TransportProtocol protocol()
public LoadBalancingRuleInner withProtocol(TransportProtocol protocol)
protocol - the protocol value to set.public LoadDistribution loadDistribution()
public LoadBalancingRuleInner withLoadDistribution(LoadDistribution loadDistribution)
loadDistribution - the loadDistribution value to set.public Integer frontendPort()
public LoadBalancingRuleInner withFrontendPort(Integer frontendPort)
frontendPort - the frontendPort value to set.public Integer backendPort()
public LoadBalancingRuleInner withBackendPort(Integer backendPort)
backendPort - the backendPort value to set.public Integer idleTimeoutInMinutes()
public LoadBalancingRuleInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
idleTimeoutInMinutes - the idleTimeoutInMinutes value to set.public Boolean enableFloatingIp()
public LoadBalancingRuleInner withEnableFloatingIp(Boolean enableFloatingIp)
enableFloatingIp - the enableFloatingIp value to set.public Boolean enableTcpReset()
public LoadBalancingRuleInner withEnableTcpReset(Boolean enableTcpReset)
enableTcpReset - the enableTcpReset value to set.public Boolean disableOutboundSnat()
public LoadBalancingRuleInner withDisableOutboundSnat(Boolean disableOutboundSnat)
disableOutboundSnat - the disableOutboundSnat value to set.public ProvisioningState provisioningState()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.