Class ReplicationLinkProperties


  • public final class ReplicationLinkProperties
    extends Object
    Represents the properties of a Sql pool replication link.
    • Constructor Detail

      • ReplicationLinkProperties

        public ReplicationLinkProperties()
    • Method Detail

      • isTerminationAllowed

        public Boolean isTerminationAllowed()
        Get the isTerminationAllowed property: Legacy value indicating whether termination is allowed. Currently always returns true.
        Returns:
        the isTerminationAllowed value.
      • replicationMode

        public String replicationMode()
        Get the replicationMode property: Replication mode of this replication link.
        Returns:
        the replicationMode value.
      • partnerServer

        public String partnerServer()
        Get the partnerServer property: The name of the workspace hosting the partner Sql pool.
        Returns:
        the partnerServer value.
      • partnerDatabase

        public String partnerDatabase()
        Get the partnerDatabase property: The name of the partner Sql pool.
        Returns:
        the partnerDatabase value.
      • partnerLocation

        public String partnerLocation()
        Get the partnerLocation property: The Azure Region of the partner Sql pool.
        Returns:
        the partnerLocation value.
      • role

        public ReplicationRole role()
        Get the role property: The role of the Sql pool in the replication link.
        Returns:
        the role value.
      • partnerRole

        public ReplicationRole partnerRole()
        Get the partnerRole property: The role of the partner Sql pool in the replication link.
        Returns:
        the partnerRole value.
      • startTime

        public OffsetDateTime startTime()
        Get the startTime property: The start time for the replication link.
        Returns:
        the startTime value.
      • percentComplete

        public Integer percentComplete()
        Get the percentComplete property: The percentage of seeding complete for the replication link.
        Returns:
        the percentComplete value.
      • replicationState

        public ReplicationState replicationState()
        Get the replicationState property: The replication state for the replication link.
        Returns:
        the replicationState value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.