public final class LoadBalancerConfiguration extends Object
Constructor and Description |
---|
LoadBalancerConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
loadBalancerResourceId()
Get the loadBalancerResourceId property: Resource id of the load balancer.
|
PrivateIpAddress |
privateIpAddress()
Get the privateIpAddress property: Private IP address.
|
Integer |
probePort()
Get the probePort property: Probe port.
|
String |
publicIpAddressResourceId()
Get the publicIpAddressResourceId property: Resource id of the public IP.
|
List<String> |
sqlVirtualMachineInstances()
Get the sqlVirtualMachineInstances property: List of the SQL virtual machine instance resource id's that are
enrolled into the availability group listener.
|
void |
validate()
Validates the instance.
|
LoadBalancerConfiguration |
withLoadBalancerResourceId(String loadBalancerResourceId)
Set the loadBalancerResourceId property: Resource id of the load balancer.
|
LoadBalancerConfiguration |
withPrivateIpAddress(PrivateIpAddress privateIpAddress)
Set the privateIpAddress property: Private IP address.
|
LoadBalancerConfiguration |
withProbePort(Integer probePort)
Set the probePort property: Probe port.
|
LoadBalancerConfiguration |
withPublicIpAddressResourceId(String publicIpAddressResourceId)
Set the publicIpAddressResourceId property: Resource id of the public IP.
|
LoadBalancerConfiguration |
withSqlVirtualMachineInstances(List<String> sqlVirtualMachineInstances)
Set the sqlVirtualMachineInstances property: List of the SQL virtual machine instance resource id's that are
enrolled into the availability group listener.
|
public PrivateIpAddress privateIpAddress()
public LoadBalancerConfiguration withPrivateIpAddress(PrivateIpAddress privateIpAddress)
privateIpAddress
- the privateIpAddress value to set.public String publicIpAddressResourceId()
public LoadBalancerConfiguration withPublicIpAddressResourceId(String publicIpAddressResourceId)
publicIpAddressResourceId
- the publicIpAddressResourceId value to set.public String loadBalancerResourceId()
public LoadBalancerConfiguration withLoadBalancerResourceId(String loadBalancerResourceId)
loadBalancerResourceId
- the loadBalancerResourceId value to set.public Integer probePort()
public LoadBalancerConfiguration withProbePort(Integer probePort)
probePort
- the probePort value to set.public List<String> sqlVirtualMachineInstances()
public LoadBalancerConfiguration withSqlVirtualMachineInstances(List<String> sqlVirtualMachineInstances)
sqlVirtualMachineInstances
- the sqlVirtualMachineInstances value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.