Skip to content

Commit

Permalink
Change 'primary' to 'master' in replication specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Suna-MS committed Sep 12, 2018
1 parent 886c921 commit 76883a3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"serverName": "testprimary",
"serverName": "testmaster",
"resourceGroupName": "TestGroup",
"api-version": "2017-12-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
Expand Down Expand Up @@ -36,7 +36,7 @@
"version": "5.6",
"earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
"replicationRole": "Replica",
"primaryServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testprimary",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testmaster",
"replicaCapacity": 0
}
},
Expand Down Expand Up @@ -67,7 +67,7 @@
"version": "5.6",
"earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
"replicationRole": "Replica",
"primaryServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testprimary",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testmaster",
"replicaCapacity": 0
}
},
Expand Down Expand Up @@ -98,7 +98,7 @@
"version": "5.6",
"earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
"replicationRole": "Replica",
"primaryServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testprimary",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testmaster",
"replicaCapacity": 0
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"location": "westus",
"properties": {
"createMode": "Replica",
"sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/PrimaryResourceGroup/providers/Microsoft.DBforMySQL/servers/primaryserver"
"sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver"
}
}
},
Expand All @@ -34,7 +34,7 @@
"fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
"replicationRole": "Replica",
"primaryServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/PrimaryResourceGroup/providers/Microsoft.DBforMySQL/servers/primaryserver",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver",
"replicaCapacity": 0
},
"location": "westus",
Expand Down Expand Up @@ -67,7 +67,7 @@
"fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
"replicationRole": "Replica",
"primaryServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/PrimaryResourceGroup/providers/Microsoft.DBforMySQL/servers/primaryserver",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver",
"replicaCapacity": 0
},
"location": "westus",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"fullyQualifiedDomainName": "mysqltestsvc4.mysql.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
"replicationRole": "None",
"primaryServerId": "",
"masterServerId": "",
"replicaCapacity": 5
},
"location": "westus",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1366,15 +1366,15 @@
"type": "string",
"description": "The replication role of the server."
},
"primaryServerId": {
"masterServerId": {
"type": "string",
"description": "The primary server id of a relica server."
"description": "The master server id of a relica server."
},
"replicaCapacity": {
"type": "integer",
"format": "int32",
"minimum": 0,
"description": "The maximum number of replicas that a primary server can have."
"description": "The maximum number of replicas that a master server can have."
}
},
"description": "The properties of a server."
Expand Down Expand Up @@ -1516,7 +1516,7 @@
"properties": {
"sourceServerId": {
"type": "string",
"description": "The primary server id to create replica from."
"description": "The master server id to create replica from."
}
},
"required": [
Expand Down

0 comments on commit 76883a3

Please sign in to comment.