Skip to content
Merged
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"api-version": "2020-07-01-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"nameAvailabilityRequest": {
"name": "name1",
"type": "Microsoft.DBforMySQL"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": true,
"message": "",
"reason": ""
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"configurationName": "event_scheduler",
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-07-01-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {
"body": {
"properties": {
"value": "ON",
"description": "Indicates the status of the Event Scheduler.",
"defaultValue": "OFF",
"dataType": "Enumeration",
"allowedValues": "ON,OFF,DISABLED",
"source": "user-override",
"isConfigPendingRestart": "False",
"isDynamicConfig": "True",
"isReadOnly": "False"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/testserver/configurations/event_scheduler",
"name": "event_scheduler",
"type": "Microsoft.DBforMySQL/flexibleServers/configurations"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parameters": {
"serverName": "testserver",
"configurationName": "event_scheduler",
"resourceGroupName": "testrg",
"api-version": "2020-07-01-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
"properties": {
"value": "on",
"source": "user-override"
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"value": "ON",
"description": "Indicates the status of the Event Scheduler.",
"defaultValue": "OFF",
"dataType": "Enumeration",
"allowedValues": "ON,OFF,DISABLED",
"source": "user-override",
"isConfigPendingRestart": "False",
"isDynamicConfig": "True"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/testserver/configurations/event_scheduler",
"name": "event_scheduler",
"type": "Microsoft.DBforMySQL/flexibleServers/configurations"
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"parameters": {
"serverName": "mysqltestsvc1",
"resourceGroupName": "testrg",
"api-version": "2020-07-01-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"value": "OFF",
"description": "Indicates the status of the Event Scheduler.",
"defaultValue": "OFF",
"dataType": "Enumeration",
"allowedValues": "ON,OFF,DISABLED",
"source": "system-default",
"isConfigPendingRestart": "False",
"isDynamicConfig": "True"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestsvc1/configurations/event_scheduler",
"name": "event_scheduler",
"type": "Microsoft.DBforMySQL/flexibleServers/configurations"
},
{
"properties": {
"value": "4",
"description": "Number of digits by which to increase the scale of the result of division operations.",
"defaultValue": "4",
"dataType": "Integer",
"allowedValues": "0-30",
"source": "system-default",
"isConfigPendingRestart": "False",
"isDynamicConfig": "True"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestsvc1/configurations/div_precision_increment",
"name": "div_precision_increment",
"type": "Microsoft.DBforMySQL/flexibleServers/configurations"
},
{
"properties": {
"value": "1024",
"description": "Maximum allowed result length in bytes for the GROUP_CONCAT().",
"defaultValue": "1024",
"dataType": "Integer",
"allowedValues": "4-16777216",
"source": "system-default",
"isConfigPendingRestart": "False",
"isDynamicConfig": "True"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestsvc1/configurations/group_concat_max_len",
"name": "group_concat_max_len",
"type": "Microsoft.DBforMySQL/flexibleServers/configurations"
},
{
"properties": {
"value": "ON",
"description": "Whether innodb adaptive hash indexes are enabled or disabled.",
"defaultValue": "ON",
"dataType": "Enumeration",
"allowedValues": "ON,OFF",
"source": "system-default",
"isConfigPendingRestart": "False",
"isDynamicConfig": "True"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestsvc1/configurations/innodb_adaptive_hash_index",
"name": "innodb_adaptive_hash_index",
"type": "Microsoft.DBforMySQL/flexibleServers/configurations"
},
{
"properties": {
"value": "50",
"description": "The length of time in seconds an InnoDB transaction waits for a row lock before giving up.",
"defaultValue": "50",
"dataType": "Integer",
"allowedValues": "1-3600",
"source": "system-default",
"isConfigPendingRestart": "False",
"isDynamicConfig": "True"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestsvc1/configurations/innodb_lock_wait_timeout",
"name": "innodb_lock_wait_timeout",
"type": "Microsoft.DBforMySQL/flexibleServers/configurations"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"databaseName": "db1",
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-07-01-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
"properties": {
"charset": "utf8",
"collation": "utf8_general_ci"
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/testserver/databases/db1",
"name": "db1",
"type": "Microsoft.DBforMySQL/flexibleServers/databases",
"properties": {
"charset": "utf8",
"collation": "utf8_general_ci"
}
}
},
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/testserver/databases/db1",
"name": "db1",
"type": "Microsoft.DBforMySQL/flexibleServers/databases",
"properties": {
"charset": "utf8",
"collation": "utf8_general_ci"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"databaseName": "db1",
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-07-01-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"databaseName": "db1",
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-07-01-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/testserver/databases/db1",
"name": "db1",
"type": "Microsoft.DBforMySQL/flexibleServers/databases",
"properties": {
"charset": "utf8",
"collation": "utf8_general_ci"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-07-01-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/testserver/databases/db1",
"name": "db1",
"type": "Microsoft.DBforMySQL/flexibleServers/databases",
"properties": {
"charset": "utf8",
"collation": "utf8_general_ci"
}
},
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/testserver/databases/db2",
"name": "db2",
"type": "Microsoft.DBforMySQL/flexibleServers/databases",
"properties": {
"charset": "utf8",
"collation": "utf8_general_ci"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"firewallRuleName": "rule1",
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-07-01-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
"properties": {
"startIpAddress": "0.0.0.0",
"endIpAddress": "255.255.255.255"
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/testserver/firewallRules/rule1",
"name": "rule1",
"type": "Microsoft.DBforMySQL/flexibleServers/firewallRules",
"properties": {
"startIpAddress": "0.0.0.0",
"endIpAddress": "255.255.255.255"
}
}
},
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/testserver/firewallRules/rule1",
"name": "rule1",
"type": "Microsoft.DBforMySQL/flexibleServers/firewallRules",
"properties": {
"startIpAddress": "0.0.0.0",
"endIpAddress": "255.255.255.255"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"firewallRuleName": "rule1",
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-07-01-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"firewallRuleName": "rule1",
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-07-01-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/testserver/firewallRules/rule1",
"name": "rule1",
"type": "Microsoft.DBforMySQL/flexibleServers/firewallRules",
"properties": {
"startIpAddress": "0.0.0.0",
"endIpAddress": "255.255.255.255"
}
}
}
}
}
Loading