Interface SqlFailoverGroupOperations

All Superinterfaces:
SqlChildrenOperations<SqlFailoverGroup>, SupportsCreating<SqlFailoverGroupOperations.DefinitionStages.WithSqlServer>

A representation of the Azure SQL Failover Group operations.
  • Method Details

    • 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

      rx.Observable<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

      rx.Observable<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