Skip to content

Commit

Permalink
Update CreateMin examples to reflect proper defaults (#968)
Browse files Browse the repository at this point in the history
* Update CreateMin examples to reflect proper defaults
* Update Database examples to include creationDate in the response body
  • Loading branch information
nathannfan authored and veronicagg committed Feb 24, 2017
1 parent 96c679f commit 1a04854
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 14 deletions.
2 changes: 2 additions & 0 deletions arm-sql/2014-04-01/examples/DatabaseCreateCopy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand All @@ -52,6 +53,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand Down
2 changes: 2 additions & 0 deletions arm-sql/2014-04-01/examples/DatabaseCreateMin.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand All @@ -48,6 +49,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand All @@ -52,6 +53,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand All @@ -52,6 +53,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand All @@ -53,6 +54,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand Down
2 changes: 2 additions & 0 deletions arm-sql/2014-04-01/examples/DatabaseUpdateMax.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand All @@ -63,6 +64,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand Down
2 changes: 2 additions & 0 deletions arm-sql/2014-04-01/examples/DatabaseUpdateMin.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand All @@ -48,6 +49,7 @@
"status": "Online",
"serviceLevelObjective": "S0",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"creationDate": "2017-02-24T22:39:46.547Z",
"maxSizeBytes": "268435456000",
"currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
"requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
Expand Down
16 changes: 8 additions & 8 deletions arm-sql/2014-04-01/examples/ElasticPoolCreateMin.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"kind": null,
"properties": {
"creationDate": "2017-02-10T01:25:25.033Z",
"edition": "Basic",
"edition": "Standard",
"state": "Ready",
"dtu": 50,
"dtu": 100,
"databaseDtuMin": 0,
"databaseDtuMax": 5,
"storageMB": 5000
"databaseDtuMax": 100,
"storageMB": 102400
}
}
},
Expand All @@ -37,12 +37,12 @@
"kind": null,
"properties": {
"creationDate": "2017-02-10T01:25:25.033Z",
"edition": "Basic",
"edition": "Standard",
"state": "Ready",
"dtu": 50,
"dtu": 100,
"databaseDtuMin": 0,
"databaseDtuMax": 5,
"storageMB": 5000
"databaseDtuMax": 100,
"storageMB": 102400
}
}
},
Expand Down
6 changes: 0 additions & 6 deletions arm-sql/2014-04-01/examples/ServerCreateMin.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
"responses": {
"200": {
"body": {
"tags": {
"tagKey1": "TagValue1"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645",
"name": "sqlcrudtest-4645",
"type": "Microsoft.Sql/servers",
Expand All @@ -36,9 +33,6 @@
},
"201": {
"body": {
"tags": {
"tagKey1": "TagValue1"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645",
"name": "sqlcrudtest-4645",
"type": "Microsoft.Sql/servers",
Expand Down

0 comments on commit 1a04854

Please sign in to comment.