-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add mariadb swagger spec * Fix readme and set properties
- Loading branch information
Showing
31 changed files
with
4,034 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...ger/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-06-01-preview", | ||
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", | ||
"nameAvailabilityRequest": { | ||
"name": "name1", | ||
"type": "Microsoft.DBforMariaDB" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true, | ||
"message": "", | ||
"reason": "" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...crosoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"configurationName": "event_scheduler", | ||
"serverName": "testserver", | ||
"resourceGroupName": "TestGroup", | ||
"api-version": "2018-06-01-preview", | ||
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", | ||
"parameters": { | ||
"properties":{ | ||
"value": "off", | ||
"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" | ||
}, | ||
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/configurations/event_scheduler", | ||
"name": "event_scheduler", | ||
"type": "Microsoft.DBforMariaDB/servers/configurations" | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"configurationName": "event_scheduler", | ||
"serverName": "testserver", | ||
"resourceGroupName": "TestGroup", | ||
"api-version": "2018-06-01-preview", | ||
"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" | ||
}, | ||
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/configurations/event_scheduler", | ||
"name": "event_scheduler", | ||
"type": "Microsoft.DBforMariaDB/servers/configurations" | ||
} | ||
} | ||
} | ||
} |
601 changes: 601 additions & 0 deletions
601
...Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json
Large diffs are not rendered by default.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
...ce-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"parameters": { | ||
"databaseName": "db1", | ||
"serverName": "testserver", | ||
"resourceGroupName": "TestGroup", | ||
"api-version": "2018-06-01-preview", | ||
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", | ||
"parameters": { | ||
"properties":{ | ||
"charset":"UTF8", | ||
"collation":"English_United States.1252" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/databases/db1", | ||
"name": "db1", | ||
"type": "Microsoft.DBforMariaDB/servers/databases", | ||
"properties": { | ||
"charset": "UTF8", | ||
"collation": "English_United States.1252" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/databases/db1", | ||
"name": "db1", | ||
"type": "Microsoft.DBforMariaDB/servers/databases", | ||
"properties": { | ||
"charset": "UTF8", | ||
"collation": "English_United States.1252" | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ce-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"databaseName": "db1", | ||
"serverName": "testserver", | ||
"resourceGroupName": "TestGroup", | ||
"api-version": "2018-06-01-preview", | ||
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...ource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"databaseName": "db1", | ||
"serverName": "testserver", | ||
"resourceGroupName": "TestGroup", | ||
"api-version": "2018-06-01-preview", | ||
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/databases/db1", | ||
"name": "db1", | ||
"type": "Microsoft.DBforMariaDB/servers/databases", | ||
"properties": { | ||
"charset": "UTF8", | ||
"collation": "English_United States.1252" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"serverName": "testserver", | ||
"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/databases/db1", | ||
"name": "db1", | ||
"type": "Microsoft.DBforMariaDB/servers/databases", | ||
"properties": { | ||
"charset": "UTF8", | ||
"collation": "English_United States.1252" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/databases/db2", | ||
"name": "db2", | ||
"type": "Microsoft.DBforMariaDB/servers/databases", | ||
"properties": { | ||
"charset": "UTF8", | ||
"collation": "English_United States.1252" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...anager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"parameters": { | ||
"firewallRuleName": "rule1", | ||
"serverName": "testserver", | ||
"resourceGroupName": "TestGroup", | ||
"api-version": "2018-06-01-preview", | ||
"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.DBforMariaDB/servers/testserver/firewallRules/rule1", | ||
"name": "rule1", | ||
"type": "Microsoft.DBforMariaDB/servers/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.DBforMariaDB/servers/testserver/firewallRules/rule1", | ||
"name": "rule1", | ||
"type": "Microsoft.DBforMariaDB/servers/firewallRules", | ||
"properties": { | ||
"startIpAddress": "0.0.0.0", | ||
"endIpAddress": "255.255.255.255" | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...anager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"firewallRuleName": "rule1", | ||
"serverName": "testserver", | ||
"resourceGroupName": "TestGroup", | ||
"api-version": "2018-06-01-preview", | ||
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...e-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"firewallRuleName": "rule1", | ||
"serverName": "testserver", | ||
"resourceGroupName": "TestGroup", | ||
"api-version": "2018-06-01-preview", | ||
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/firewallRules/rule1", | ||
"name": "rule1", | ||
"type": "Microsoft.DBforMariaDB/servers/firewallRules", | ||
"properties": { | ||
"startIpAddress": "0.0.0.0", | ||
"endIpAddress": "255.255.255.255" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
.../Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"serverName": "testserver", | ||
"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/firewallRules/rule1", | ||
"name": "rule1", | ||
"type": "Microsoft.DBforMariaDB/servers/firewallRules", | ||
"properties": { | ||
"startIpAddress": "0.0.0.0", | ||
"endIpAddress": "255.255.255.255" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/firewallRules/rule2", | ||
"name": "rule2", | ||
"type": "Microsoft.DBforMariaDB/servers/firewallRules", | ||
"properties": { | ||
"startIpAddress": "1.0.0.0", | ||
"endIpAddress": "255.0.0.0" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...nager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"serverName": "testserver", | ||
"resourceGroupName": "TestGroup", | ||
"api-version": "2018-06-01-preview", | ||
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"sizeInKB": 1, | ||
"createdTime": "0001-01-01T00:00:00+00:00", | ||
"lastModifiedTime": "2018-03-01T06:09:20+00:00", | ||
"type": "slowlog", | ||
"url": "https://wasd2prodwus1afse42.file.core.windows.net/833c99b2f36c47349e5554b903fe0440/serverlogs/mariadb-slow-mariadbtestsvc1-2018022823.log?sv=2015-04-05&sr=f&sig=D9Ga4N5Pa%2BPe5Bmjpvs7A0TPD%2FF7IZpk9e4KWR0jgpM%3D&se=2018-03-01T07%3A12%3A13Z&sp=r" | ||
}, | ||
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/logFiles/mariadb-slow-mariadbtestsvc1-2018022823.log", | ||
"name": "mariadb-slow-mariadbtestsvc1-2018022823.log", | ||
"type": "Microsoft.DBforMariaDB/servers/logFiles" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.