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

Add V2020-02-02-Preview ShortTermRetention API Specification of SQL DB #9407

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
558290d
Adds base for updating Microsoft.Sql from version preview/2017-10-01-…
lululilliancoding May 6, 2020
eeb376a
Updates readme
lululilliancoding May 6, 2020
721c27e
Updates API version in new specs and examples
lululilliancoding May 6, 2020
258a55a
create and update new ShortTermRetentionPolicy APIs to latest 2020-02…
May 8, 2020
1ee10b2
add enum for diffBackupIntervalInHours
May 8, 2020
251451c
adjust enter/tab to spaces
May 8, 2020
bb426b5
change {3} to {0}
May 8, 2020
f2d6ee7
Try fix OperationsAPIImplementation error
May 11, 2020
c385202
fix word spelling
May 11, 2020
4dcdeb2
fix failute of Avocado test - UNREFERENCED_JSON_FILE
May 11, 2020
0663221
Delete all json and example files except ShortTermRetentionPolicy for…
May 12, 2020
834aaae
add an example file back to avoid avocado failure
May 12, 2020
3c54927
Update response descriptions + Fix Prettier Check
May 13, 2020
1fd0caa
add operations.json to fix OperationsAPIImplementation error
May 13, 2020
2be4936
add operations.json to readme.md to fix Avocado Check
May 14, 2020
65147d5
update examples and shortTermRetentionPolicies.json after generateSwa…
Jun 7, 2020
724b79c
temp remove - Microsoft.Sql/preview/2020-02-02-preview/shortTermReten…
Jun 7, 2020
7a0a653
add - Microsoft.Sql/preview/2017-10-01-preview/shortTermRetentionPoli…
Jun 7, 2020
03a72ae
try different Examples' format for passing Avocado check
Jun 8, 2020
45d4b54
update shortTermRetentionPolicies.json after running prettier
Jun 8, 2020
fe227b9
add listShortTermRetentionPoliciesByDatabase example to pass Model Va…
Jun 8, 2020
08b035f
udpate UpdateShortTermRetentionPolicy.json and edit Readme to pass Av…
Jun 8, 2020
2b8dcab
fix updateShortTermRetentionPolicy.json to pass ModelValidation check
Jun 8, 2020
605fc9e
update updateSTRP.json + run prettier cmd
Jun 8, 2020
ab555a1
Task 1 about SQL DB API specification already checked in and passed a…
Jun 12, 2020
14a8b29
remove not related example files
Jun 12, 2020
c81f0d1
update ManagedBackupShortTermRetention.json
Jun 13, 2020
f42c5d7
update after run prettier
Jun 14, 2020
ff8318c
update latest SQL DB and SQL MI swagger.json files
Jun 25, 2020
f72bf82
update latest swagger.json files of SQL DB and SQL MI
Jun 25, 2020
d35cab1
remove ManagedSTR; Add STR to stable
Jul 28, 2020
3a6d546
remove STR stable
Jul 28, 2020
665470d
modify readme.md
Jul 31, 2020
1520140
Merge branch 'dev/lillian/dev-sql-Microsoft.Sql-2020-02-02-preview' o…
Jul 31, 2020
1890fd8
sync with original master
Jul 31, 2020
7a3752a
Merge branch 'dev/lillian/dev-sql-Microsoft.Sql-2020-02-02-preview' o…
Jul 31, 2020
6d7d583
merge with master & solve conflict
Aug 5, 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,23 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "Default-SQL-SouthEastAsia",
"serverName": "testsvr",
"databaseName": "testdb",
"policyName": "default",
"api-version": "2020-02-02-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/backupShortTermRetentionPolicies/default",
"name": "default",
"type": "Microsoft.Sql/locations/servers/databases/backupShortTermRetentionPolicies",
"properties": {
"retentionDays": 14,
"diffBackupIntervalInHours": 24
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "Default-SQL-SouthEastAsia",
"serverName": "testsvr",
"databaseName": "testdb",
"policyName": "default",
"api-version": "2020-02-02-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/backupShortTermRetentionPolicies/default",
"name": "default",
"type": "Microsoft.Sql/locations/servers/databases/backupShortTermRetentionPolicies",
"properties": {
"retentionDays": 14,
"diffBackupIntervalInHours": 24
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup",
"serverName": "testsvr",
"databaseName": "testdb",
"policyName": "default",
"api-version": "2020-02-02-preview",
"parameters": {
"properties": {
"retentionDays": 14,
"diffBackupIntervalInHours": 24
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/resourceGroups/resourceGroup/servers/testsvr/databases/testdb/backupShortTermRetentionPolicies/default",
"name": "default",
"type": "Microsoft.Sql/locations/servers/databases/backupShortTermRetentionPolicies",
"properties": {
"retentionDays": 14,
"diffBackupIntervalInHours": 24
}
}
},
"202": {}
}
}
Loading