-
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.
[WaitForARMFeedback] Long Term Retention for Managed Instances (#8266)
* update swagger to accomodate for new managed db create mode (ltr) * Adding example file for create managed db from ltr restore * remove unused example * undoing removal of completeRestore * adding back complete managed restore example * add examplee and swagger files for ltr backup/policies * update readme; add in 2018 manage databases diffs * remove create example from 2018 * add -preview to swagger files added to readme * removing empty body from delete backup examples * fix parameter name in exmple file * add 2018 example. fix version in 2017 example * ../../2018-06-01-preview/managedDatabases.json * removing example from 2018 * ran prettier on some example files * adding other files called out by prettier * update readme to include swagger files in v3/v2/v1 * Revert "update readme to include swagger files in v3/v2/v1" Removing files committed by prettier-fix This reverts commit db6d146. * reverted all unrelated files updated readme to include swagger files in v3/v2/v1 * update swagger after introducing new error handler * removing old versions of manageDatabase.json swagger from readme.md package composites (2018-06-01 version is referenced) * Adding updated swagger files for: managedDatabases LongTermRetentionManagedInstanceBackups ManagedInstanceLongTermRetentionPolicies as well as relevant examples, to 2018 and 2019 * add files after running prettier-fix; removing LTR backups/policies APIs from 2019 * updated readme to use 2019 version of managedDatabases.json * adding files fixed by prettier * prettierfix.diff on LTR MI example
- Loading branch information
1 parent
8e6104e
commit bff82a2
Showing
32 changed files
with
2,023 additions
and
27 deletions.
There are no files selected for viewing
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
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
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
51 changes: 51 additions & 0 deletions
51
...rosoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseCreateRestoreLtrBackup.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,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": {} | ||
} | ||
} |
29 changes: 22 additions & 7 deletions
29
...ation/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedDatabases.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.