From e55aa5fed00e0802575b1e686b0753b8fe000765 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 4 May 2022 17:00:06 +0000 Subject: [PATCH] CodeGen from PR 18839 in Azure/azure-rest-api-specs Merge 50cf648483e63f04051e81ce61bac1b12446e49b into 50ed15bd61ac79f2368d769df0c207a00b9e099f --- schemas/2022-01-01-preview/Microsoft.App.json | 23 ++++++++++++++----- schemas/2022-03-01/Microsoft.App.json | 23 ++++++++++++++----- 2 files changed, 34 insertions(+), 12 deletions(-) diff --git a/schemas/2022-01-01-preview/Microsoft.App.json b/schemas/2022-01-01-preview/Microsoft.App.json index 8c21c1a527..dbef83c9e3 100644 --- a/schemas/2022-01-01-preview/Microsoft.App.json +++ b/schemas/2022-01-01-preview/Microsoft.App.json @@ -904,8 +904,8 @@ { "type": "string", "enum": [ - "multiple", - "single" + "Multiple", + "Single" ] }, { @@ -1158,9 +1158,9 @@ { "type": "string", "enum": [ - "liveness", - "readiness", - "startup" + "Liveness", + "Readiness", + "Startup" ] }, { @@ -1209,7 +1209,18 @@ "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." }, "scheme": { - "type": "string", + "oneOf": [ + { + "type": "string", + "enum": [ + "HTTP", + "HTTPS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "Scheme to use for connecting to the host. Defaults to HTTP." } }, diff --git a/schemas/2022-03-01/Microsoft.App.json b/schemas/2022-03-01/Microsoft.App.json index 5e50c7de0d..4146d1e9c7 100644 --- a/schemas/2022-03-01/Microsoft.App.json +++ b/schemas/2022-03-01/Microsoft.App.json @@ -904,8 +904,8 @@ { "type": "string", "enum": [ - "multiple", - "single" + "Multiple", + "Single" ] }, { @@ -1158,9 +1158,9 @@ { "type": "string", "enum": [ - "liveness", - "readiness", - "startup" + "Liveness", + "Readiness", + "Startup" ] }, { @@ -1209,7 +1209,18 @@ "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." }, "scheme": { - "type": "string", + "oneOf": [ + { + "type": "string", + "enum": [ + "HTTP", + "HTTPS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "Scheme to use for connecting to the host. Defaults to HTTP." } },