Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"parameters": {
"serverName": "testmaster",
"resourceGroupName": "TestGroup",
"api-version": "2018-06-01-preview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver",
"name": "testserver",
"type": "Microsoft.DBforMariaDB/servers",
"location": "northeurope",
"tags": {
"elasticServer": "1"
},
"sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
"properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
"sslEnforcement":"Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver.mariadb.database.azure.com",
"version": "5.6",
"earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
"replicationRole": "Replica",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testmaster",
"replicaCapacity": 0
}
},
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver1",
"name": "testserver1",
"type": "Microsoft.DBforMariaDB/servers",
"location": "northeurope",
"tags": {
"elasticServer": "1"
},
"sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
"properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
"sslEnforcement":"Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com",
"version": "5.6",
"earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
"replicationRole": "Replica",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testmaster",
"replicaCapacity": 0
}
},
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver2",
"name": "testserver2",
"type": "Microsoft.DBforMariaDB/servers",
"location": "northeurope",
"tags": {
"elasticServer": "1"
},
"sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
"properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
"sslEnforcement":"Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com",
"version": "5.6",
"earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
"replicationRole": "Replica",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testmaster",
"replicaCapacity": 0
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"parameters": {
"serverName": "targetserver",
"resourceGroupName": "TargetResourceGroup",
"api-version": "2018-06-01-preview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
"location": "westus",
"properties": {
"createMode": "Replica",
"sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMariaDB/servers/masterserver"
}
}
},
"responses": {
"201": {
"body": {
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"properties": {
"administratorLogin": "cloudsa",
"storageProfile": {
"storageMB": 128000,
"backupRetentionDays": 14,
"geoRedundantBackup": "Enabled"
},
"version": "5.7",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
"replicationRole": "Replica",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMariaDB/servers/masterserver",
"replicaCapacity": 0
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMariaDB/servers/targetserver",
"name": "targetserver",
"type": "Microsoft.DBforMariaDB/servers"
}
},
"200": {
"body": {
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"properties": {
"administratorLogin": "cloudsa",
"storageProfile": {
"storageMB": 128000,
"backupRetentionDays": 14,
"geoRedundantBackup": "Enabled"
},
"version": "5.7",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
"replicationRole": "Replica",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMariaDB/servers/masterserver",
"replicaCapacity": 0
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMariaDB/servers/targetserver",
"name": "targetserver",
"type": "Microsoft.DBforMariaDB/servers"
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "mariadbtestsvc4.mariadb.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
"replicationRole": "None",
"masterServerId": "",
"replicaCapacity": 5
},
"location": "westus",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2018-06-01-preview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {},
"202": {}
}
}
Loading