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

[WaitForARMFeedback] Long Term Retention for Managed Instances #8266

Merged
merged 26 commits into from
Feb 22, 2020
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
04c2e19
update swagger to accomodate for new managed db create mode (ltr)
xaliciayang Jan 30, 2020
2bbd498
Adding example file for create managed db from ltr restore
xaliciayang Jan 30, 2020
3e56859
remove unused example
xaliciayang Jan 30, 2020
1ad2466
undoing removal of completeRestore
xaliciayang Jan 30, 2020
7360250
adding back complete managed restore example
xaliciayang Jan 30, 2020
982155e
add examplee and swagger files for ltr backup/policies
xaliciayang Jan 31, 2020
36102a9
update readme; add in 2018 manage databases diffs
xaliciayang Feb 1, 2020
4b5d205
remove create example from 2018
xaliciayang Feb 1, 2020
7cb9973
add -preview to swagger files added to readme
xaliciayang Feb 3, 2020
1dbc0ec
removing empty body from delete backup examples
xaliciayang Feb 3, 2020
f9b4226
fix parameter name in exmple file
xaliciayang Feb 3, 2020
1f16841
add 2018 example. fix version in 2017 example
xaliciayang Feb 3, 2020
94aae20
../../2018-06-01-preview/managedDatabases.json
xaliciayang Feb 3, 2020
b39e7c0
removing example from 2018
xaliciayang Feb 3, 2020
f1d482e
ran prettier on some example files
xaliciayang Feb 4, 2020
3c4b923
adding other files called out by prettier
xaliciayang Feb 4, 2020
db6d146
update readme to include swagger files in v3/v2/v1
xaliciayang Feb 4, 2020
2d9f788
Revert "update readme to include swagger files in v3/v2/v1"
xaliciayang Feb 5, 2020
3cbc518
reverted all unrelated files
xaliciayang Feb 5, 2020
52d348b
update swagger after introducing new error handler
xaliciayang Feb 5, 2020
dba6dd0
removing old versions of manageDatabase.json swagger from readme.md p…
xaliciayang Feb 6, 2020
1c4abe4
Adding updated swagger files for:
xaliciayang Feb 10, 2020
d7b5b90
add files after running prettier-fix; removing LTR backups/policies A…
xaliciayang Feb 10, 2020
b0cddb3
updated readme to use 2019 version of managedDatabases.json
xaliciayang Feb 11, 2020
5ac6075
adding files fixed by prettier
xaliciayang Feb 19, 2020
9b85bb0
prettierfix.diff on LTR MI example
xaliciayang Feb 22, 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
Expand Up @@ -64,7 +64,7 @@
"DATABASE_LOGOUT_GROUP",
"DATABASE_ROLE_MEMBER_CHANGE_GROUP",
"UPDATE on database::TestDatabaseName by public"
],
],
"isAzureMonitorTargetEnabled": true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"location": "southeastasia",
"properties": {
"createMode": "Recovery",
"RecoverableDatabaseId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb"
"recoverableDatabaseId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "Default-SQL-SouthEastAsia",
"managedInstanceName": "testinstance",
"databaseName": "testdatabase",
"api-version": "2017-03-01-preview",
"parameters": {
"location": "southeastasia",
"properties": {
"createMode": "RestoreLongTermRetentionBackup",
"longTermRetentionBackupResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionManagedInstances/testInstance/databases/testDatabase/longTermRetentionManagedInstanceBackups/00000000-1111-2222-3333-444444444444;131637960820000000"
}
}
},
"responses": {
"200": {
"body": {
"tags": {
"tagKey1": "TagValue1"
},
"location": "southeastasia",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testinstance/recoverableDatabases/testdatabase",
"name": "testdatabase",
"properties": {
"collation": "SQL_Latin1_General_CP1_CI_AS",
"status": "Online",
"creationDate": "2018-11-07T04:41:33.937Z"
},
"type": "Microsoft.Sql/managedInstances/databases"
}
},
"201": {
"body": {
"tags": {
"tagKey1": "TagValue1"
},
"location": "southeastasia",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testinstance/recoverableDatabases/testdatabase",
"name": "testdatabase",
"properties": {
"collation": "SQL_Latin1_General_CP1_CI_AS",
"status": "Online",
"creationDate": "2018-11-07T04:41:33.937Z"
},
"type": "Microsoft.Sql/managedInstances/databases"
}
},
"202": {}
}
}

Large diffs are not rendered by default.

Loading