SqlFailoverGroup Interface

public interface SqlFailoverGroup extends Resource,HasInner,HasResourceGroup,Refreshable,Updatable<SqlFailoverGroup.Update>

An immutable client-side representation of an Azure SQL Failover Group.

Method Summary

Modifier and Type Method and Description
List<String> databases()
void delete()

Deletes the Failover Group.

Completable deleteAsync()

Deletes the Failover Group asynchronously.

String parentId()
List<PartnerInfo> partnerServers()
ReadOnlyEndpointFailoverPolicy readOnlyEndpointPolicy()
int readWriteEndpointDataLossGracePeriodMinutes()
ReadWriteEndpointFailoverPolicy readWriteEndpointPolicy()
FailoverGroupReplicationRole replicationRole()
String replicationState()
String sqlServerName()

Inherited Members

Method Details

databases

public List databases()

Returns:

the list of database IDs in the failover group

delete

public void delete()

Deletes the Failover Group.

deleteAsync

public Completable deleteAsync()

Deletes the Failover Group asynchronously.

Returns:

a representation of the deferred computation of this call

parentId

public String parentId()

Returns:

the parent SQL server ID

partnerServers

public List partnerServers()

Returns:

the list of partner server information for the failover group

readOnlyEndpointPolicy

public ReadOnlyEndpointFailoverPolicy readOnlyEndpointPolicy()

Returns:

the failover policy of the read-only endpoint for the failover group

readWriteEndpointDataLossGracePeriodMinutes

public int readWriteEndpointDataLossGracePeriodMinutes()

Returns:

the grace period before failover with data loss is attempted for the read-write endpoint

readWriteEndpointPolicy

public ReadWriteEndpointFailoverPolicy readWriteEndpointPolicy()

Returns:

the failover policy of the read-write endpoint for the failover group

replicationRole

public FailoverGroupReplicationRole replicationRole()

Returns:

the local replication role of the failover group instance

replicationState

public String replicationState()

Returns:

the replication state of the failover group instance

sqlServerName

public String sqlServerName()

Returns:

name of the SQL Server to which this Failover Group belongs

Applies to