Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add V2020-02-02-Preview ShortTermRetention API Specification of SQL DB (
#9407) * Adds base for updating Microsoft.Sql from version preview/2017-10-01-preview to version 2020-02-02-preview * Updates readme * Updates API version in new specs and examples * create and update new ShortTermRetentionPolicy APIs to latest 2020-02-02-preview version, copied and edited from 2017-10-01-preview version * add enum for diffBackupIntervalInHours * adjust enter/tab to spaces * change {3} to {0} * Try fix OperationsAPIImplementation error * fix word spelling * fix failute of Avocado test - UNREFERENCED_JSON_FILE * Delete all json and example files except ShortTermRetentionPolicy for fixing errors * add an example file back to avoid avocado failure * Update response descriptions + Fix Prettier Check * add operations.json to fix OperationsAPIImplementation error * add operations.json to readme.md to fix Avocado Check * update examples and shortTermRetentionPolicies.json after generateSwagger, ValidateSwagger, and generateClient have no issues. * temp remove - Microsoft.Sql/preview/2020-02-02-preview/shortTermRetentionPolicies.json to solve merge conflict, need to add it back * add - Microsoft.Sql/preview/2017-10-01-preview/shortTermRetentionPolicies.json back, not plan to change it at this moment. * try different Examples' format for passing Avocado check * update shortTermRetentionPolicies.json after running prettier * add listShortTermRetentionPoliciesByDatabase example to pass Model Validation error; add operations.json to pass LintDiff error * udpate UpdateShortTermRetentionPolicy.json and edit Readme to pass Avocado and ModelValidation checks * fix updateShortTermRetentionPolicy.json to pass ModelValidation check * update updateSTRP.json + run prettier cmd * Task 1 about SQL DB API specification already checked in and passed all Checks. Now start Task 2: Add SQL MI API Specification for 2020-02-02-preview of ManagedShortTermRetentionPolicy * remove not related example files * update ManagedBackupShortTermRetention.json * update after run prettier * update latest SQL DB and SQL MI swagger.json files * update latest swagger.json files of SQL DB and SQL MI * remove ManagedSTR; Add STR to stable * remove STR stable * modify readme.md Co-authored-by: Lillian Liu <liulu@microsoft.com>
- Loading branch information