def begin_failover_allow_data_loss_with_http_info(resource_group_name, server_name, database_name, link_id, custom_headers:nil)
      begin_failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value!
    end
def begin_failover_allow_data_loss_with_http_info(resource_group_name, server_name, database_name, link_id, custom_headers:nil)
      begin_failover_allow_data_loss_async(resource_group_name, server_name, database_name, link_id, custom_headers:custom_headers).value!
    end
Sets which replica database is primary by failing over from the current
 primary replica database. This operation might result in data loss.

 @param resource_group_name [String] 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 server_name [String] The name of the server.
 @param database_name [String] The name of the database that has the
 replication link to be failed over.
 @param link_id [String] The ID of the replication link to be failed over.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.