Skip to content

Commit

Permalink
Move Sql 2014-04-01 legacy files to a new folder (#16009)
Browse files Browse the repository at this point in the history
* move legacy file to a new folder

* remove unused example files

* address validation errors
  • Loading branch information
ericshape authored Sep 15, 2021
1 parent 88f48ab commit 05bc01d
Show file tree
Hide file tree
Showing 16 changed files with 351 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-6852",
"serverName": "sqlcrudtest-2080",
"databaseName": "sqlcrudtest-9187",
"transparentDataEncryptionName": "current",
"api-version": "2014-04-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"status": "Encrypting",
"percentComplete": 100
},
"name": "current",
"location": "West US",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current/operationResults/current",
"type": "Microsoft.Sql/servers/databases/transparentDataEncryption/operationResults"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-6852",
"serverName": "sqlcrudtest-2080",
"databaseName": "sqlcrudtest-9187",
"transparentDataEncryptionName": "current",
"api-version": "2014-04-01",
"parameters": {
"properties": {
"status": "Enabled"
}
}
},
"responses": {
"200": {
"body": {
"name": "current",
"location": "North Europe",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current",
"type": "Microsoft.Sql/servers/databases/transparentDataEncryption",
"properties": {
"status": "Enabled"
}
}
},
"201": {
"body": {
"name": "current",
"location": "North Europe",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current",
"type": "Microsoft.Sql/servers/databases/transparentDataEncryption",
"properties": {
"status": "Enabled"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-6852",
"serverName": "sqlcrudtest-2080",
"databaseName": "sqlcrudtest-9187",
"transparentDataEncryptionName": "current",
"api-version": "2014-04-01"
},
"responses": {
"200": {
"body": {
"name": "current",
"location": "North Europe",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current",
"type": "Microsoft.Sql/servers/databases/transparentDataEncryption",
"properties": {
"status": "Enabled"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-4291",
"serverName": "sqlcrudtest-6574",
"elasticPoolName": "8749",
"api-version": "2014-04-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4291/providers/Microsoft.Sql/servers/sqlcrudtest-6574/elasticPools/8749/elasticPoolActivity/851f1672-f7f0-46f6-a262-ee9b51e18e97",
"name": "851f1672-f7f0-46f6-a262-ee9b51e18e97",
"type": "Microsoft.Sql/servers/elasticPools/elasticPoolActivity",
"location": "Japan East",
"properties": {
"operationId": "851f1672-f7f0-46f6-a262-ee9b51e18e97",
"serverName": "sqlcrudtest-6574",
"elasticPoolName": "8749",
"state": "COMPLETED",
"operation": "CREATE",
"errorCode": null,
"errorMessage": null,
"errorSeverity": null,
"startTime": "2017-02-10T02:03:06.16Z",
"endTime": "2017-02-10T02:03:23.263Z",
"percentComplete": 100,
"requestedElasticPoolName": null,
"requestedDtuGuarantee": 100,
"requestedDatabaseDtuCap": 5,
"requestedDatabaseDtuGuarantee": 0,
"requestedStorageLimitInGB": 9,
"requestedStorageLimitInMB": 10000
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"parameters": {
"subscriptionId": "9d4e2ad0-e20b-4464-9219-353bded52513",
"resourceGroupName": "sqlcrudtest-4673",
"serverName": "sqlcrudtest-603",
"elasticPoolName": "7537",
"api-version": "2014-04-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/9d4e2ad0-e20b-4464-9219-353bded52513/resourceGroups/sqlcrudtest-4673/providers/Microsoft.Sql/servers/sqlcrudtest-603/elasticPools/7537/elasticPoolDatabaseActivity/3a3272b3-f1fe-423c-9feb-7b843157eda5",
"name": "3a3272b3-f1fe-423c-9feb-7b843157eda5",
"type": "Microsoft.Sql/servers/elasticPools/elasticPoolDatabaseActivity",
"location": "Japan East",
"properties": {
"operationId": "3a3272b3-f1fe-423c-9feb-7b843157eda5",
"serverName": "sqlcrudtest-603",
"databaseName": "2396",
"state": "COMPLETED",
"operation": "UPDATE",
"errorCode": null,
"errorMessage": null,
"errorSeverity": null,
"startTime": "2016-10-23T03:07:12.57Z",
"endTime": "2016-10-23T03:08:02.95Z",
"percentComplete": 100,
"currentServiceObjective": "ElasticPool",
"requestedServiceObjective": null,
"currentElasticPoolName": "7537",
"requestedElasticPoolName": null
}
},
{
"id": "/subscriptions/9d4e2ad0-e20b-4464-9219-353bded52513/resourceGroups/sqlcrudtest-4673/providers/Microsoft.Sql/servers/sqlcrudtest-603/elasticPools/7537/elasticPoolDatabaseActivity/95108a78-384e-48d3-b4de-7bf23b93a26d",
"name": "95108a78-384e-48d3-b4de-7bf23b93a26d",
"type": "Microsoft.Sql/servers/elasticPools/elasticPoolDatabaseActivity",
"location": "Japan East",
"properties": {
"operationId": "95108a78-384e-48d3-b4de-7bf23b93a26d",
"serverName": "sqlcrudtest-603",
"databaseName": "2396",
"state": "COMPLETED",
"operation": "CREATE",
"errorCode": null,
"errorMessage": null,
"errorSeverity": null,
"startTime": "2016-10-23T03:06:11.19Z",
"endTime": "2016-10-23T03:06:49.19Z",
"percentComplete": 100,
"currentServiceObjective": "ElasticPool",
"requestedServiceObjective": null,
"currentElasticPoolName": "7537",
"requestedElasticPoolName": null
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "recoverabledatabasetest-6852",
"serverName": "recoverabledatabasetest-2080",
"databaseName": "recoverabledatabasetest-9187",
"api-version": "2014-04-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-6852/providers/Microsoft.Sql/servers/recoverabledatabasetest-2080/recoverabledatabases/recoverabledatabasetest-9187",
"name": "recoverabledatabasetest-9187",
"type": "Microsoft.Sql/servers/recoverabledatabases",
"properties": {
"edition": "Basic",
"serviceLevelObjective": "Basic",
"lastAvailableBackupDate": "2017-05-26T01:06:29.78Z",
"elasticPoolName": null
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "recoverabledatabasetest-1234",
"serverName": "recoverabledatabasetest-7177",
"api-version": "2014-04-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-1234/providers/Microsoft.Sql/servers/recoverabledatabasetest-7177/recoverabledatabases/recoverabledatabasetest-1235",
"name": "recoverabledatabasetest-1235",
"type": "Microsoft.Sql/servers/recoverabledatabases",
"properties": {
"edition": "Standard",
"serviceLevelObjective": "S0",
"lastAvailableBackupDate": "2017-05-26T01:06:29.78Z",
"elasticPoolName": null
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-1234/providers/Microsoft.Sql/servers/recoverabledatabasetest-7177/recoverabledatabases/recoverabledatabasetest-9231",
"name": "recoverabledatabasetest-9231",
"type": "Microsoft.Sql/servers/recoverabledatabases",
"properties": {
"edition": "Premium",
"serviceLevelObjective": "P1",
"lastAvailableBackupDate": "2017-05-26T03:20:31.78Z",
"elasticPoolName": null
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/recoverabledatabasetest-1234/providers/Microsoft.Sql/servers/recoverabledatabasetest-7177/recoverabledatabases/recoverabledatabasetest-0342",
"name": "recoverabledatabasetest-0342",
"type": "Microsoft.Sql/servers/recoverabledatabases",
"properties": {
"edition": "Basic",
"serviceLevelObjective": "Basic",
"lastAvailableBackupDate": "2017-05-24T02:06:18.78Z",
"elasticPoolName": null
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-4799",
"serverName": "sqlcrudtest-6440",
"databaseName": "testdb",
"linkId": "5b301b68-03f6-4b26-b0f4-73ebb8634238",
"api-version": "2014-04-01"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-8931",
"serverName": "sqlcrudtest-2137",
"databaseName": "testdb",
"linkId": "f0550bf5-07ce-4270-8e4b-71737975973a",
"api-version": "2014-04-01"
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-8931",
"serverName": "sqlcrudtest-2137",
"databaseName": "testdb",
"linkId": "f0550bf5-07ce-4270-8e4b-71737975973a",
"api-version": "2014-04-01",
"parameters": {
"forcedTermination": true
}
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "sqlcrudtest-6730",
"serverName": "sqlcrudtest-9007",
"api-version": "2014-04-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "server_dtu_quota",
"resourceName": "sqlcrudtest-9007",
"displayName": "Database Throughput Unit Quota",
"currentValue": 0,
"limit": 45000,
"unit": "DTUs",
"nextResetTime": null
},
{
"name": "server_dtu_quota_current",
"resourceName": "sqlcrudtest-9007",
"displayName": "Database Throughput Unit Quota",
"currentValue": 0,
"limit": 45000,
"unit": "DTUs",
"nextResetTime": null
}
]
}
}
}
}
8 changes: 4 additions & 4 deletions specification/sql/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ APIs must only be added to this section when the API is publicly available in at

``` yaml $(tag) == 'package-composite-v5'
input-file:
- Microsoft.Sql/stable/2014-04-01/backups_legacy.json
- Microsoft.Sql/stable/2014-04-01-legacy/backups_legacy.json
- Microsoft.Sql/stable/2014-04-01/connectionPolicies.json
- Microsoft.Sql/stable/2014-04-01/dataMasking.json
- Microsoft.Sql/stable/2014-04-01/geoBackupPolicies.json
- Microsoft.Sql/stable/2014-04-01/metrics.json
- Microsoft.Sql/stable/2014-04-01/replicationLinks_legacy.json
- Microsoft.Sql/stable/2014-04-01-legacy/replicationLinks_legacy.json
- Microsoft.Sql/stable/2014-04-01/serverCommunicationLinks.json
- Microsoft.Sql/stable/2014-04-01/serviceObjectives.json
- Microsoft.Sql/stable/2014-04-01/sql.core_legacy.json
- Microsoft.Sql/stable/2014-04-01/usages_legacy.json
- Microsoft.Sql/stable/2014-04-01-legacy/sql.core_legacy.json
- Microsoft.Sql/stable/2014-04-01-legacy/usages_legacy.json
- ./Microsoft.Sql/preview/2020-11-01-preview/BlobAuditing.json
- ./Microsoft.Sql/preview/2020-11-01-preview/DatabaseAdvisors.json
- ./Microsoft.Sql/preview/2020-11-01-preview/DatabaseAutomaticTuning.json
Expand Down

0 comments on commit 05bc01d

Please sign in to comment.