SqlFailoverGroup Interface

Implements

HasResourceGroup Resource HasInner<com.microsoft.azure.management.sql.implementation.FailoverGroupInner> Refreshable<SqlFailoverGroup> Updatable<Update>

public interface SqlFailoverGroup
extends Resource, HasInner<com.microsoft.azure.management.sql.implementation.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 java.util.List<java.lang.String> databases()
abstract void delete()

Deletes the Failover Group.

abstract rx.Completable deleteAsync()

Deletes the Failover Group asynchronously.

abstract java.lang.String parentId()
abstract java.util.List<PartnerInfo> partnerServers()
abstract ReadOnlyEndpointFailoverPolicy readOnlyEndpointPolicy()
abstract int readWriteEndpointDataLossGracePeriodMinutes()
abstract ReadWriteEndpointFailoverPolicy readWriteEndpointPolicy()
abstract FailoverGroupReplicationRole replicationRole()
abstract java.lang.String replicationState()
abstract java.lang.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 Completable 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