Partilhar via


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()
abstract void delete()

Deletes the Failover Group.

abstract Mono<Void> deleteAsync()

Deletes the Failover Group asynchronously.

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

Method Details

databases

public abstract List databases()

Returns:

the list of database IDs in the failover group

delete

public abstract void delete()

Deletes the Failover Group.

deleteAsync

public abstract Mono deleteAsync()

Deletes the Failover Group asynchronously.

Returns:

a representation of the deferred computation of this call

parentId

public abstract String parentId()

Returns:

the parent SQL server ID

partnerServers

public abstract List partnerServers()

Returns:

the list of partner server information for the failover group

readOnlyEndpointPolicy

public abstract ReadOnlyEndpointFailoverPolicy readOnlyEndpointPolicy()

Returns:

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

readWriteEndpointDataLossGracePeriodMinutes

public abstract int readWriteEndpointDataLossGracePeriodMinutes()

Returns:

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

readWriteEndpointPolicy

public abstract ReadWriteEndpointFailoverPolicy readWriteEndpointPolicy()

Returns:

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

replicationRole

public abstract FailoverGroupReplicationRole replicationRole()

Returns:

the local replication role of the failover group instance

replicationState

public abstract String replicationState()

Returns:

the replication state of the failover group instance

sqlServerName

public abstract String sqlServerName()

Returns:

name of the SQL Server to which this Failover Group belongs

Applies to