Interface SqlFailoverGroup
- All Superinterfaces:
HasId
,HasInner<com.microsoft.azure.management.sql.implementation.FailoverGroupInner>
,HasName
,HasResourceGroup
,Indexable
,Refreshable<SqlFailoverGroup>
,Resource
,Updatable<SqlFailoverGroup.Update>
@Beta(V1_8_0)
public interface SqlFailoverGroup
extends Resource, HasInner<com.microsoft.azure.management.sql.implementation.FailoverGroupInner>, HasResourceGroup, Refreshable<SqlFailoverGroup>, Updatable<SqlFailoverGroup.Update>
An immutable client-side representation of an Azure SQL Failover Group.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The template for a SQL Failover Group update operation, containing all the settings that can be modified.static interface
Grouping of all the SQL Virtual Network Rule update stages.Nested classes/interfaces inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>
-
Method Summary
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
id
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
Method Details
-
sqlServerName
String sqlServerName()- Returns:
- name of the SQL Server to which this Failover Group belongs
-
parentId
String parentId()- Returns:
- the parent SQL server ID
-
readWriteEndpointPolicy
ReadWriteEndpointFailoverPolicy readWriteEndpointPolicy()- Returns:
- the failover policy of the read-write endpoint for the failover group
-
readWriteEndpointDataLossGracePeriodMinutes
int readWriteEndpointDataLossGracePeriodMinutes()- Returns:
- the grace period before failover with data loss is attempted for the read-write endpoint
-
readOnlyEndpointPolicy
ReadOnlyEndpointFailoverPolicy readOnlyEndpointPolicy()- Returns:
- the failover policy of the read-only endpoint for the failover group
-
replicationRole
FailoverGroupReplicationRole replicationRole()- Returns:
- the local replication role of the failover group instance
-
replicationState
String replicationState()- Returns:
- the replication state of the failover group instance
-
partnerServers
List<PartnerInfo> partnerServers()- Returns:
- the list of partner server information for the failover group
-
databases
- Returns:
- the list of database IDs in the failover group
-
delete
void delete()Deletes the Failover Group. -
deleteAsync
rx.Completable deleteAsync()Deletes the Failover Group asynchronously.- Returns:
- a representation of the deferred computation of this call
-