-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Add updated 2020-11-01-preview versions of LongTermRetenionBackups.json and Databases.json #12146
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
Merged
akning-ms
merged 37 commits into
Azure:dev-sql-Microsoft.Sql-2020-11-01-preview
from
xaliciayang:20201101swagger
Feb 24, 2021
Merged
Changes from 14 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
c4d20b1
add updated databases.json swagger
xaliciayang f9778e4
update readme with new package
xaliciayang 2e974f6
v4 -> v5
xaliciayang 55963c2
add missing chunk in readme
xaliciayang 0f1ecdd
add correct swaggeR
xaliciayang 8821669
add examples
xaliciayang d075c00
add correct examplese
xaliciayang 8570270
remove unreferenced examples
xaliciayang f18ba24
Merge branch 'master' into backupStorageRedundancy
xaliciayang cdb1226
update swagger and examples. add 2020-11 pure package
xaliciayang e572121
Fix reference to 2020-08-01 reference to ElasticPools.json
xaliciayang 4885d02
update Databases.json name
xaliciayang b25cf27
update examples
xaliciayang 40031a6
Merge branch 'backupStorageRedundancy' of https://github.com/xaliciay…
xaliciayang 8f2a301
remove nonexistant swagger
xaliciayang cabadaf
fixed reference capitals in readme
xaliciayang 600f045
update package composite and fix ref to ManagedInstances.jsON
xaliciayang 91b1735
make backupstorageredundancy settings consistent
xaliciayang 4301781
add requestedBackupStorageRedundancy to properties object in example
xaliciayang 6d1bc06
Merge branch '20201101swagger' of https://github.com/xaliciayang/azur…
xaliciayang 1442c47
add LTR swagger and examples
xaliciayang 5a92ef1
Merge branch 'master' into 20201101swagger
xaliciayang 46b5a77
add LTR Policies swagger and examples
xaliciayang 47ff649
make v5 match v4
xaliciayang 092b1af
merge from dev branch
xaliciayang a602c44
add updated Databses.json
xaliciayang 4a5a026
merge conflicts in LTR Policies swagger'
xaliciayang fc40418
take out comments in readme
xaliciayang 441527b
taking ImportExport.json out from 2020-11 package
xaliciayang 0ac9cdf
remove duplicate 2020-11 tag in readme
xaliciayang 0f78887
modify Databases_legacy.json to exclude ImportExport-related APIs
xaliciayang 3fd002c
add servers.json for IE APIS and remove unused databases examples
xaliciayang cb40321
fix model & prettier errors; add missing server example
xaliciayang 831a30c
add missing servers examples
xaliciayang b4097c7
fix example to exclude property from server obj
xaliciayang 60ecb8b
change RecommendedActions definitoins
xaliciayang 472b1de
change tag to composite v4
xaliciayang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1,601 changes: 1,601 additions & 0 deletions
1,601
specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/Databases.json
Large diffs are not rendered by default.
Oops, something went wrong.
86 changes: 86 additions & 0 deletions
86
.../preview/2020-11-01-preview/examples/CreateDatabaseConfiguredBackupStorageRedundancy.json
This file contains hidden or 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,86 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "resourceGroupName": "Default-SQL-SouthEastAsia", | ||
| "serverName": "testsvr", | ||
| "databaseName": "testdb", | ||
| "api-version": "2020-11-01-preview", | ||
| "parameters": { | ||
| "location": "southeastasia", | ||
| "requestedBackupStorageRedundancy": "Zone" | ||
| } | ||
| }, | ||
| "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", | ||
| "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 | ||
| }, | ||
| "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 | ||
| }, | ||
| "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": {} | ||
| } | ||
| } | ||
93 changes: 93 additions & 0 deletions
93
...rce-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateDatabaseCopyMode.json
This file contains hidden or 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,93 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "resourceGroupName": "Default-SQL-SouthEastAsia", | ||
| "serverName": "testsvr", | ||
| "databaseName": "dbcopy", | ||
| "api-version": "2020-11-01-preview", | ||
| "parameters": { | ||
| "location": "southeastasia", | ||
| "sku": { | ||
| "name": "S0", | ||
| "tier": "Standard" | ||
| }, | ||
| "properties": { | ||
| "createMode": "Copy", | ||
| "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb" | ||
| } | ||
| } | ||
| }, | ||
| "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", | ||
| "currentBackupStorageRedundancy": "Geo", | ||
| "currentServiceObjectiveName": "S0", | ||
| "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 | ||
| }, | ||
| "location": "southeastasia", | ||
| "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", | ||
| "name": "dbcopy", | ||
| "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": "Geo", | ||
| "currentServiceObjectiveName": "S0", | ||
| "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 | ||
| }, | ||
| "location": "southeastasia", | ||
| "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb", | ||
| "name": "dbcopy", | ||
| "type": "Microsoft.Sql/servers/databases" | ||
| } | ||
| }, | ||
| "202": {} | ||
| } | ||
| } |
94 changes: 94 additions & 0 deletions
94
...-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateDatabaseDefaultMode.json
This file contains hidden or 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,94 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "resourceGroupName": "Default-SQL-SouthEastAsia", | ||
| "serverName": "testsvr", | ||
| "databaseName": "testdb", | ||
| "api-version": "2020-11-01-preview", | ||
| "parameters": { | ||
| "location": "southeastasia", | ||
| "sku": { | ||
| "name": "S0", | ||
| "tier": "Standard" | ||
| }, | ||
| "properties": { | ||
| "createMode": "Default", | ||
| "collation": "SQL_Latin1_General_CP1_CI_AS", | ||
| "maxSizeBytes": 1073741824 | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "sku": { | ||
| "name": "S0", | ||
| "tier": "Standard", | ||
| "capacity": 10 | ||
| }, | ||
| "kind": "v12.0,user", | ||
| "properties": { | ||
| "collation": "SQL_Latin1_General_CP1_CI_AS", | ||
| "maxSizeBytes": 1073741824, | ||
| "status": "Online", | ||
| "currentSku": { | ||
| "name": "Standard", | ||
| "tier": "Standard", | ||
| "capacity": 10 | ||
| }, | ||
| "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", | ||
| "creationDate": "2017-06-07T04:41:33.937Z", | ||
| "currentBackupStorageRedundancy": "Geo", | ||
| "currentServiceObjectiveName": "S0", | ||
| "defaultSecondaryLocation": "North Europe", | ||
| "earliestRestoreDate": "2017-06-07T04:51:33.937Z", | ||
| "readScale": "Disabled", | ||
| "requestedBackupStorageRedundancy": "Geo", | ||
| "requestedServiceObjectiveName": "S0", | ||
| "zoneRedundant": false, | ||
| "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" | ||
| }, | ||
| "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": "S0", | ||
| "tier": "Standard", | ||
| "capacity": 10 | ||
| }, | ||
| "kind": "v12.0,user", | ||
| "properties": { | ||
| "collation": "SQL_Latin1_General_CP1_CI_AS", | ||
| "maxSizeBytes": 1073741824, | ||
| "status": "Online", | ||
| "currentSku": { | ||
| "name": "Standard", | ||
| "tier": "Standard", | ||
| "capacity": 10 | ||
| }, | ||
| "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", | ||
| "creationDate": "2017-06-07T04:41:33.937Z", | ||
| "currentBackupStorageRedundancy": "Geo", | ||
| "currentServiceObjectiveName": "S0", | ||
| "defaultSecondaryLocation": "North Europe", | ||
| "earliestRestoreDate": "2017-06-07T04:51:33.937Z", | ||
| "readScale": "Disabled", | ||
| "requestedBackupStorageRedundancy": "Geo", | ||
| "requestedServiceObjectiveName": "S0", | ||
| "zoneRedundant": false, | ||
| "catalogCollation": "SQL_Latin1_General_CP1_CI_AS" | ||
| }, | ||
| "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": {} | ||
| } | ||
| } |
93 changes: 93 additions & 0 deletions
93
...osoft.Sql/preview/2020-11-01-preview/examples/CreateDatabaseMaintenanceConfiguration.json
This file contains hidden or 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,93 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "resourceGroupName": "Default-SQL-SouthEastAsia", | ||
| "serverName": "testsvr", | ||
| "databaseName": "testdb", | ||
| "api-version": "2020-11-01-preview", | ||
| "parameters": { | ||
| "location": "southeastasia", | ||
| "sku": { | ||
| "name": "S2", | ||
| "tier": "Standard" | ||
| }, | ||
| "properties": { | ||
| "createMode": "Default", | ||
| "collation": "SQL_Latin1_General_CP1_CI_AS", | ||
| "maxSizeBytes": 1073741824, | ||
| "maintenanceConfigurationId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_SouthEastAsia_1" | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "sku": { | ||
| "name": "S2", | ||
| "tier": "Standard" | ||
| }, | ||
| "kind": "v12.0,user", | ||
| "properties": { | ||
| "collation": "SQL_Latin1_General_CP1_CI_AS", | ||
| "maxSizeBytes": 1073741824, | ||
| "status": "Online", | ||
| "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", | ||
| "creationDate": "2017-06-07T04:41:33.937Z", | ||
| "currentServiceObjectiveName": "S2", | ||
| "defaultSecondaryLocation": "North Europe", | ||
| "catalogCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
| "zoneRedundant": false, | ||
| "earliestRestoreDate": "2020-08-29T06:41:18.283Z", | ||
| "readScale": "Disabled", | ||
| "currentSku": { | ||
| "name": "Standard", | ||
| "tier": "Standard", | ||
| "capacity": 50 | ||
| }, | ||
| "currentBackupStorageRedundancy": "Geo", | ||
| "requestedBackupStorageRedundancy": "Geo", | ||
| "maintenanceConfigurationId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_SouthEastAsia_1" | ||
| }, | ||
| "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": "S2", | ||
| "tier": "Standard" | ||
| }, | ||
| "kind": "v12.0,user", | ||
| "properties": { | ||
| "collation": "SQL_Latin1_General_CP1_CI_AS", | ||
| "maxSizeBytes": 1073741824, | ||
| "status": "Online", | ||
| "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3", | ||
| "creationDate": "2017-06-07T04:41:33.937Z", | ||
| "currentServiceObjectiveName": "S2", | ||
| "defaultSecondaryLocation": "North Europe", | ||
| "catalogCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
| "zoneRedundant": false, | ||
| "earliestRestoreDate": "2020-08-29T06:41:18.283Z", | ||
| "readScale": "Disabled", | ||
| "currentSku": { | ||
| "name": "Standard", | ||
| "tier": "Standard", | ||
| "capacity": 50 | ||
| }, | ||
| "currentBackupStorageRedundancy": "Geo", | ||
| "requestedBackupStorageRedundancy": "Geo", | ||
| "maintenanceConfigurationId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_SouthEastAsia_1" | ||
| }, | ||
| "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": {} | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.