Share via


DistributedAvailabilityGroupDatabase Constructors

Definition

Overloads

DistributedAvailabilityGroupDatabase()

Initializes a new instance of the DistributedAvailabilityGroupDatabase class.

DistributedAvailabilityGroupDatabase(String, Nullable<Guid>, Nullable<Guid>, String, String, String, String, String, Nullable<DateTime>, String, Nullable<DateTime>, String, Nullable<DateTime>, String, Nullable<DateTime>, String, Nullable<DateTime>, String, CertificateInfo, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the DistributedAvailabilityGroupDatabase class.

DistributedAvailabilityGroupDatabase()

Initializes a new instance of the DistributedAvailabilityGroupDatabase class.

public DistributedAvailabilityGroupDatabase ();
Public Sub New ()

Applies to

DistributedAvailabilityGroupDatabase(String, Nullable<Guid>, Nullable<Guid>, String, String, String, String, String, Nullable<DateTime>, String, Nullable<DateTime>, String, Nullable<DateTime>, String, Nullable<DateTime>, String, Nullable<DateTime>, String, CertificateInfo, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the DistributedAvailabilityGroupDatabase class.

public DistributedAvailabilityGroupDatabase (string databaseName = default, Guid? instanceReplicaId = default, Guid? partnerReplicaId = default, string replicaState = default, string seedingProgress = default, string synchronizationHealth = default, string connectedState = default, string lastReceivedLsn = default, DateTime? lastReceivedTime = default, string lastSentLsn = default, DateTime? lastSentTime = default, string lastCommitLsn = default, DateTime? lastCommitTime = default, string lastHardenedLsn = default, DateTime? lastHardenedTime = default, string lastBackupLsn = default, DateTime? lastBackupTime = default, string mostRecentLinkError = default, Microsoft.Azure.Management.Sql.Models.CertificateInfo partnerAuthCertValidity = default, int? instanceSendReplicationLagSeconds = default, int? instanceRedoReplicationLagSeconds = default);
new Microsoft.Azure.Management.Sql.Models.DistributedAvailabilityGroupDatabase : string * Nullable<Guid> * Nullable<Guid> * string * string * string * string * string * Nullable<DateTime> * string * Nullable<DateTime> * string * Nullable<DateTime> * string * Nullable<DateTime> * string * Nullable<DateTime> * string * Microsoft.Azure.Management.Sql.Models.CertificateInfo * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.Sql.Models.DistributedAvailabilityGroupDatabase
Public Sub New (Optional databaseName As String = Nothing, Optional instanceReplicaId As Nullable(Of Guid) = Nothing, Optional partnerReplicaId As Nullable(Of Guid) = Nothing, Optional replicaState As String = Nothing, Optional seedingProgress As String = Nothing, Optional synchronizationHealth As String = Nothing, Optional connectedState As String = Nothing, Optional lastReceivedLsn As String = Nothing, Optional lastReceivedTime As Nullable(Of DateTime) = Nothing, Optional lastSentLsn As String = Nothing, Optional lastSentTime As Nullable(Of DateTime) = Nothing, Optional lastCommitLsn As String = Nothing, Optional lastCommitTime As Nullable(Of DateTime) = Nothing, Optional lastHardenedLsn As String = Nothing, Optional lastHardenedTime As Nullable(Of DateTime) = Nothing, Optional lastBackupLsn As String = Nothing, Optional lastBackupTime As Nullable(Of DateTime) = Nothing, Optional mostRecentLinkError As String = Nothing, Optional partnerAuthCertValidity As CertificateInfo = Nothing, Optional instanceSendReplicationLagSeconds As Nullable(Of Integer) = Nothing, Optional instanceRedoReplicationLagSeconds As Nullable(Of Integer) = Nothing)

Parameters

databaseName
String

The name of the database in link

instanceReplicaId
Nullable<Guid>

Managed instance replica id

partnerReplicaId
Nullable<Guid>

SQL server replica id

replicaState
String

Current link state

seedingProgress
String

Seeding progress

synchronizationHealth
String

Link health state Possible values include: 'NOT_HEALTHY', 'PARTIALLY_HEALTHY', 'HEALTHY'

connectedState
String

Link connected state Possible values include: 'DISCONNECTED', 'CONNECTED'

lastReceivedLsn
String

Last received LSN

lastReceivedTime
Nullable<DateTime>

Last received LSN time

lastSentLsn
String

Last sent LSN

lastSentTime
Nullable<DateTime>

Last sent LSN time

lastCommitLsn
String

Last commit LSN

lastCommitTime
Nullable<DateTime>

Last commit LSN time

lastHardenedLsn
String

Last hardened LSN

lastHardenedTime
Nullable<DateTime>

Last hardened LSN time

lastBackupLsn
String

Last backup LSN

lastBackupTime
Nullable<DateTime>

Last backup LSN time

mostRecentLinkError
String

The most recent link connection error description

partnerAuthCertValidity
CertificateInfo

SQL server certificate validity

instanceSendReplicationLagSeconds
Nullable<Int32>

Replication lag when Managed Instance link side is primary

instanceRedoReplicationLagSeconds
Nullable<Int32>

Redo lag when Managed Instance link side is primary

Applies to