DistributedAvailabilityGroupDatabase Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. DistributedAvailabilityGroupDatabase
- com.
Implements
public final class DistributedAvailabilityGroupDatabase
implements JsonSerializable<DistributedAvailabilityGroupDatabase>
Database specific information.
Constructor Summary
| Constructor | Description |
|---|---|
| DistributedAvailabilityGroupDatabase() |
Creates an instance of Distributed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Replica |
connectedState()
Get the connected |
| String |
databaseName()
Get the database |
|
static
Distributed |
fromJson(JsonReader jsonReader)
Reads an instance of Distributed |
| Integer |
instanceRedoReplicationLagSeconds()
Get the instance |
| UUID |
instanceReplicaId()
Get the instance |
| Integer |
instanceSendReplicationLagSeconds()
Get the instance |
| String |
lastBackupLsn()
Get the last |
|
Offset |
lastBackupTime()
Get the last |
| String |
lastCommitLsn()
Get the last |
|
Offset |
lastCommitTime()
Get the last |
| String |
lastHardenedLsn()
Get the last |
|
Offset |
lastHardenedTime()
Get the last |
| String |
lastReceivedLsn()
Get the last |
|
Offset |
lastReceivedTime()
Get the last |
| String |
lastSentLsn()
Get the last |
|
Offset |
lastSentTime()
Get the last |
| String |
mostRecentLinkError()
Get the most |
|
Certificate |
partnerAuthCertValidity()
Get the partner |
| UUID |
partnerReplicaId()
Get the partner |
| String |
replicaState()
Get the replica |
| String |
seedingProgress()
Get the seeding |
|
Replica |
synchronizationHealth()
Get the synchronization |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Distributed |
withDatabaseName(String databaseName)
Set the database |
Methods inherited from java.lang.Object
Constructor Details
DistributedAvailabilityGroupDatabase
public DistributedAvailabilityGroupDatabase()
Creates an instance of DistributedAvailabilityGroupDatabase class.
Method Details
connectedState
public ReplicaConnectedState connectedState()
Get the connectedState property: Link connected state.
Returns:
databaseName
public String databaseName()
Get the databaseName property: The name of the database in link.
Returns:
fromJson
public static DistributedAvailabilityGroupDatabase fromJson(JsonReader jsonReader)
Reads an instance of DistributedAvailabilityGroupDatabase from the JsonReader.
Parameters:
Returns:
Throws:
instanceRedoReplicationLagSeconds
public Integer instanceRedoReplicationLagSeconds()
Get the instanceRedoReplicationLagSeconds property: Redo lag when Managed Instance link side is primary.
Returns:
instanceReplicaId
public UUID instanceReplicaId()
Get the instanceReplicaId property: Managed instance replica id.
Returns:
instanceSendReplicationLagSeconds
public Integer instanceSendReplicationLagSeconds()
Get the instanceSendReplicationLagSeconds property: Replication lag when Managed Instance link side is primary.
Returns:
lastBackupLsn
public String lastBackupLsn()
Get the lastBackupLsn property: Last backup LSN.
Returns:
lastBackupTime
public OffsetDateTime lastBackupTime()
Get the lastBackupTime property: Last backup LSN time.
Returns:
lastCommitLsn
public String lastCommitLsn()
Get the lastCommitLsn property: Last commit LSN.
Returns:
lastCommitTime
public OffsetDateTime lastCommitTime()
Get the lastCommitTime property: Last commit LSN time.
Returns:
lastHardenedLsn
public String lastHardenedLsn()
Get the lastHardenedLsn property: Last hardened LSN.
Returns:
lastHardenedTime
public OffsetDateTime lastHardenedTime()
Get the lastHardenedTime property: Last hardened LSN time.
Returns:
lastReceivedLsn
public String lastReceivedLsn()
Get the lastReceivedLsn property: Last received LSN.
Returns:
lastReceivedTime
public OffsetDateTime lastReceivedTime()
Get the lastReceivedTime property: Last received LSN time.
Returns:
lastSentLsn
public String lastSentLsn()
Get the lastSentLsn property: Last sent LSN.
Returns:
lastSentTime
public OffsetDateTime lastSentTime()
Get the lastSentTime property: Last sent LSN time.
Returns:
mostRecentLinkError
public String mostRecentLinkError()
Get the mostRecentLinkError property: The most recent link connection error description.
Returns:
partnerAuthCertValidity
public CertificateInfo partnerAuthCertValidity()
Get the partnerAuthCertValidity property: SQL server certificate validity.
Returns:
partnerReplicaId
public UUID partnerReplicaId()
Get the partnerReplicaId property: SQL server replica id.
Returns:
replicaState
public String replicaState()
Get the replicaState property: Current link state.
Returns:
seedingProgress
public String seedingProgress()
Get the seedingProgress property: Seeding progress.
Returns:
synchronizationHealth
public ReplicaSynchronizationHealth synchronizationHealth()
Get the synchronizationHealth property: Link health state.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDatabaseName
public DistributedAvailabilityGroupDatabase withDatabaseName(String databaseName)
Set the databaseName property: The name of the database in link.
Parameters:
Returns: