Class MultiSubnetIpConfiguration
java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.MultiSubnetIpConfiguration
Multi subnet ip configuration for an availability group listener.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the privateIpAddress property: Private IP address.Get the sqlVirtualMachineInstance property: SQL virtual machine instance resource id that are enrolled into the availability group listener.void
validate()
Validates the instance.withPrivateIpAddress
(PrivateIpAddress privateIpAddress) Set the privateIpAddress property: Private IP address.withSqlVirtualMachineInstance
(String sqlVirtualMachineInstance) Set the sqlVirtualMachineInstance property: SQL virtual machine instance resource id that are enrolled into the availability group listener.
-
Constructor Details
-
MultiSubnetIpConfiguration
public MultiSubnetIpConfiguration()
-
-
Method Details
-
privateIpAddress
Get the privateIpAddress property: Private IP address.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
Set the privateIpAddress property: Private IP address.- Parameters:
privateIpAddress
- the privateIpAddress value to set.- Returns:
- the MultiSubnetIpConfiguration object itself.
-
sqlVirtualMachineInstance
Get the sqlVirtualMachineInstance property: SQL virtual machine instance resource id that are enrolled into the availability group listener.- Returns:
- the sqlVirtualMachineInstance value.
-
withSqlVirtualMachineInstance
Set the sqlVirtualMachineInstance property: SQL virtual machine instance resource id that are enrolled into the availability group listener.- Parameters:
sqlVirtualMachineInstance
- the sqlVirtualMachineInstance value to set.- Returns:
- the MultiSubnetIpConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-