Partilhar via


AzureSqlFailoverGroupModel Class

Definition

public class AzureSqlFailoverGroupModel
type AzureSqlFailoverGroupModel = class
Public Class AzureSqlFailoverGroupModel
Inheritance
AzureSqlFailoverGroupModel

Constructors

AzureSqlFailoverGroupModel()

Default Constructor

AzureSqlFailoverGroupModel(String, String, String, FailoverGroup)

Construct AzureSqlServerfailoverGroupModel from Management.Sql.LegacySdk.Models.FailoverGroup object

Fields

PartnerServerIdTemplate

template to generate the Source Database Id

Properties

DatabaseNames

Gets or sets the list of names of databases in the Failover Group

Databases

Gets or sets the database IDs

FailoverGroupName

Gets or sets the name of the failover group.

FailoverGroupReadOnlyEndpoint

Gets or sets the read-only endpoint (legacy field)

FailoverGroupReadOnlyEndpointV2

Gets or sets the read-only endpoint. This field is used in the newest client and has support for multiple-partner FG's.

FailoverGroupReadWriteEndpoint

Gets or sets the read-write endpoint

FailoverGroupReadWriteEndpointV2

Gets or sets the read-write endpoint. This field is used in the newest client and has support for multiple-partner FG's.

FailoverWithDataLossGracePeriodHours

Gets or sets the read-write endpoint failover grace period with data loss

Id

Gets or sets the Id of the failover group

Kind

Gets or sets the location of the failover group

Location

Gets or sets the location of the failover group

PartnerLocation

Gets or sets the partner server's location

PartnerResourceGroupName

Gets or sets the name of the partner resource group name

PartnerServerName

Gets or sets the name of the partner server name

PartnerServers

Gets or sets the partner servers

PartnerSubscriptionId

Gets or sets the Id of partner subscription id

ReadOnlyFailoverPolicy

Gets or sets the read-only endpoint failover policy

ReadWriteFailoverPolicy

Gets or sets the read-write endpoint failover policy

ReplicationRole

Gets or sets the read-write endpoint

ReplicationState

Gets or sets the read-write endpoint

ResourceGroupName

Gets or sets the name of the resource group

SecondaryType

Gets or sets the databases secondary type on partner server.

ServerName

Gets or sets the name of the server

Tags

Gets or sets the tags associated with the Failover Group.

Applies to