Class ManagedInstancePairInfo

java.lang.Object
com.microsoft.azure.management.sql.ManagedInstancePairInfo

public class ManagedInstancePairInfo extends Object
Pairs of Managed Instances in the failover group.
  • Constructor Details

    • ManagedInstancePairInfo

      public ManagedInstancePairInfo()
  • Method Details

    • primaryManagedInstanceId

      public String primaryManagedInstanceId()
      Get id of Primary Managed Instance in pair.
      Returns:
      the primaryManagedInstanceId value
    • withPrimaryManagedInstanceId

      public ManagedInstancePairInfo withPrimaryManagedInstanceId(String primaryManagedInstanceId)
      Set id of Primary Managed Instance in pair.
      Parameters:
      primaryManagedInstanceId - the primaryManagedInstanceId value to set
      Returns:
      the ManagedInstancePairInfo object itself.
    • partnerManagedInstanceId

      public String partnerManagedInstanceId()
      Get id of Partner Managed Instance in pair.
      Returns:
      the partnerManagedInstanceId value
    • withPartnerManagedInstanceId

      public ManagedInstancePairInfo withPartnerManagedInstanceId(String partnerManagedInstanceId)
      Set id of Partner Managed Instance in pair.
      Parameters:
      partnerManagedInstanceId - the partnerManagedInstanceId value to set
      Returns:
      the ManagedInstancePairInfo object itself.