-
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.
Swagger Documentation For Database Resource With Ledger (#13916)
* adding database swagger files * modifying example * Fixing to be boolean * adding database extensions and database operations * adding other database examples * removing database_legacy, adding usages * removing usages * removing databases_legacy from readme
- Loading branch information
1 parent
8a5411d
commit bf832d4
Showing
22 changed files
with
230 additions
and
1,177 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
4 changes: 2 additions & 2 deletions
4
...ion/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/DatabaseOperations.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ication/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/DatabaseUsages.json
Large diffs are not rendered by default.
Oops, something went wrong.
169 changes: 91 additions & 78 deletions
169
specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/Databases.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,075 changes: 0 additions & 1,075 deletions
1,075
...ation/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/Databases_legacy.json
This file was deleted.
Oops, something went wrong.
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
90 changes: 90 additions & 0 deletions
90
...ource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/CreateDatabaseLedger.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,90 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "Default-SQL-SouthEastAsia", | ||
"serverName": "testsvr", | ||
"databaseName": "testdb", | ||
"api-version": "2021-02-01-preview", | ||
"parameters": { | ||
"location": "southeastasia", | ||
"properties": { | ||
"isLedgerOn": true | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "Standard", | ||
"capacity": 10 | ||
}, | ||
"kind": "v12.0,user", | ||
"properties": { | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"maxSizeBytes": 268435456000, | ||
"status": "Online", | ||
"databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", | ||
"currentSku": { | ||
"name": "Standard", | ||
"tier": "Standard", | ||
"capacity": 10 | ||
}, | ||
"creationDate": "2017-06-07T04:41:33.937Z", | ||
"currentServiceObjectiveName": "S0", | ||
"currentBackupStorageRedundancy": "Geo", | ||
"defaultSecondaryLocation": "North Europe", | ||
"earliestRestoreDate": "2017-06-07T04:51:33.937Z", | ||
"catalogCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
"readScale": "Disabled", | ||
"requestedBackupStorageRedundancy": "Geo", | ||
"requestedServiceObjectiveName": "S0", | ||
"zoneRedundant": false, | ||
"isLedgerOn": true | ||
}, | ||
"location": "southeastasia", | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", | ||
"name": "testdb", | ||
"type": "Microsoft.Sql/servers/databases" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "Standard", | ||
"capacity": 10 | ||
}, | ||
"kind": "v12.0,user", | ||
"properties": { | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"maxSizeBytes": 268435456000, | ||
"status": "Online", | ||
"databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", | ||
"currentSku": { | ||
"name": "Standard", | ||
"tier": "Standard", | ||
"capacity": 10 | ||
}, | ||
"creationDate": "2017-06-07T04:41:33.937Z", | ||
"currentBackupStorageRedundancy": "Zone", | ||
"currentServiceObjectiveName": "S0", | ||
"defaultSecondaryLocation": "North Europe", | ||
"earliestRestoreDate": "2017-06-07T04:51:33.937Z", | ||
"catalogCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
"readScale": "Disabled", | ||
"requestedBackupStorageRedundancy": "Zone", | ||
"requestedServiceObjectiveName": "S0", | ||
"zoneRedundant": false, | ||
"isLedgerOn": false | ||
}, | ||
"location": "southeastasia", | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", | ||
"name": "testdb", | ||
"type": "Microsoft.Sql/servers/databases" | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
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
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
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
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
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