Interface SqlFailoverGroup

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<FailoverGroupInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<SqlFailoverGroup>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource, com.azure.resourcemanager.resources.fluentcore.model.Updatable<SqlFailoverGroup.Update>

public interface SqlFailoverGroup extends com.azure.resourcemanager.resources.fluentcore.arm.models.Resource, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<FailoverGroupInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<SqlFailoverGroup>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<SqlFailoverGroup.Update>
An immutable client-side representation of an Azure SQL Failover Group.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static 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.azure.resourcemanager.resources.fluentcore.arm.models.Resource

    com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.UpdateWithTags<T>
  • Field Summary

    Fields inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource

    DUMMY
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the list of database IDs in the failover group.
    void
    Deletes the Failover Group.
    Deletes the Failover Group asynchronously.
    Gets the parent SQL server ID.
    Gets the list of partner server information for the failover group.
    Gets the failover policy of the read-only endpoint for the failover group.
    int
    Gets the grace period before failover with data loss is attempted for the read-write endpoint.
    Gets the failover policy of the read-write endpoint for the failover group.
    Gets the local replication role of the failover group instance.
    Gets the replication state of the failover group instance.
    Gets the name of the SQL Server to which this Failover Group belongs.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasId

    id

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup

    resourceGroupName

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable

    refresh, refreshAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource

    region, regionName, tags, type

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable

    update
  • Method Details

    • sqlServerName

      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
    • parentId

      String parentId()
      Gets the parent SQL server ID.
      Returns:
      the parent SQL server ID
    • readWriteEndpointPolicy

      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
    • readWriteEndpointDataLossGracePeriodMinutes

      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
    • readOnlyEndpointPolicy

      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
    • replicationRole

      FailoverGroupReplicationRole replicationRole()
      Gets the local replication role of the failover group instance.
      Returns:
      the local replication role of the failover group instance
    • replicationState

      String replicationState()
      Gets the replication state of the failover group instance.
      Returns:
      the replication state of the failover group instance
    • partnerServers

      List<PartnerInfo> partnerServers()
      Gets the list of partner server information for the failover group.
      Returns:
      the list of partner server information for the failover group
    • databases

      List<String> databases()
      Gets the list of database IDs in the failover group.
      Returns:
      the list of database IDs in the failover group
    • delete

      void delete()
      Deletes the Failover Group.
    • deleteAsync

      Mono<Void> deleteAsync()
      Deletes the Failover Group asynchronously.
      Returns:
      a representation of the deferred computation of this call