-
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.
Move Sql 2014-04-01 legacy files to a new folder (#16009)
* move legacy file to a new folder * remove unused example files * address validation errors
- Loading branch information
Showing
16 changed files
with
351 additions
and
4 deletions.
There are no files selected for viewing
File renamed without changes.
28 changes: 28 additions & 0 deletions
28
....Sql/stable/2014-04-01-legacy/examples/DatabaseTransparentDataEncryptionActivityList.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,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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...ql/stable/2014-04-01-legacy/examples/DatabaseTransparentDataEncryptionCreateOrUpdate.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...Microsoft.Sql/stable/2014-04-01-legacy/examples/DatabaseTransparentDataEncryptionGet.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...urce-manager/Microsoft.Sql/stable/2014-04-01-legacy/examples/ElasticPoolActivityList.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,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 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...ager/Microsoft.Sql/stable/2014-04-01-legacy/examples/ElasticPoolDatabaseActivityList.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,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 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...ource-manager/Microsoft.Sql/stable/2014-04-01-legacy/examples/RecoverableDatabaseGet.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,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 | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...urce-manager/Microsoft.Sql/stable/2014-04-01-legacy/examples/RecoverableDatabaseList.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,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 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...source-manager/Microsoft.Sql/stable/2014-04-01-legacy/examples/ReplicationLinkDelete.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,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": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...urce-manager/Microsoft.Sql/stable/2014-04-01-legacy/examples/ReplicationLinkFailover.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,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": {} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...source-manager/Microsoft.Sql/stable/2014-04-01-legacy/examples/ReplicationLinkUnlink.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,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": {} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ource-manager/Microsoft.Sql/stable/2014-04-01-legacy/examples/ServerUsageMetricsList.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,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 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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