-
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.
Improve documentation of sql database & elastic pool skus (#5756)
* Improve documentation of db and pool skus * Update documentation for database 2017-10-01-preview * Update documentation for elastic pool 2017-10-01-preview * Fixed syntax error in databases 2017-10-01 * Fixed syntax error in elasticPools 2017-10-01 * Remove CreateVCoreDatabase example that is no longer referenced * Remove DW DTU capacity example due to feedback * Fixed broken Sku reference * Fixed model validation issues * Fixed another model validation error * Additional doc tweaks
- Loading branch information
1 parent
050ddad
commit e82167e
Showing
14 changed files
with
272 additions
and
107 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
80 changes: 80 additions & 0 deletions
80
...Microsoft.Sql/preview/2017-10-01-preview/examples/CreateDwDatabaseByServiceObjective.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,80 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "Default-SQL-SouthEastAsia", | ||
"serverName": "testsvr", | ||
"databaseName": "testdw", | ||
"api-version": "2017-03-01-preview", | ||
"parameters": { | ||
"location": "westus", | ||
"sku": { | ||
"name": "DW1000c" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"sku": { | ||
"name": "DataWarehouse", | ||
"tier": "DataWarehouse", | ||
"capacity": 9000 | ||
}, | ||
"kind": "v12.0,user,datawarehouse,gen2", | ||
"properties": { | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"maxSizeBytes": 263882790666240, | ||
"status": "Online", | ||
"databaseId": "188784c9-d602-4684-86cf-e67b6f03551a", | ||
"creationDate": "2019-04-24T06:46:14.99Z", | ||
"currentServiceObjectiveName": "DW1000c", | ||
"requestedServiceObjectiveName": "DW1000c", | ||
"defaultSecondaryLocation": "eastus", | ||
"catalogCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
"readScale": "Disabled", | ||
"currentSku": { | ||
"name": "DataWarehouse", | ||
"tier": "DataWarehouse", | ||
"capacity": 9000 | ||
} | ||
}, | ||
"location": "westus", | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdw", | ||
"name": "testdw", | ||
"type": "Microsoft.Sql/servers/databases" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"sku": { | ||
"name": "DataWarehouse", | ||
"tier": "DataWarehouse", | ||
"capacity": 9000 | ||
}, | ||
"kind": "v12.0,user,datawarehouse,gen2", | ||
"properties": { | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"maxSizeBytes": 263882790666240, | ||
"status": "Online", | ||
"databaseId": "188784c9-d602-4684-86cf-e67b6f03551a", | ||
"creationDate": "2019-04-24T06:46:14.99Z", | ||
"currentServiceObjectiveName": "DW1000c", | ||
"requestedServiceObjectiveName": "DW1000c", | ||
"defaultSecondaryLocation": "eastus", | ||
"catalogCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
"readScale": "Disabled", | ||
"currentSku": { | ||
"name": "DataWarehouse", | ||
"tier": "DataWarehouse", | ||
"capacity": 9000 | ||
} | ||
}, | ||
"location": "westus", | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdw", | ||
"name": "testdw", | ||
"type": "Microsoft.Sql/servers/databases" | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
78 changes: 0 additions & 78 deletions
78
...source-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CreateVCoreDatabase.json
This file was deleted.
Oops, something went wrong.
76 changes: 76 additions & 0 deletions
76
...rosoft.Sql/preview/2017-10-01-preview/examples/CreateVCoreDatabaseByServiceObjective.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,76 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "Default-SQL-SouthEastAsia", | ||
"serverName": "testsvr", | ||
"databaseName": "testdb", | ||
"api-version": "2017-03-01-preview", | ||
"parameters": { | ||
"location": "southeastasia", | ||
"sku": { | ||
"name": "BC", | ||
"family": "Gen4", | ||
"capacity": 2 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"sku": { | ||
"name": "BC_Gen4", | ||
"tier": "BusinessCritical", | ||
"family": "Gen4", | ||
"capacity": 2 | ||
}, | ||
"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": "BC_Gen4_2", | ||
"defaultSecondaryLocation": "North Europe", | ||
"catalogCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
"licenseType": "LicenseIncluded", | ||
"maxLogSizeBytes": 104857600 | ||
}, | ||
"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": "BC_Gen4", | ||
"tier": "BusinessCritical", | ||
"family": "Gen4", | ||
"capacity": 2 | ||
}, | ||
"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": "BC_Gen4_2", | ||
"defaultSecondaryLocation": "North Europe", | ||
"catalogCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
"licenseType": "LicenseIncluded", | ||
"maxLogSizeBytes": 104857600 | ||
}, | ||
"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": {} | ||
} | ||
} |
73 changes: 73 additions & 0 deletions
73
...crosoft.Sql/preview/2017-10-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.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,73 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "Default-SQL-SouthEastAsia", | ||
"serverName": "testsvr", | ||
"databaseName": "testdb", | ||
"api-version": "2017-03-01-preview", | ||
"parameters": { | ||
"location": "southeastasia", | ||
"sku": { | ||
"name": "BC_Gen4", | ||
"capacity": 2 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"sku": { | ||
"name": "BC_Gen4", | ||
"tier": "BusinessCritical", | ||
"family": "Gen4", | ||
"capacity": 2 | ||
}, | ||
"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": "BC_Gen4_2", | ||
"defaultSecondaryLocation": "North Europe", | ||
"catalogCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
"licenseType": "LicenseIncluded", | ||
"maxLogSizeBytes": 104857600 | ||
}, | ||
"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": "BC_Gen4", | ||
"tier": "BusinessCritical", | ||
"family": "Gen4", | ||
"capacity": 2 | ||
}, | ||
"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": "BC_Gen4_2", | ||
"defaultSecondaryLocation": "North Europe", | ||
"catalogCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
"licenseType": "LicenseIncluded", | ||
"maxLogSizeBytes": 104857600 | ||
}, | ||
"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.