Interface SqlFailoverGroupOperations

    • Method Detail

      • failover

        SqlFailoverGroup failover​(String resourceGroupName,
                                  String serverName,
                                  String failoverGroupName)
        Fails over from the current primary server to this server.
        Parameters:
        resourceGroupName - the name of the resource group that contains the resource
        serverName - the name of the server containing the failover group
        failoverGroupName - the name of the failover group
        Returns:
        the SqlFailoverGroup object
      • failoverAsync

        Mono<SqlFailoverGroup> failoverAsync​(String resourceGroupName,
                                             String serverName,
                                             String failoverGroupName)
        Asynchronously fails over from the current primary server to this server.
        Parameters:
        resourceGroupName - the name of the resource group that contains the resource
        serverName - the name of the server containing the failover group
        failoverGroupName - the name of the failover group
        Returns:
        a representation of the deferred computation of this call returning the SqlFailoverGroup object
      • forceFailoverAllowDataLoss

        SqlFailoverGroup forceFailoverAllowDataLoss​(String resourceGroupName,
                                                    String serverName,
                                                    String failoverGroupName)
        Fails over from the current primary server to this server. This operation might result in data loss.
        Parameters:
        resourceGroupName - the name of the resource group that contains the resource
        serverName - the name of the server containing the failover group
        failoverGroupName - the name of the failover group
        Returns:
        the SqlFailoverGroup object
      • forceFailoverAllowDataLossAsync

        Mono<SqlFailoverGroup> forceFailoverAllowDataLossAsync​(String resourceGroupName,
                                                               String serverName,
                                                               String failoverGroupName)
        Fails over from the current primary server to this server. This operation might result in data loss.
        Parameters:
        resourceGroupName - the name of the resource group that contains the resource
        serverName - the name of the server containing the failover group
        failoverGroupName - the name of the failover group
        Returns:
        a representation of the deferred computation of this call returning the SqlFailoverGroup object