SqlFailoverGroup Interface
Implements
public interface SqlFailoverGroup
extends Resource, HasInnerModel<FailoverGroupInner>, HasResourceGroup, Refreshable<SqlFailoverGroup>, Updatable<Update>
An immutable client-side representation of an Azure SQL Failover Group.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract List<String> |
databases()
Gets the list of database IDs in the failover group. |
abstract void |
delete()
Deletes the Failover Group. |
abstract Mono<Void> |
deleteAsync()
Deletes the Failover Group asynchronously. |
abstract String |
parentId()
Gets the parent SQL server ID. |
abstract
List<Partner |
partnerServers()
Gets the list of partner server information for the failover group. |
abstract
Read |
readOnlyEndpointPolicy()
Gets the failover policy of the read-only endpoint for the failover group. |
abstract int |
readWriteEndpointDataLossGracePeriodMinutes()
Gets the grace period before failover with data loss is attempted for the read-write endpoint. |
abstract
Read |
readWriteEndpointPolicy()
Gets the failover policy of the read-write endpoint for the failover group. |
abstract
Failover |
replicationRole()
Gets the local replication role of the failover group instance. |
abstract String |
replicationState()
Gets the replication state of the failover group instance. |
abstract String |
sqlServerName()
Gets the name of the SQL Server to which this Failover Group belongs. |
Method Details
databases
public abstract List
Gets the list of database IDs in the failover group.
Returns:
delete
public abstract void delete()
Deletes the Failover Group.
deleteAsync
public abstract Mono
Deletes the Failover Group asynchronously.
Returns:
parentId
public abstract String parentId()
Gets the parent SQL server ID.
Returns:
partnerServers
public abstract List
Gets the list of partner server information for the failover group.
Returns:
readOnlyEndpointPolicy
public abstract ReadOnlyEndpointFailoverPolicy readOnlyEndpointPolicy()
Gets the failover policy of the read-only endpoint for the failover group.
Returns:
readWriteEndpointDataLossGracePeriodMinutes
public abstract int readWriteEndpointDataLossGracePeriodMinutes()
Gets the grace period before failover with data loss is attempted for the read-write endpoint.
Returns:
readWriteEndpointPolicy
public abstract ReadWriteEndpointFailoverPolicy readWriteEndpointPolicy()
Gets the failover policy of the read-write endpoint for the failover group.
Returns:
replicationRole
public abstract FailoverGroupReplicationRole replicationRole()
Gets the local replication role of the failover group instance.
Returns:
replicationState
public abstract String replicationState()
Gets the replication state of the failover group instance.
Returns:
sqlServerName
public abstract String sqlServerName()
Gets the name of the SQL Server to which this Failover Group belongs.
Returns:
Applies to
Azure SDK for Java