Interface SqlFailoverGroup

    • Method Detail

      • sqlServerName

        String sqlServerName()
        Returns:
        name of the SQL Server to which this Failover Group belongs
      • parentId

        String parentId()
        Returns:
        the parent SQL server ID
      • readWriteEndpointPolicy

        ReadWriteEndpointFailoverPolicy readWriteEndpointPolicy()
        Returns:
        the failover policy of the read-write endpoint for the failover group
      • readWriteEndpointDataLossGracePeriodMinutes

        int readWriteEndpointDataLossGracePeriodMinutes()
        Returns:
        the grace period before failover with data loss is attempted for the read-write endpoint
      • readOnlyEndpointPolicy

        ReadOnlyEndpointFailoverPolicy readOnlyEndpointPolicy()
        Returns:
        the failover policy of the read-only endpoint for the failover group
      • replicationState

        String replicationState()
        Returns:
        the replication state of the failover group instance
      • partnerServers

        List<PartnerInfo> partnerServers()
        Returns:
        the list of partner server information for the failover group
      • databases

        List<String> databases()
        Returns:
        the list of database IDs in the failover group
      • delete

        void delete()
        Deletes the Failover Group.
      • deleteAsync

        Mono<Void> deleteAsync()
        Deletes the Failover Group asynchronously.
        Returns:
        a representation of the deferred computation of this call