From 2654cd029d52f08b0eb7f59d849f0ff5a22db7bf Mon Sep 17 00:00:00 2001 From: yalixiang Date: Mon, 29 Aug 2022 16:35:43 +0800 Subject: [PATCH] Fix source control status code in 2022-06-01-preview. --- .../preview/2022-01-01-preview/SourceControls.json | 8 ++++---- .../examples/SourceControls_CreateOrUpdate.json | 2 +- .../preview/2022-06-01-preview/SourceControls.json | 8 ++++---- .../examples/SourceControls_CreateOrUpdate.json | 2 +- .../Microsoft.App/stable/2022-03-01/SourceControls.json | 8 ++++---- .../examples/SourceControls_CreateOrUpdate.json | 2 +- .../Microsoft.App/stable/2022-05-01/SourceControls.json | 8 ++++---- .../examples/SourceControls_CreateOrUpdate.json | 2 +- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/SourceControls.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/SourceControls.json index d07f59442b89..d9445cf3cde8 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/SourceControls.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/SourceControls.json @@ -177,13 +177,13 @@ ], "responses": { "200": { - "description": "No change performed on the Container App.", + "description": "OK", "schema": { "$ref": "#/definitions/SourceControl" } }, - "202": { - "description": "Container App create or update has been started.", + "201": { + "description": "Created", "schema": { "$ref": "#/definitions/SourceControl" } @@ -236,7 +236,7 @@ ], "responses": { "200": { - "description": "Container App deleted successfully." + "description": "Container App SourceControl deleted successfully." }, "202": { "description": "Delete operation is in progress." diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_CreateOrUpdate.json index a3a5bd3e2b5d..485e17cf743b 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_CreateOrUpdate.json @@ -44,7 +44,7 @@ } } }, - "202": { + "201": { "headers": { "location": "https://localhost/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/sourcecontrols/currentInOperationModel/operationresults/5a7f31af-8ae5-489b-a67e-f0a2d11df796?api-version=2021-03-01" }, diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/SourceControls.json b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/SourceControls.json index 798d49cd678e..4612af35031c 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/SourceControls.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/SourceControls.json @@ -177,13 +177,13 @@ ], "responses": { "200": { - "description": "No change performed on the Container App.", + "description": "OK", "schema": { "$ref": "#/definitions/SourceControl" } }, - "202": { - "description": "Container App create or update has been started.", + "201": { + "description": "Created", "schema": { "$ref": "#/definitions/SourceControl" } @@ -236,7 +236,7 @@ ], "responses": { "200": { - "description": "Container App deleted successfully." + "description": "Container App SourceControl deleted successfully." }, "202": { "description": "Delete operation is in progress." diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_CreateOrUpdate.json index c177174e2600..9997b785b8db 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_CreateOrUpdate.json @@ -48,7 +48,7 @@ } } }, - "202": { + "201": { "headers": { "location": "https://localhost/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/sourcecontrols/currentInOperationModel/operationresults/5a7f31af-8ae5-489b-a67e-f0a2d11df796?api-version=2021-03-01" }, diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json index 667d73c3fa6b..b710ae2f9898 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json @@ -177,13 +177,13 @@ ], "responses": { "200": { - "description": "No change performed on the Container App.", + "description": "OK", "schema": { "$ref": "#/definitions/SourceControl" } }, - "202": { - "description": "Container App create or update has been started.", + "201": { + "description": "Created.", "schema": { "$ref": "#/definitions/SourceControl" } @@ -236,7 +236,7 @@ ], "responses": { "200": { - "description": "Container App deleted successfully." + "description": "Container App SourceControl deleted successfully." }, "202": { "description": "Delete operation is in progress." diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json index f304e1427005..49ecf9be5314 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json @@ -48,7 +48,7 @@ } } }, - "202": { + "201": { "headers": { "location": "https://localhost/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/sourcecontrols/currentInOperationModel/operationresults/5a7f31af-8ae5-489b-a67e-f0a2d11df796?api-version=2021-03-01" }, diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/SourceControls.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/SourceControls.json index 95b8900637bb..798c958ff098 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/SourceControls.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/SourceControls.json @@ -177,13 +177,13 @@ ], "responses": { "200": { - "description": "No change performed on the Container App.", + "description": "OK", "schema": { "$ref": "#/definitions/SourceControl" } }, - "202": { - "description": "Container App create or update has been started.", + "201": { + "description": "Created.", "schema": { "$ref": "#/definitions/SourceControl" } @@ -236,7 +236,7 @@ ], "responses": { "200": { - "description": "Container App deleted successfully." + "description": "Container App SourceControl deleted successfully." }, "202": { "description": "Delete operation is in progress." diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_CreateOrUpdate.json index 3c732c762698..9f0b2606b0a7 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/SourceControls_CreateOrUpdate.json @@ -48,7 +48,7 @@ } } }, - "202": { + "201": { "headers": { "location": "https://localhost/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/sourcecontrols/currentInOperationModel/operationresults/5a7f31af-8ae5-489b-a67e-f0a2d11df796?api-version=2021-03-01" },