Class PartnerInfo

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

public class PartnerInfo extends Object
Partner server information for the failover group.
  • Constructor Details

    • PartnerInfo

      public PartnerInfo()
  • Method Details

    • id

      public String id()
      Get resource identifier of the partner server.
      Returns:
      the id value
    • withId

      public PartnerInfo withId(String id)
      Set resource identifier of the partner server.
      Parameters:
      id - the id value to set
      Returns:
      the PartnerInfo object itself.
    • location

      public String location()
      Get geo location of the partner server.
      Returns:
      the location value
    • replicationRole

      public FailoverGroupReplicationRole replicationRole()
      Get replication role of the partner server. Possible values include: 'Primary', 'Secondary'.
      Returns:
      the replicationRole value