Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added swagger files for PostgreSQL Flexible Server preview #10020

Merged
merged 51 commits into from
Jul 31, 2020
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
827622f
Initial swagger changes for SSPG.
pradeepkintali Jul 1, 2020
ed0bc47
Successfully validated the postgresql.json
pradeepkintali Jul 2, 2020
28033ca
Create different properties for Create and Update
pradeepkintali Jul 2, 2020
dada2ea
Updated the Firewall rules api's.
pradeepkintali Jul 2, 2020
4ff4807
Added Customer maintenance Window Get operation.
pradeepkintali Jul 2, 2020
0a97f09
Added Delete operation for CMW
pradeepkintali Jul 2, 2020
25cf53a
Added put API for CMW.
pradeepkintali Jul 2, 2020
dde35dd
Added PITR API.
pradeepkintali Jul 2, 2020
2ab2ccf
Fix for avocado and Spellcheck validations
pradeepkintali Jul 2, 2020
bd7e741
Fixed the prettier check issues.
pradeepkintali Jul 2, 2020
47e6d05
Fixed model validaiton error for Create
pradeepkintali Jul 2, 2020
74c3bb8
Fixed FirewallRuls_Create model validation
pradeepkintali Jul 2, 2020
33e0e67
Fixed ConfigurationUpdate example json
pradeepkintali Jul 2, 2020
dac9bfb
Fixed Firewall Rules Get API
pradeepkintali Jul 2, 2020
a3eb875
Fixed prettier issues for Configuration Update.
pradeepkintali Jul 2, 2020
3a5a752
Fixed Update configuration schema
pradeepkintali Jul 2, 2020
929590d
Fixed Create PITR server schema
pradeepkintali Jul 2, 2020
ed9a1e5
Fixed semantic validations
pradeepkintali Jul 2, 2020
1f33c22
Fixed Lint Diff errors
pradeepkintali Jul 2, 2020
358e499
Removed next links
pradeepkintali Jul 2, 2020
bfe2e8b
resolved code review comments
pradeepkintali Jul 2, 2020
0e0dcc6
resolved code review comments
pradeepkintali Jul 2, 2020
583e4ac
added the state properties
pradeepkintali Jul 7, 2020
a66a6e0
Fixed the server update example.
pradeepkintali Jul 7, 2020
000a2ee
Resolved few code review comments
pradeepkintali Jul 8, 2020
183041b
added pagination for all list operations.
pradeepkintali Jul 9, 2020
751e884
Updated the CMW API Contracts.
pradeepkintali Jul 9, 2020
0aa09ec
rename from singleServers to flexibleServers
pradeepkintali Jul 16, 2020
0e044cc
Updated cloud error body to common types.
pradeepkintali Jul 25, 2020
fe54942
Fixed lint errors.
pradeepkintali Jul 28, 2020
5140f06
Fixed the prettier
pradeepkintali Jul 28, 2020
f5249e5
Revert "Fixed the prettier"
pradeepkintali Jul 28, 2020
e9c4228
Revert "Fixed lint errors."
pradeepkintali Jul 28, 2020
cafd00f
Fixed new lint errors
pradeepkintali Jul 28, 2020
96b4378
state property name changes
pradeepkintali Jul 28, 2020
910618a
Fixed the model validation errors
pradeepkintali Jul 28, 2020
52e3852
Fixed server list by resource group
pradeepkintali Jul 28, 2020
c405c0b
publicIpAddressRequested to publicNetworkAccess
pradeepkintali Jul 28, 2020
62d6e57
Added storage profile and Sku
pradeepkintali Jul 28, 2020
0f83a73
Added Burstable as custom word.
pradeepkintali Jul 28, 2020
19aa24e
Fix for R3020 PathResourceProviderNamePascalCase
pradeepkintali Jul 28, 2020
f24e896
Microsoft.DBForPostgreSQL to Microsoft.DBForPostgreSql
pradeepkintali Jul 28, 2020
70035a2
Fixed Lint errors R2016, R4010
pradeepkintali Jul 28, 2020
6cec660
Fix for R2020
pradeepkintali Jul 28, 2020
61ba68f
Change names for Operation Ids.
pradeepkintali Jul 30, 2020
4620f24
Marked fields as readonly and LintDiff Error
pradeepkintali Jul 30, 2020
d6fe61a
Fixed model validation errors
pradeepkintali Jul 30, 2020
9540042
Fixed lint diff
pradeepkintali Jul 30, 2020
7e6d21e
Fixed the Comments for Server object create
pradeepkintali Jul 30, 2020
3a8e2b8
changed the put to post for update configurations
pradeepkintali Jul 30, 2020
695b8ac
Removed the Confgiration Update for now
pradeepkintali Jul 31, 2020
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,20 @@
{
"parameters": {
"api-version": "2020-02-14-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"nameAvailabilityRequest": {
"name": "name1",
"type": "Microsoft.DBforPostgreSQL/singleServers"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": true,
"message": "",
"name": "name1",
"type": "Microsoft.DBforPostgreSQL/singleServers"
}
}
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"configurationName": "auto-vaccum",
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-02-14-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
"value": [
{
"name": "auto-vaccum",
"properties": {
"value": "off"
}
}
]
}
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"value": "off",
"description": "Enable input of NULL elements in arrays.",
"defaultValue": "on",
"dataType": "Boolean",
"allowedValues": "on,off",
"source": "user-override"
},
"name": "auto-vaccum",
"type": "Microsoft.DBforPostgreSQL/singleServers"
}
]
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-02-14-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
"properties": {
"dayOfWeek": 1,
"startHour": 0,
"startMinute": 30,
"durationInMinutes": 30
}
}
},
"responses": {
pradeepkintali marked this conversation as resolved.
Show resolved Hide resolved
"201": {
"body": {
"name": "customerMaintenanceWindow",
"properties": {
"dayOfWeek": 1,
"startHour": 0,
"startMinute": 30,
"durationInMinutes": 30
},
"type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows"
}
},
"200": {
"body": {
"name": "customerMaintenanceWindow",
"properties": {
"dayOfWeek": 1,
"startHour": 0,
"startMinute": 30,
"durationInMinutes": 30
},
"type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows"
}
},
"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-02-14-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-02-14-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
pradeepkintali marked this conversation as resolved.
Show resolved Hide resolved
"200": {
"body": {
"value": [
{
"name": "customerMaintenanceWindow",
"properties": {
"dayOfWeek": 1,
"startHour": 0,
"startMinute": 30,
"durationInMinutes": 30
},
"type": "Microsoft.DBforPostgreSQL/singleServers/maintenanceWindows"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"firewallRuleName": "rule1",
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-02-14-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.DBforPostgreSQL/servers/testserver/firewallRules/rule1",
"name": "rule1",
"type": "Microsoft.DBforPostgreSQL/singleServers/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.DBforPostgreSQL/servers/testserver/firewallRules/rule1",
"name": "rule1",
"type": "Microsoft.DBforPostgreSQL/singleServers/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-02-14-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-02-14-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/servers/testserver/firewallRules/rule1",
"name": "rule1",
"type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules",
"properties": {
"startIpAddress": "0.0.0.0",
"endIpAddress": "255.255.255.255"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"serverName": "testserver",
"resourceGroupName": "TestGroup",
"api-version": "2020-02-14-privatepreview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
pradeepkintali marked this conversation as resolved.
Show resolved Hide resolved
"200": {
"body": {
"value": [
{
"name": "rule1",
"type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules",
"properties": {
"startIpAddress": "0.0.0.0",
"endIpAddress": "255.255.255.255"
}
},
{
"name": "rule2",
"type": "Microsoft.DBforPostgreSQL/singleServers/firewallRules",
"properties": {
"startIpAddress": "1.0.0.0",
"endIpAddress": "255.0.0.0"
}
}
]
}
}
}
}
Loading