Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"partnerEndpoint": "TCP://SERVER:7022",
"failoverMode": "None",
"seedingMode": "Automatic",
"linkMode": "SingleDatabase",
"databases": [
{
"databaseName": "testdb"
Expand All @@ -32,6 +33,7 @@
"partnerEndpoint": "TCP://SERVER:7022",
"failoverMode": "None",
"seedingMode": "Automatic",
"linkMode": "SingleDatabase",
"databases": [
{
"databaseName": "testdb"
Expand All @@ -53,6 +55,7 @@
"partnerEndpoint": "TCP://SERVER:7022",
"failoverMode": "None",
"seedingMode": "Automatic",
"linkMode": "SingleDatabase",
"databases": [
{
"databaseName": "testdb"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"partnerEndpoint": "TCP://SERVER:7022",
"failoverMode": "None",
"seedingMode": "Automatic",
"linkMode": "SingleDatabase",
"databases": [
{
"databaseName": "testdb"
Expand All @@ -50,6 +51,7 @@
"partnerEndpoint": "TCP://SERVER:7022",
"failoverMode": "None",
"seedingMode": "Automatic",
"linkMode": "SingleDatabase",
"databases": [
{
"databaseName": "testdb"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"instanceAvailabilityGroupName": "testcl",
"failoverMode": "None",
"seedingMode": "Automatic",
"linkMode": "SingleDatabase",
"databases": [
{
"databaseName": "testdb",
Expand All @@ -32,13 +33,13 @@
"synchronizationHealth": "HEALTHY",
"connectedState": "CONNECTED",
"lastReceivedLsn": "71000009407900001",
"lastReceivedTime": "2023-08-01T00:00:00Z",
"lastReceivedTime": "2025-08-01T00:00:00Z",
"lastCommitLsn": "71000009407900004",
"lastCommitTime": "2023-08-01T00:00:00Z",
"lastCommitTime": "2025-08-01T00:00:00Z",
"lastHardenedLsn": "71000009408100001",
"lastHardenedTime": "2023-08-01T00:00:00Z",
"lastHardenedTime": "2025-08-01T00:00:00Z",
"lastBackupLsn": "71000009405700001",
"lastBackupTime": "2023-08-01T00:00:00Z",
"lastBackupTime": "2025-08-01T00:00:00Z",
"instanceSendReplicationLagSeconds": 1,
"instanceRedoReplicationLagSeconds": 1
}
Expand All @@ -51,7 +52,7 @@
},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/f2669dff-5f08-45dd-b857-b2a60b72cdc9/providers/Microsoft.Sql/locations/westus/distributedAvailabilityGroupsOperationResults/00000000-1111-2222-3333-444444444444?api-version=2023-08-01-preview"
"Location": "https://management.azure.com/subscriptions/f2669dff-5f08-45dd-b857-b2a60b72cdc9/providers/Microsoft.Sql/locations/westus/distributedAvailabilityGroupsOperationResults/00000000-1111-2222-3333-444444444444?api-version=2025-08-01-preview"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"instanceAvailabilityGroupName": "testcl",
"failoverMode": "None",
"seedingMode": "Automatic",
"linkMode": "SingleDatabase",
"databases": [
{
"databaseName": "testdb",
Expand All @@ -30,13 +31,13 @@
"synchronizationHealth": "HEALTHY",
"connectedState": "CONNECTED",
"lastReceivedLsn": "71000009407900001",
"lastReceivedTime": "2023-08-01T00:00:00Z",
"lastReceivedTime": "2025-08-01T00:00:00Z",
"lastCommitLsn": "71000009407900004",
"lastCommitTime": "2023-08-01T00:00:00Z",
"lastCommitTime": "2025-08-01T00:00:00Z",
"lastHardenedLsn": "71000009408100001",
"lastHardenedTime": "2023-08-01T00:00:00Z",
"lastHardenedTime": "2025-08-01T00:00:00Z",
"lastBackupLsn": "71000009405700001",
"lastBackupTime": "2023-08-01T00:00:00Z",
"lastBackupTime": "2025-08-01T00:00:00Z",
"instanceSendReplicationLagSeconds": 1,
"instanceRedoReplicationLagSeconds": 1
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"instanceAvailabilityGroupName": "testcl",
"failoverMode": "None",
"seedingMode": "Automatic",
"linkMode": "SingleDatabase",
"databases": [
{
"databaseName": "testdb",
Expand All @@ -30,13 +31,13 @@
"synchronizationHealth": "HEALTHY",
"connectedState": "CONNECTED",
"lastReceivedLsn": "71000009407900001",
"lastReceivedTime": "2023-08-01T00:00:00Z",
"lastReceivedTime": "2025-08-01T00:00:00Z",
"lastCommitLsn": "71000009407900004",
"lastCommitTime": "2023-08-01T00:00:00Z",
"lastCommitTime": "2025-08-01T00:00:00Z",
"lastHardenedLsn": "71000009408100001",
"lastHardenedTime": "2023-08-01T00:00:00Z",
"lastHardenedTime": "2025-08-01T00:00:00Z",
"lastBackupLsn": "71000009405700001",
"lastBackupTime": "2023-08-01T00:00:00Z",
"lastBackupTime": "2025-08-01T00:00:00Z",
"instanceSendReplicationLagSeconds": 1,
"instanceRedoReplicationLagSeconds": 1
}
Expand All @@ -56,7 +57,26 @@
"partnerEndpoint": "TCP://SERVER:7022",
"instanceLinkRole": "Secondary",
"instanceAvailabilityGroupName": "testcl2",
"linkMode": "MultiDatabase",
"databases": [
{
"databaseName": "testdb1",
"instanceReplicaId": "4713ed91-1e8c-497d-9bd4-d8a3935ae49a",
"partnerReplicaId": "8ffa9723-a1ec-4323-b929-c4aedee3894b",
"replicaState": "Catchup",
"synchronizationHealth": "HEALTHY",
"connectedState": "CONNECTED",
"lastReceivedLsn": "71000009407900001",
"lastReceivedTime": "2025-08-01T00:00:00Z",
"lastCommitLsn": "71000009407900004",
"lastCommitTime": "2025-08-01T00:00:00Z",
"lastHardenedLsn": "71000009408100001",
"lastHardenedTime": "2025-08-01T00:00:00Z",
"lastBackupLsn": "71000009405700001",
"lastBackupTime": "2025-08-01T00:00:00Z",
"instanceSendReplicationLagSeconds": 1,
"instanceRedoReplicationLagSeconds": 1
},
{
"databaseName": "testdb2",
"instanceReplicaId": "81608df4-0840-4219-b3ae-9cc46be9dae9",
Expand All @@ -66,13 +86,13 @@
"synchronizationHealth": "HEALTHY",
"connectedState": "CONNECTED",
"lastReceivedLsn": "71000009407900001",
"lastReceivedTime": "2023-08-01T00:00:00Z",
"lastReceivedTime": "2025-08-01T00:00:00Z",
"lastCommitLsn": "71000009407900004",
"lastCommitTime": "2023-08-01T00:00:00Z",
"lastCommitTime": "2025-08-01T00:00:00Z",
"lastHardenedLsn": "71000009408100001",
"lastHardenedTime": "2023-08-01T00:00:00Z",
"lastHardenedTime": "2025-08-01T00:00:00Z",
"lastBackupLsn": "71000009405700001",
"lastBackupTime": "2023-08-01T00:00:00Z"
"lastBackupTime": "2025-08-01T00:00:00Z"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"managedInstanceName": "testcl",
"distributedAvailabilityGroupName": "dag",
"api-version": "2025-08-01-preview",
"parameters": {
"databases": [
{
"databaseName": "testdb1"
},
{
"databaseName": "testdb2"
},
{
"databaseName": "testdb3"
}
]
}
},
"responses": {
"200": {
"body": {
"properties": {
"distributedAvailabilityGroupName": "dag",
"distributedAvailabilityGroupId": "c856cff5-a6fe-418e-8894-17799cc20f5d",
"replicationMode": "Async",
"partnerLinkRole": "Secondary",
"partnerAvailabilityGroupName": "BoxLocalAg1",
"partnerEndpoint": "TCP://SERVER:7022",
"instanceLinkRole": "Primary",
"instanceAvailabilityGroupName": "testcl",
"failoverMode": "None",
"seedingMode": "Automatic",
"linkMode": "MultiDatabase",
"databases": [
{
"databaseName": "testdb1",
"instanceReplicaId": "4713ed91-1e8c-497d-9bd4-d8a3935ae49a",
"partnerReplicaId": "8ffa9723-a1ec-4323-b929-c4aedee3894b",
"replicaState": "Connected",
"synchronizationHealth": "HEALTHY",
"connectedState": "CONNECTED",
"lastReceivedLsn": "71000009407900001",
"lastReceivedTime": "2025-08-01T00:00:00Z",
"lastCommitLsn": "71000009407900004",
"lastCommitTime": "2025-08-01T00:00:00Z",
"lastHardenedLsn": "71000009408100001",
"lastHardenedTime": "2025-08-01T00:00:00Z",
"lastBackupLsn": "71000009405700001",
"lastBackupTime": "2025-08-01T00:00:00Z",
"instanceSendReplicationLagSeconds": 1,
"instanceRedoReplicationLagSeconds": 1
},
{
"databaseName": "testdb2",
"instanceReplicaId": "5824fe02-2f9d-508e-0ce5-e9b4e4af5905",
"partnerReplicaId": "9006a834-b2fd-5434-ca3a-d5bfeff5985c",
"replicaState": "Seeding",
"seedingProgress": "30%",
"synchronizationHealth": "PARTIALLY_HEALTHY",
"connectedState": "CONNECTED",
"lastReceivedLsn": "72000010508000002",
"lastReceivedTime": "2025-08-01T00:05:00Z",
"lastCommitLsn": "72000010508000005",
"lastCommitTime": "2025-08-01T00:05:00Z",
"lastHardenedLsn": "72000010509200002",
"lastHardenedTime": "2025-08-01T00:05:00Z",
"lastBackupLsn": "72000010506800002",
"lastBackupTime": "2025-08-01T00:05:00Z",
"instanceSendReplicationLagSeconds": 0,
"instanceRedoReplicationLagSeconds": 0
},
{
"databaseName": "testdb3",
"instanceReplicaId": "6935gf13-3g0e-619f-1df6-f0c5f5bg6016",
"partnerReplicaId": "a117b945-c3ge-6545-db4b-e6cgfg6096d",
"replicaState": "Seeding",
"seedingProgress": "10%",
"synchronizationHealth": "PARTIALLY_HEALTHY",
"connectedState": "CONNECTED",
"lastReceivedLsn": "72000010508000002",
"lastReceivedTime": "2025-08-01T00:05:00Z",
"lastCommitLsn": "72000010508000005",
"lastCommitTime": "2025-08-01T00:05:00Z",
"lastHardenedLsn": "72000010509200002",
"lastHardenedTime": "2025-08-01T00:05:00Z",
"lastBackupLsn": "72000010506800002",
"lastBackupTime": "2025-08-01T00:05:00Z",
"instanceSendReplicationLagSeconds": 0,
"instanceRedoReplicationLagSeconds": 0
}
]
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/distributedAvailabilityGroups/dag",
"name": "dag",
"type": "Microsoft.Sql/managedInstances/distributedAvailabilityGroups"
}
},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/locations/southeastasia/distributedAvailabilityGroupsOperationResults/11111111-2222-3333-4444-555555555555?api-version=2025-08-01-preview"
}
}
}
}
Loading