Class MultiSubnetIpConfiguration

java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.MultiSubnetIpConfiguration

public final class MultiSubnetIpConfiguration extends Object
Multi subnet ip configuration for an availability group listener.
  • Constructor Details

    • MultiSubnetIpConfiguration

      public MultiSubnetIpConfiguration()
  • Method Details

    • privateIpAddress

      public PrivateIpAddress privateIpAddress()
      Get the privateIpAddress property: Private IP address.
      Returns:
      the privateIpAddress value.
    • withPrivateIpAddress

      public MultiSubnetIpConfiguration withPrivateIpAddress(PrivateIpAddress privateIpAddress)
      Set the privateIpAddress property: Private IP address.
      Parameters:
      privateIpAddress - the privateIpAddress value to set.
      Returns:
      the MultiSubnetIpConfiguration object itself.
    • sqlVirtualMachineInstance

      public String sqlVirtualMachineInstance()
      Get the sqlVirtualMachineInstance property: SQL virtual machine instance resource id that are enrolled into the availability group listener.
      Returns:
      the sqlVirtualMachineInstance value.
    • withSqlVirtualMachineInstance

      public MultiSubnetIpConfiguration withSqlVirtualMachineInstance(String sqlVirtualMachineInstance)
      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.