diff --git a/arm-redis/2015-08-01/swagger/redis.json b/arm-redis/2015-08-01/swagger/redis.json index fc2493493ea6..1a22fbfa0075 100644 --- a/arm-redis/2015-08-01/swagger/redis.json +++ b/arm-redis/2015-08-01/swagger/redis.json @@ -10,12 +10,10 @@ "https" ], "consumes": [ - "application/json", - "text/json" + "application/json" ], "produces": [ - "application/json", - "text/json" + "application/json" ], "security": [ { diff --git a/arm-redis/2016-04-01/examples/RedisCacheExport.json b/arm-redis/2016-04-01/examples/RedisCacheExport.json index a53718031149..d2180b37bd62 100644 --- a/arm-redis/2016-04-01/examples/RedisCacheExport.json +++ b/arm-redis/2016-04-01/examples/RedisCacheExport.json @@ -11,10 +11,14 @@ } }, "responses": { + "200": { + }, "202": { "headers": { "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." } + }, + "204": { } } } \ No newline at end of file diff --git a/arm-redis/2016-04-01/examples/RedisCacheForceReboot.json b/arm-redis/2016-04-01/examples/RedisCacheForceReboot.json index f4b462cba105..45ecd6c9c73e 100644 --- a/arm-redis/2016-04-01/examples/RedisCacheForceReboot.json +++ b/arm-redis/2016-04-01/examples/RedisCacheForceReboot.json @@ -12,6 +12,7 @@ "responses": { "200": { "body": { + "Message": "reboot operation enqueued" } } } diff --git a/arm-redis/2016-04-01/examples/RedisCacheImport.json b/arm-redis/2016-04-01/examples/RedisCacheImport.json index 4aa2ae1ccb18..2873d3433057 100644 --- a/arm-redis/2016-04-01/examples/RedisCacheImport.json +++ b/arm-redis/2016-04-01/examples/RedisCacheImport.json @@ -10,10 +10,14 @@ } }, "responses": { + "200": { + }, "202": { "headers": { "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." } + }, + "204": { } } } \ No newline at end of file diff --git a/arm-redis/2016-04-01/swagger/redis.json b/arm-redis/2016-04-01/swagger/redis.json index 12e64b1fb7ae..ab9b35dc1a09 100644 --- a/arm-redis/2016-04-01/swagger/redis.json +++ b/arm-redis/2016-04-01/swagger/redis.json @@ -10,12 +10,10 @@ "https" ], "consumes": [ - "application/json", - "text/json" + "application/json" ], "produces": [ - "application/json", - "text/json" + "application/json" ], "security": [ { @@ -80,13 +78,13 @@ ], "responses": { "201": { - "description": "", + "description": "The new redis cache was successfully created. Check provisioningStatus to see detailed status.", "schema": { "$ref": "#/definitions/RedisResource" } }, "200": { - "description": "", + "description": "The existing redis cache was successfully updated. Check provisioningStatus to see detailed status.", "schema": { "$ref": "#/definitions/RedisResource" } @@ -429,10 +427,10 @@ ], "responses": { "200": { - "description": "" - }, - "204": { - "description": "" + "description": "Reboot operation successfully enqueued", + "schema": { + "$ref": "#/definitions/RedisForceRebootResponse" + } } } } @@ -481,7 +479,13 @@ ], "responses": { "202": { - "description": "" + "description": "Import operation successfully enqueued; follow the Location header to poll for final outcome." + }, + "200": { + "description": "Import operation succeeded." + }, + "204": { + "description": "Import operation succeeded." } } } @@ -530,7 +534,13 @@ ], "responses": { "202": { - "description": "" + "description": "Export operation successfully enqueued; follow the Location header to poll for final outcome." + }, + "200": { + "description": "Export operation succeeded." + }, + "204": { + "description": "Export operation succeeded." } } } @@ -578,7 +588,13 @@ ], "responses": { "200": { - "description": "", + "description": "The patch schedule was successfully updated.", + "schema": { + "$ref": "#/definitions/RedisPatchSchedule" + } + }, + "201": { + "description": "The patch schedule was successfully created.", "schema": { "$ref": "#/definitions/RedisPatchSchedule" } @@ -662,9 +678,6 @@ "schema": { "$ref": "#/definitions/RedisPatchSchedule" } - }, - "404": { - "description": "Response of get patch schedules if it does not exist." } } } @@ -898,6 +911,11 @@ "type": "integer", "format": "int32", "description": "Redis SSL port." + }, + "accessKeys": { + "$ref": "#/definitions/RedisAccessKeys", + "readOnly": true, + "description": "The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache" } }, "allOf": [ @@ -1109,6 +1127,16 @@ "properties" ], "description": "Response to put/get patch schedules for Redis cache." + }, + "RedisForceRebootResponse": { + "properties": { + "Message": { + "readOnly": true, + "type": "string", + "description": "Status message" + } + }, + "description": "Response to force reboot for Redis cache." } }, "parameters": {