From 1a0485402aa8547e1abef7326209ca74bcf90c50 Mon Sep 17 00:00:00 2001 From: Nathan Date: Fri, 24 Feb 2017 15:37:11 -0800 Subject: [PATCH] Update CreateMin examples to reflect proper defaults (#968) * Update CreateMin examples to reflect proper defaults * Update Database examples to include creationDate in the response body --- .../2014-04-01/examples/DatabaseCreateCopy.json | 2 ++ .../2014-04-01/examples/DatabaseCreateMin.json | 2 ++ .../DatabaseCreateNonReadableSecondary.json | 2 ++ .../examples/DatabaseCreateOnlineSecondary.json | 2 ++ .../DatabaseCreatePointInTimeRestore.json | 2 ++ .../2014-04-01/examples/DatabaseUpdateMax.json | 2 ++ .../2014-04-01/examples/DatabaseUpdateMin.json | 2 ++ .../examples/ElasticPoolCreateMin.json | 16 ++++++++-------- arm-sql/2014-04-01/examples/ServerCreateMin.json | 6 ------ 9 files changed, 22 insertions(+), 14 deletions(-) diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateCopy.json b/arm-sql/2014-04-01/examples/DatabaseCreateCopy.json index 25999fb90521..fea176ccb31d 100644 --- a/arm-sql/2014-04-01/examples/DatabaseCreateCopy.json +++ b/arm-sql/2014-04-01/examples/DatabaseCreateCopy.json @@ -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", @@ -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", diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateMin.json b/arm-sql/2014-04-01/examples/DatabaseCreateMin.json index 200d38c3ea78..5986645454ae 100644 --- a/arm-sql/2014-04-01/examples/DatabaseCreateMin.json +++ b/arm-sql/2014-04-01/examples/DatabaseCreateMin.json @@ -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", @@ -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", diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json b/arm-sql/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json index db6e56910e77..1a74b5093799 100644 --- a/arm-sql/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json +++ b/arm-sql/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json @@ -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", @@ -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", diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateOnlineSecondary.json b/arm-sql/2014-04-01/examples/DatabaseCreateOnlineSecondary.json index cfc7142682cf..c913482568f9 100644 --- a/arm-sql/2014-04-01/examples/DatabaseCreateOnlineSecondary.json +++ b/arm-sql/2014-04-01/examples/DatabaseCreateOnlineSecondary.json @@ -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", @@ -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", diff --git a/arm-sql/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json b/arm-sql/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json index 1e4c30c61970..ea681d075680 100644 --- a/arm-sql/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json +++ b/arm-sql/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json @@ -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", @@ -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", diff --git a/arm-sql/2014-04-01/examples/DatabaseUpdateMax.json b/arm-sql/2014-04-01/examples/DatabaseUpdateMax.json index a965a09c4506..4e3068a48a8e 100644 --- a/arm-sql/2014-04-01/examples/DatabaseUpdateMax.json +++ b/arm-sql/2014-04-01/examples/DatabaseUpdateMax.json @@ -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", @@ -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", diff --git a/arm-sql/2014-04-01/examples/DatabaseUpdateMin.json b/arm-sql/2014-04-01/examples/DatabaseUpdateMin.json index 200d38c3ea78..5986645454ae 100644 --- a/arm-sql/2014-04-01/examples/DatabaseUpdateMin.json +++ b/arm-sql/2014-04-01/examples/DatabaseUpdateMin.json @@ -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", @@ -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", diff --git a/arm-sql/2014-04-01/examples/ElasticPoolCreateMin.json b/arm-sql/2014-04-01/examples/ElasticPoolCreateMin.json index e6f386eb5135..7cccc57336aa 100644 --- a/arm-sql/2014-04-01/examples/ElasticPoolCreateMin.json +++ b/arm-sql/2014-04-01/examples/ElasticPoolCreateMin.json @@ -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 } } }, @@ -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 } } }, diff --git a/arm-sql/2014-04-01/examples/ServerCreateMin.json b/arm-sql/2014-04-01/examples/ServerCreateMin.json index 4911654fb1b3..791e4d3cfd6e 100644 --- a/arm-sql/2014-04-01/examples/ServerCreateMin.json +++ b/arm-sql/2014-04-01/examples/ServerCreateMin.json @@ -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", @@ -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",