From d9f3ed86a26e01a0d0bdfef3ad29bd02fccd0c81 Mon Sep 17 00:00:00 2001 From: Ming Yang Date: Wed, 3 Feb 2021 17:51:47 -0800 Subject: [PATCH 1/2] update response code from 204 to 201 for start operation --- .../stable/2021-03-01/containerInstance.json | 4 ++-- .../stable/2021-03-01/examples/ContainerGroupsStart.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/containerInstance.json index 929bcaefcaf4..fde60735ac9b 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/containerInstance.json @@ -399,8 +399,8 @@ } ], "responses": { - "204": { - "description": "NoContent" + "201": { + "description": "Started - the container group is starting." }, "default": { "description": "Error response describing why the operation failed.", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/examples/ContainerGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/examples/ContainerGroupsStart.json index 495848e19c8a..f2b883d522b2 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/examples/ContainerGroupsStart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/examples/ContainerGroupsStart.json @@ -6,6 +6,6 @@ "containerGroupName": "demo1" }, "responses": { - "204": {} + "201": {} } } From 1baa8946c9b1082547c14130604a0b84d29c1a09 Mon Sep 17 00:00:00 2001 From: Ming Yang Date: Thu, 4 Feb 2021 11:57:12 -0800 Subject: [PATCH 2/2] update --- .../stable/2021-03-01/containerInstance.json | 2 +- .../stable/2021-03-01/examples/ContainerGroupsStart.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/containerInstance.json index fde60735ac9b..2cbac9c49984 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/containerInstance.json @@ -399,7 +399,7 @@ } ], "responses": { - "201": { + "202": { "description": "Started - the container group is starting." }, "default": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/examples/ContainerGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/examples/ContainerGroupsStart.json index f2b883d522b2..2a461b724f68 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/examples/ContainerGroupsStart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/examples/ContainerGroupsStart.json @@ -6,6 +6,6 @@ "containerGroupName": "demo1" }, "responses": { - "201": {} + "202": {} } }