public ServiceFuture<Void> beginFailoverAsync(String resourceGroupName, String serverName, String disasterRecoveryConfigurationName, final ServiceCallback<Void> serviceCallback) {
        return ServiceFuture.fromResponse(beginFailoverWithServiceResponseAsync(resourceGroupName, serverName, disasterRecoveryConfigurationName), serviceCallback);
    }
public ServiceFuture < Void > beginFailoverAsync ( String resourceGroupName , String serverName , String disasterRecoveryConfigurationName , final ServiceCallback < Void > serviceCallback ) { return ServiceFuture . fromResponse ( beginFailoverWithServiceResponseAsync ( resourceGroupName , serverName , disasterRecoveryConfigurationName ) , serviceCallback ) ; }
Fails over from the current primary server to this server.

@param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
@param serverName The name of the server.
@param disasterRecoveryConfigurationName The name of the disaster recovery configuration to failover.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object