From 9ae8013ca47bb38a82d28425af8e6f74d10ab7ea Mon Sep 17 00:00:00 2001 From: Nan Jiang Date: Thu, 2 Feb 2023 14:55:41 +0800 Subject: [PATCH 1/2] Fix S360 certificateId not required --- .../preview/2022-01-01-preview/ContainerApps.json | 3 +-- .../preview/2022-06-01-preview/ContainerApps.json | 3 +-- .../preview/2022-11-01-preview/ContainerApps.json | 3 +-- .../Microsoft.App/stable/2022-03-01/ContainerApps.json | 3 +-- .../Microsoft.App/stable/2022-10-01/ContainerApps.json | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json index 7c9d0b46de0e..b2675adf8612 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json @@ -737,8 +737,7 @@ "description": "Custom Domain of a Container App", "type": "object", "required": [ - "name", - "certificateId" + "name" ], "properties": { "name": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerApps.json index 37aa8de2cfde..9b3075157a0e 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerApps.json @@ -849,8 +849,7 @@ "description": "Custom Domain of a Container App", "type": "object", "required": [ - "name", - "certificateId" + "name" ], "properties": { "name": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/ContainerApps.json index f5ba0eae971f..24a2494bd82e 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/ContainerApps.json @@ -912,8 +912,7 @@ "description": "Custom Domain of a Container App", "type": "object", "required": [ - "name", - "certificateId" + "name" ], "properties": { "name": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json index 420a8777c640..ce273310b882 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json @@ -730,8 +730,7 @@ "description": "Custom Domain of a Container App", "type": "object", "required": [ - "name", - "certificateId" + "name" ], "properties": { "name": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-10-01/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/stable/2022-10-01/ContainerApps.json index f00a37794b53..4a5a165f131b 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-10-01/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-10-01/ContainerApps.json @@ -876,8 +876,7 @@ "description": "Custom Domain of a Container App", "type": "object", "required": [ - "name", - "certificateId" + "name" ], "properties": { "name": { From 05b000505380b57b4dfb504d1ab0ba7e721ef3f2 Mon Sep 17 00:00:00 2001 From: Nan Jiang Date: Fri, 3 Feb 2023 09:47:16 +0800 Subject: [PATCH 2/2] Fix example --- .../2022-06-01-preview/examples/ContainerApps_GetAuthToken.json | 2 +- .../ContainerApps_ListCustomHostNameAnalysisErrorResponse.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_GetAuthToken.json b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_GetAuthToken.json index fa97ef8fb0f4..bc78c38ebc5d 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_GetAuthToken.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_GetAuthToken.json @@ -3,7 +3,7 @@ "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", "resourceGroupName": "rg", "containerAppName": "testcontainerApp0", - "api-version": "2022-05-01" + "api-version": "2022-06-01-preview" }, "responses": { "200": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysisErrorResponse.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysisErrorResponse.json index 304bf1a1fa56..21dfa5acbb21 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysisErrorResponse.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysisErrorResponse.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg", "containerAppName": "testcontainerApp0", "customHostname": "my.name.corp", - "api-version": "2022-03-03" + "api-version": "2022-03-01" }, "responses": { "200": {