다음을 통해 공유


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<PartnerInfo> partnerServers()

Gets the list of partner server information for the failover group.

abstract ReadOnlyEndpointFailoverPolicy 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 ReadWriteEndpointFailoverPolicy readWriteEndpointPolicy()

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

abstract FailoverGroupReplicationRole 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 databases()

Gets the list of database IDs in the failover group.

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()

Gets the parent SQL server ID.

Returns:

the parent SQL server ID

partnerServers

public abstract List partnerServers()

Gets the list of partner server information for the failover group.

Returns:

the list of partner server information for the failover group

readOnlyEndpointPolicy

public abstract ReadOnlyEndpointFailoverPolicy readOnlyEndpointPolicy()

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

Returns:

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

readWriteEndpointDataLossGracePeriodMinutes

public abstract int readWriteEndpointDataLossGracePeriodMinutes()

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

Returns:

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

readWriteEndpointPolicy

public abstract ReadWriteEndpointFailoverPolicy readWriteEndpointPolicy()

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

Returns:

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

replicationRole

public abstract FailoverGroupReplicationRole replicationRole()

Gets the local replication role of the failover group instance.

Returns:

the local replication role of the failover group instance

replicationState

public abstract String replicationState()

Gets the replication state of the failover group instance.

Returns:

the replication state of the failover group instance

sqlServerName

public abstract String sqlServerName()

Gets the name of the SQL Server to which this Failover Group belongs.

Returns:

name of the SQL Server to which this Failover Group belongs

Applies to